Gravity
Forces due to gravity often play an important role in the momentum balance for fluids and solids. The body forces due to gravity are added to the momentum equations as a source term.
where is the gravity vector.
When the fluid density varies with temperature, the gravity vector acts on the density and induces a natural convection flow.
where is the thermal expansion coefficient.
For natural convection flows, you can use the Boussinesq model to simulate buoyancy effects instead of using a temperature-dependent density when the temperature differences are small. The density used in the Boussinesq model is constant in all solved equations and only the buoyancy source term varies.
Working Pressure
When the Gravity model is active, the Simcenter STAR-CCM+ working pressure becomes the piezometric pressure, in which the reference altitude (which you set) is taken into account. The piezometric pressure is given as:
For both variable and constant density flows it is necessary to set the reference altitude , which is used in the calculation of piezometric pressure as shown above. The reference altitude is the point at which the piezometric and static pressure are considered equal.
When setting initial or boundary pressures in simulations for which the Gravity model is active, you are setting the piezometric pressure value. Simcenter STAR-CCM+ calculates the corresponding static pressure.
Variable Density Flows
For variable density flows, the buoyancy source term is:
where is the reference density.
For VOF multiphase flows the density variation could be very significant (several orders of magnitude), and result in numerical instabilities. To obtain a robust and stable numerical solution in such cases, set the reference density to zero or to the density of the lightest phase.
Boussinesq Model
You can enhance convergence of natural convection simulations by using the Boussinesq model. If the constant density is used in all terms of the governing equations by eliminating through the Boussinesq approximation from the buoyancy term, the buoyancy source term is approximated as:where is the operating temperature.
This approximation is valid only for small temperature differences and consequently for small density variations. The Boussinesq approximation is valid if .