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 typeparameter specifies the type of reference frame that is selected. The options arenonefor an Eulerian reference frame orsrffor a single rotating frame. By selectingsrfthe 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_xparameter is a double representing the \(x\) component of the angular velocity of the reference frame.The
omega_yparameter is a double representing the \(y\) component of the angular velocity of the reference frame.The
omega_zparameter 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 typeparameter specifies the type of Darcy penalization term to be applied to the Navier-Stokes equations. The options arenoneorphase_change. Thephase_changemodel uses the values of theDarcy penalty liquidandDarcy penalty solidset-up within thephase changesubsection of the Physical Properties.
Caution
The phase change Darcy model does not currently have a Cahn-Hilliard implementation.