Training Guide > Multi-Phase Flow Tutorials > Gravity-Driven Flow Tutorial > Setting Initial Conditions and Reference Values

Your Ad Here




Setting Initial Conditions and Reference Values

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


To initialize the turbulence parameters:


The usual practice for initially stationary fluids is to specify low, non-zero values for the turbulence parameters. This is because numerical problems may arise if these quantities are set to zero.

The initial condition for the spatial distribution of the two fluids in the continuum is that we only have water in the left-hand chamber and only air in the right-hand chamber and channel. Both fluids should also be stationary. 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 define a similar distribution for the H2O 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