|
[Sponsors] |
May 11, 2015, 13:00 |
initial volume fraction for 3 fluids
|
#1 |
Member
niru
Join Date: Apr 2012
Posts: 55
Rep Power: 14 |
I have three fluids
Fluid Height F1 0.8 m F2 0.02 m F3 0.18 m Each has an initial volume fractions of 1 at respective heights. How to use the step function to define three fluid volume fractions? |
|
May 11, 2015, 19:28 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
You can also use the if function, its syntax is more obvious.
|
|
May 12, 2015, 14:38 |
|
#3 |
Member
niru
Join Date: Apr 2012
Posts: 55
Rep Power: 14 |
the if condition worked
|
|
Tags |
step function, volume fraction |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simulation seems to converge but crashes suddenly | xxxx | OpenFOAM | 16 | September 12, 2014 09:07 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 07:37 |
SLTS+rhoPisoFoam: what is rDeltaT??? | nileshjrane | OpenFOAM Running, Solving & CFD | 4 | February 25, 2013 05:13 |
Error while running rhoPisoFoam.. | nileshjrane | OpenFOAM Running, Solving & CFD | 8 | August 26, 2010 13:50 |
On the damBreak4phaseFine cases | paean | OpenFOAM Running, Solving & CFD | 0 | November 14, 2008 22:14 |