Can I pause simulation, switch off PC (restart), and continue simulation from where I left off ?

Hi,

Can I do the following;

1) Pause (or stop) an ocean simulation (so that I can switch off the PC etc).

2) Restart the PC and resubmit the simulation, continuing it from the last calculated frame ?

Is that what the “Load and Start” is for ?

Or is what I’m wanting to do done some other way ?

Please can you advise ?

Many thanks.

Hey,

You should use the Restore button. Just go to the last frame you have simulated and press “Restore”. It will start the simulation from the last backup frame (by default those are every 15 frames, but you can change the value in the Output rollout).

Thanks Georgi - that works for one local machine but how can I run a Restore when using a Render Node ? (I want to use the Deadline dropdown “Submit Max to Deadline” for this).

I have two machines, both have Phoenix FD / Phoenix Licences and I want to be able to have the Slave do my sea simulation processing during the day (when I can have both machines switched on) so that I can continue working on other projects on my main machine while the Slave is creating the sea simulation.

At the end of the working day, I wish to switch off both machines, and continue the sea simulation the following day on the Slave machine from where it last left off (when both machines are both switched on again).

I’m *really* hoping this is possible, but I’m not convinced it is (I’ve checked the Deadline SMTD Dialog box and cannot see how it would be able to handle a “Restore” submission).

Any ideas please ?

Many thanks.

It’s really easy actually.

In the Simulation rollout - tick the “Use script” checkbox and press the Edit button next to it.
Then in the fn OnSimulationBegin=() add the following code

***        sim = getnodebyname “PhoenixFDFire001”***
        A_StopSim sim
        A_StartSim sim “” 32

Where PhoenixFDFire001 is the name of your simulator and 32 is the frame you would like to restore from.
Save the scene and send it over deadline :slight_smile:

Thanks Georgi,

That sounds great - I’ll give it a go and let you know how I get on.