Foam tutorial... step by step for someone new to RF4

Discussion about fluid simulation in Realflow 4
shaun_michael
Posts: 4766
Joined: Sun Sep 10, 2006 8:04 am

Foam tutorial... step by step for someone new to RF4

Postby shaun_michael » Sun May 11, 2008 4:08 pm

At a quick glance, having not looked at this script for a while, I would say your FVelThreshold is too low. Basically what it's doing is determining what velocity the particle has. If its equal to or above this threshold then the particle will remain foam. If its below this threshold the particle should return to the liquid2 emitter.

Shaun


omarpac
Posts: 118
Joined: Tue Dec 11, 2007 7:42 pm

Foam tutorial... step by step for someone new to RF4

Postby omarpac » Sun May 11, 2008 5:00 pm

its workin....simulation in progress
i should try to post a render today

omar
(:helloo all:)

mirekm
Posts: 33
Joined: Wed Aug 15, 2007 3:27 pm
Contact:

Foam tutorial... step by step for someone new to RF4

Postby mirekm » Sun Nov 23, 2008 2:33 am

Hellou guys.

I need make animation of beer so i downloaded MediumBeerFoam by bealobo.
when i do everything what is writen, it dont work because i have somewhere error.
"NoneType' object has no attribute 'getParticlesColliding'at line number 36.
Pls help me find that, there is a screenshot of my scene if you need
THX you very much
http://img384.imageshack.us/my.php?image=screenrferrkq5.jpg


---------------
Ok i got it. I have wrong names on emiter :)
Sorry for my english ;)

ranxerox
Posts: 334
Joined: Tue Jan 09, 2007 5:15 pm

Foam tutorial... step by step for someone new to RF4

Postby ranxerox » Mon Nov 24, 2008 4:44 pm

are you referring to the new rfMelt material for mental ray ? What do you mean it doesn't work with mental ray ? I tested it out and it worked great. Did you put mental ray shaders into the slots for the different materials ? The problem with using a mask is you aren't going to get good blending with transparencies.

-ranxx

benlink wrote: yes I know......I've read it...but still it does work with scanline renderer but not with mental ray...thus, what I 'm going to do is ,thanks to the melt material, obtain a mask in scanline and then use this mask in a blend materials with mental ray shaders ....

missmagui
Posts: 2
Joined: Mon Nov 30, 2009 11:27 pm

Re: Foam tutorial... step by step for someone new to RF4

Postby missmagui » Sun Jul 01, 2012 3:28 pm

Hello

I am following this script step by step but I can't get to work liquid2. I've tried changing the settings for the threshold and also changing the names for the emitters. Here are the settings I'm using:
# liquid -> foam
LVelThreshold = 4.0 # controls the amount of foam particles forming (raising value = decreasing amount)
#foam -> liquid : two conditions to be met
FVelThreshold = 1.2 # Min velocity of foam particles. Minimum velocity particle should have to stay as foam particle (Decreasing value = more foam particles staying)
FHeightThreshold = 1.0 # Max height of foam particles (Raising value = more foam particles staying)
Any ideas on how to make liquid2 to work?

Thanks,
M./

fkfx
Posts: 309
Joined: Wed Apr 11, 2012 11:11 am
Location: Cologne, Germany
Contact:

Re: Foam tutorial... step by step for someone new to RF4

Postby fkfx » Sun Jul 01, 2012 4:33 pm

Keep an eye on the Statistics parameter of your particle object. Do the Velocities match with your Thresholds? What about height?

missmagui
Posts: 2
Joined: Mon Nov 30, 2009 11:27 pm

Re: Foam tutorial... step by step for someone new to RF4

Postby missmagui » Sun Jul 01, 2012 5:09 pm

Statics on liquid2 were still, after cranking up the FVelThreshold, particles started to simulate. I am matching the velocities, but I am not sure if those are the matchs you are referring to. Below are my settings:
LVelThreshold matching with Liquis Max Velocity
FVelThreshold matching with Foam Min Velocity
FHeightThreshold matching with Foam Max Velocity

Simulations are working now but I wonder if there's a more accurate way of matching parameters,
Thanks,
M./


Return to “RF4: Fluid simulation”

Who is online

Users browsing this forum: No registered users and 1 guest