RealFlow Wisdom

RealFlow blog: Tips, Technics and Scripting.

Size does matter!

This week I made a very big and newbie error in a set up scene, the grid domain is too big. Next pictures show the difference between adjusting the GD to the full scene and only to the simulation volume.

Always try to adjust the GD to the simulation volume and you will get a better simulation performance, in this case I get double number of particles, with less number of cells and more frames simulated and approximately using same time for the calculation (Simulated in a quad-core).

Resolution: 100.000.000, Simulated Frames: 102, Simulation Time: 14h 38m, Particles: 4.732.376

Resolution: 50.000.000, Simulated Frames: 176, Simulation Time: 15h 47m, Particles: 9.479.624

September 30, 2010 Posted by | HYBRIDO | , , , , | Leave a comment

Get all Parameters

I guess most of advance users know this, but this version of RealFlow has included a large list of improvements in scripting. One I use a lot is the getAllParameterNames(). This function let you know all parameters has the node evaluated, for instance open a batch script window and write

scene.message(str(Container02.getAllParameterNames()))

This gives you a list of tuples (may be a little bit unsorted) with the name of all the parameters and its type accessible via scripting, is an easy and quick way to check the parameters list in the node you are working with.


September 1, 2010 Posted by | GUI, Scripting, Tips | , , , | Leave a comment