Velocity Source#
This subsection allows you to define velocity-dependent source terms. Two families of velocity source terms are supported. They enable the simulation of problems in a Lagrangian reference frame for which the Coriolis and centrifugal forces must be added or of problems including porous media.
Rotating Frame#
Rotating frame simulations use the following parameters:
subsection velocity source
set rotating frame type = none
set omega_x = 0
set omega_y = 0
set omega_z = 0
end
The
rotating frame type
parameter specifies the type of reference frame that is selected. The options arenone
for an Eulerian reference frame orsrf
for a single rotating frame. By selectingsrf
the additional contributions of the centrifugal force and Coriolis force induced by the rotating movement are taken into account in the Navier-Stokes equations.The
omega_x
parameter is a double representing the \(x\) component of the angular velocity of the reference frame.The
omega_y
parameter is a double representing the \(y\) component of the angular velocity of the reference frame.The
omega_z
parameter is a double representing the \(z\) component of the angular velocity of the reference frame.
Darcy Penalization#
A Darcy-like source term can be added to the simulation using the following parameters:
subsection velocity source
set Darcy type = none
end
The
Darcy type
parameter specifies the type of Darcy penalization term to be applied to the Navier-Stokes equations. The options arenone
orphase_change
. Thephase_change
model uses the values of theDarcy penalty liquid
andDarcy penalty solid
set-up within thephase change
subsection of the Physical Properties.
Caution
The phase change Darcy model does not currently have a Cahn-Hilliard implementation.