Training Guide > Multi-Phase Flow Tutorials > Capillary Effects Tutorial > Setting Initial Conditions and Reference Values

Your Ad Here




Setting Initial Conditions and Reference Values

The direction and magnitude of the gravity vector is set via the Reference Values node. In this case, a gravity force needs to be applied in the positive x-direction.


The initial condition for the spatial distribution of the two fluids in the continuum is that we only have glycerine in the left-hand chamber and only air in the right-hand chamber and channel. A convenient way of specifying such a distribution is by creating and using a field function.


To define the required field function:


It is not necessary to specify a similar distribution for the Air node because any user-specified initial condition for the volume fraction of the last-defined phase in multiphase flows is always ignored. Instead, this condition is obtained by subtracting the sum of the volume fraction distributions of the other phases from 1.0.

Return to CD-adapco STAR-CCM+ Index


Your Ad Here