SPH splash, conversion to grid script needed?
SPH splash, conversion to grid script needed?
just wondering if the script converting SPH particles to grid based particles is still the way to go if you want foam and splashes with a SPH sim?
Re: SPH splash, conversion to grid script needed?
Go to Help > Demo Scenes > Graph > Hyflip_Splash
Press Ctrl + F2 to open the Graphs window. There are two Graphs, the first one is pretty straightforward, showing how to add particles from another source (here: Splash) to a domain. This system should also work for other particle sources than Splash.
Press Ctrl + F2 to open the Graphs window. There are two Graphs, the first one is pretty straightforward, showing how to add particles from another source (here: Splash) to a domain. This system should also work for other particle sources than Splash.
Re: SPH splash, conversion to grid script needed?
excellent, thanks florian, i need to try this.
the script way also works fine, but the splash behaviour seems very different, also if i can skip the conversion step; that's a bonus!
the script way also works fine, but the splash behaviour seems very different, also if i can skip the conversion step; that's a bonus!
Re: SPH splash, conversion to grid script needed?
hmm, i've got some trouble finding the right node to pick up particles from a a standard emitter.
i changed the original 'getHybridoSplash' to a 'getStandardEmitter' node, but RF outputs :
WARNING: [getStandardEmitter] Node 'Circle01' is not of expected class
any tips on what is the correct node to use?
i changed the original 'getHybridoSplash' to a 'getStandardEmitter' node, but RF outputs :
WARNING: [getStandardEmitter] Node 'Circle01' is not of expected class
any tips on what is the correct node to use?
Re: SPH splash, conversion to grid script needed?
RealFlow's Python class for standard particle emitters is get_PB_Emitter(string). If you want to get all SPH emitters then you can use get_PB_Emitters().kimgar wrote:any tips on what is the correct node to use?
Thomas Schlick | Next Limit Technologies
Re: SPH splash, conversion to grid script needed?
yes, i've used that in the batch script, but this time i am trying to tweak the hyflip_splash example.
i can't seem to find a get_PB_Emitter node in the simulation flow graph?
i can't seem to find a get_PB_Emitter node in the simulation flow graph?
Re: SPH splash, conversion to grid script needed?
nevermind, a restart fixed it, getStandardEmitter works now
Re: SPH splash, conversion to grid script needed?
Ah, I see. Thought you're talking about Python nor graphs. Anyway, good to read that it's working now.
Thomas Schlick | Next Limit Technologies
Re: SPH splash, conversion to grid script needed?
the graph version is hard to control but gives great splashes.
the batch script is easy to control, but doesn't give any splashes. hmm.
scratch that, i just forgot to align the splash box
the batch script is easy to control, but doesn't give any splashes. hmm.
scratch that, i just forgot to align the splash box