Hi again
I would write a step by step answer but that wont be any good to you, so you need to visualise what is fed into a DOP network, in this case it will be named AutoDopNetwork ( for the main body of water.
From the shelf tool for flat tank it will make 7 nodes, 2 for simulation. AutoDopNetwork and whitewater_sim, then you will have two for feeding information in to these DOP networks wavetank_initial and whitewater_source respectively.
So firsty I would save the output of the wavetank_initial, if you dive inside this node you will see there is already a filecache node. after you are happy with your wave shapes etc you can use this node to cache out all the velocities and everything else that goes into the main body simulation, this is done from the Export to File tab and after its done activate Load from Disk.
after this step is complete , now you are ready to do your simulation for the main body. in which inside wavetank_fluid node you have import_wavetank node tyo do this. it is similar to the filecache node, use the Export to File tab and ran the sim and enable Load from Disk.
Now you are ready for the whitewater source caching.
inside the whitewater_source node, you already have a node called whitewatersource_cache, it is again the same thing.Its again the same thing then enable Load from Disk.
Now you are ready to do the actual whitewater sim. Which you will save from the import_whitewater node, same story here also cache it out using the import_whitewater node enable Load from disk.
Because it is like a chain linked events happening in Houdini, just to get the whitewater, whitewater simulation node needs a source which is created using the main water body, which is simulated by using several inputs like velocities from ocean spectrum, and all the other inputs.
We are just making sure during the simulation we have everything calculated but the simulation itself, this will cut sim time and probably the memory fragmentation quiet a lot, because all the Simulation Network needs to do is read everything off the HD instead of calculating them every frame.
You can and should follow this kind of workflow for everything in Houdini, I cache everything I can, you can simply put a file cache node anywhere in the network to basically save that stage out.
The only catch in the tank simulation is, you need to do your tests in low resolution first and gradually increase the particle count, because the caching along the way before the simulation will also take time. So its better to know if the initial settings are gonna work for you.
You should do the Go Procedural videos on Vimeo along with Peter Quint Videos
vimeo.com/goprocedural
vimeo.com/user2030228