Previous: Initial and boundary conditions Up: Test case modification Next: Physical set up This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com. Phase ratio initialization Following method can be applied to any quantity Field initialization using setFields utility reading set up from system/setFieldsDict:defaultFieldValues ( volScalarFieldValue alpha.water 0 ); regions ( boxToCell { box (-100 -100 -100) (100 0 100); fieldValues ( volScalarFieldValue alpha.water 1 ); } ); First phase bottom, second phase top Initialize phases using utility setFields:# mv 0/alpha.water.orig 0/alpha.water# setFields Figure: Initial phases magnitude OpenFOAM Training by CFD Support, CFD SUPPORT, info@cfdsupport.com +420 212 243 883 © CFD support, s.r.o., Sokolovská 270/201, 190 00 Praha 9, Czech Republic