|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
niru
Join Date: Apr 2012
Posts: 55
Rep Power: 15 ![]() |
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? |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 18,017
Rep Power: 146 ![]() ![]() ![]() ![]() |
You can also use the if function, its syntax is more obvious.
|
|
|
|
|
|
|
|
|
#3 |
|
Member
niru
Join Date: Apr 2012
Posts: 55
Rep Power: 15 ![]() |
the if condition worked
|
|
|
|
|
|
![]() |
| Tags |
| step function, volume fraction |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |