1

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