CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

initial volume fraction for 3 fluids

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2015, 13:00
Default initial volume fraction for 3 fluids
  #1
Member
 
niru
Join Date: Apr 2012
Posts: 55
Rep Power: 14
Niru is on a distinguished road
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?
Niru is offline   Reply With Quote

Old   May 11, 2015, 19:28
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can also use the if function, its syntax is more obvious.
ghorrocks is offline   Reply With Quote

Old   May 12, 2015, 14:38
Default
  #3
Member
 
niru
Join Date: Apr 2012
Posts: 55
Rep Power: 14
Niru is on a distinguished road
the if condition worked
Niru is offline   Reply With Quote

Reply

Tags
step function, volume fraction


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 01:49.