Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Digistruct

Continue simulation from a certain frame

Hey guys, 

I'm doing a pyro sim and had to interrupt the simulation before finishing due to needing the computer for other work. 

Now I wanted to continue the simulation from a certain frame but I've run into trouble. 

I duplicated on of my .sc files and made it a .sim (maybe this doesn't work?) 
And tried to continue but it restarts the pyro (from that frame) and just resumes with the current source being fed into it. 

What is it that I need to do here? 

Thanks in advance! 

Cheers, 
Jack

Share this post


Link to post
Share on other sites

I can add that I tried with the DOP setting "Start Frame" at both the start and from where I wanted to continue. 
When it's from the start it simply "finished" the simulation with the rest of the frames being empty at 2kb each. 
When it's from the previous frame to continue from what was originally described happened. 

Share this post


Link to post
Share on other sites

To continue the simulation at a certain frame you need a sim file for this frame. Sim files can be exported from the dop network. I prefer to use a file node in the dop network to write sim files to disk. Then you can use the last sim file as inital state in the dop network - of course you will have to set the sim start to your new start frame.

Share this post


Link to post
Share on other sites

Hey haggi,

Thanks for your response! I will do just this! 

Quick follow up question: is .sim preferable to .bgeo.sc? Is it just preference or is there any real difference? 

Share this post


Link to post
Share on other sites
Bgeo is the way to go, unless you need cross-platform compatibility, if you need actual DOP data cache .sim files. 

Share this post


Link to post
Share on other sites

You are mixing two completely different things here. Usually you do a sim and save only the result of the sim without all additional sim data which is needed for simulation (e.g. collision geometry, additional fields). So your final simulation result contains (in your case) some fields like temperature, velocity, density etc. These can be saved in the dopIO as bgeo, bgeo.sc or other formats. If you want to continue a simulation you will have to save the .sim files out of your dop network (as much as I know) what happens during simulation. You cannot convert the result of a simulation into a .sim file, you will have to do the simulation again.

Share this post


Link to post
Share on other sites

1. Setup Dop Network "Cache"
2. Export few frames. (1-100 for example)
3. Close Houdini.
4. Load scene again.
5. Jump to the last simulated frame (Do not drag.....just enter the number) and continue exporting  (frames 101-240)

 

SetupDOP.jpg

ExoprtSim.jpg

ReopenScene.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now