Jump to content

How to reload .sim files


ronit1996

Recommended Posts

Hi, I am doing a smoke sim. The sim is too large and so I can't simulate the entire sim in one go. I had checked the checkpoint option and gave a valid path to save the checkpoints files then simed half of the simulation and had closed houdini. I want to sim the rest of the simulation but where do I put the .sim files that are generated by the checkpoint so that the sim runs from a certain frame and not from frame 1 all over again?

Link to comment
Share on other sites

If you have sim files written out, then they should automatically be written as you play the sim. Then you can stop the sim early, and you can resume from where you left off. The thing you need to check is that the last working sim file is a full size. If you have a partially written file, it will break the reading of the sim files. In that case, you should delete the last broken frame, ctrl+click the brain icon, and then resume the sim - it should resume from the last working sim. If it doesn't, then you have some checkpoint writing settings incorrect. If this still doesn't help you, post a hip file, and I'll see how you are writing it.

Link to comment
Share on other sites

Ya, thats the wrong workflow. What you need to do is, on the cache tab of the dop network, specify a .sim file path in the Checkpoint File parameter. Make sure to include $SF.sim instead of $F4.bgeo, since we are dealing with simulation frames here.  Make sure Save Checkpoints is enabled, then change the Checkpoint Trail length to the length of your sim or longer. After that, as you play the sim, the .sim files will automatically be written out, allowing you to playblast and cache at the same time. Then, when you want to continue the sim, just make sure the last .sim file written is a full file size. Finally, ctrl+click the brain icon, and you should be able to resume the sim. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...