Commit ef2e1ab2 authored by Jordan Musser's avatar Jordan Musser
Browse files

Merge branch 'code-cleanup-advect-momentum' into 'main'

Add fluid.enable.momentum_conservative_update

See merge request !235
parents d3dd3af2 e77c350c
Loading
Loading
Loading
Loading
Loading
+14 −5
Changes for docs/source_docs/user_guide/inputs/model_options.rst: 14 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -33,13 +33,22 @@ The following input is defined using the prefix ``mfix``:
Fluid options
-------------

The following inputs are defined using the prefix ``fluid``:
.. |non_conserv_mom| replace:: :math:`\varepsilon \rho \mathbf{u} \cdot\nabla\mathbf{u}`
.. |conserv_mom| replace:: :math:`\nabla \cdot (\varepsilon \mathbf{u} \rho \mathbf{u})`

+--------------------------+----------------------------------------------------------------------------+----------+-----------+
The following inputs are defined using the prefix ``fluid.enable``:

+------------------------------+----------------------------------------------------------------------------+----------+-----------+
|                              | Description                                                                |   Type   | Default   |
+==========================+============================================================================+==========+===========+
| enable.density_advection | Enable time evolution of fluid density.                                    | Bool     | false     |
+--------------------------+----------------------------------------------------------------------------+----------+-----------+
+==============================+============================================================================+==========+===========+
| density_advection            | Enable time evolution of fluid density.                                    | Bool     | false     |
+------------------------------+----------------------------------------------------------------------------+----------+-----------+
| momentum_conservative_update | Use the conservative form (|conserv_mom|) of the fluid momentum update     | Bool     | false     |
|                              | when ``true``. Update momentum, then recover velocity using the updated    |          |           |
|                              | density and fluid volume fraction. When ``false`` (default), use the       |          |           |
|                              | non-conservative form, |non_conserv_mom|, updating fluid velocity          |          |           |
|                              | directly.                                                                  |          |           |
+------------------------------+----------------------------------------------------------------------------+----------+-----------+


The following inputs are defined using the prefix ``mfix``: