Commit 61f47a18 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[navierstokes/nc/ni] Add balance equations to all models

parent d1cfb77c
......@@ -21,7 +21,28 @@
* \ingroup NavierStokesModel
*
* \brief A single-phase, isothermal Navier-Stokes model
* TODO: doc me!
*
* This model implements a single-phase, isothermal Navier-Stokes model, solving the <B> momentum balance equation </B>
* \f[
\frac{\partial (\varrho \textbf{v})}{\partial t} + \nabla \cdot (\varrho \textbf{v} \textbf{v}^{\textup{T}}) = \nabla \cdot (\mu (\nabla \textbf{v} + \nabla \textbf{v}^{\textup{T}}))
- \nabla p + \varrho \textbf{g} - \textbf{f}
* \f]
* By setting the property <code>EnableInertiaTerms</code> to <code>false</code> the Stokes
* equation can be solved. In this case the term
* \f[
* \nabla \cdot (\varrho \textbf{v} \textbf{v}^{\textup{T}})
* \f]
* is neglected.
*
* The <B> mass balance equation </B>
* \f[
\frac{\partial \varrho}{\partial t} + \nabla \cdot (\varrho \textbf{v}) - q = 0
* \f]
*
* closes the system.
*
*
* So far, only the staggered grid spatial discretization (for structured grids) is available.
*/
#ifndef DUMUX_NAVIERSTOKES_MODEL_HH
......
......@@ -16,13 +16,46 @@
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
*****************************************************************************/
/*!
* \file
* \ingroup NavierStokesNCModel
*
* \brief A single-phase, multi-component isothermal Navier-Stokes model
* TODO: doc me!
*/
/*!
* \file
* \ingroup NavierStokesNCModel
*
* \brief A single-phase, multi-component isothermal Navier-Stokes model
*
* This model implements a single-phase, multi-component isothermal Navier-Stokes model, solving the <B> momentum balance equation </B>
* \f[
\frac{\partial (\varrho \textbf{v})}{\partial t} + \nabla \cdot (\varrho \textbf{v} \textbf{v}^{\textup{T}}) = \nabla \cdot (\mu (\nabla \textbf{v} + \nabla \textbf{v}^{\textup{T}}))
- \nabla p + \varrho \textbf{g} - \textbf{f}
* \f]
* By setting the property <code>EnableInertiaTerms</code> to <code>false</code> the Stokes
* equation can be solved. In this case the term
* \f[
* \nabla \cdot (\varrho \textbf{v} \textbf{v}^{\textup{T}})
* \f]
* is neglected.
*
*
* The system is closed by a <B> component mass/mole balance equation </B> for each component \f$\kappa\f$:
* \f[
* \frac{\partial \left(\varrho X^\kappa\right)}{\partial t}
* + \nabla \cdot \left( \varrho {\boldsymbol{v}} X^\kappa
* - D^\kappa \varrho \frac{M^\kappa}{M} \textbf{grad}\, x^\kappa \right)
* - q^\kappa = 0
* \f]
*
* Alternatively, one component balance equation can be replace by a <B> total mass/mole balance equation </B>:
*
* \f[
* \frac{\partial \varrho_g}{\partial t}
* + \nabla \cdot \left(
* \varrho {\boldsymbol{v}}
* - \sum_\kappa D^\kappa \varrho \frac{M^\kappa}{M} \textbf{grad}\, x^\kappa
* \right)
* - q = 0
* \f]
*
* So far, only the staggered grid spatial discretization (for structured grids) is available.
*/
#ifndef DUMUX_NAVIERSTOKES_NC_MODEL_HH
#define DUMUX_NAVIERSTOKES_NC_MODEL_HH
......
......@@ -16,13 +16,20 @@
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
*****************************************************************************/
/*!
* \file
* \ingroup NavierStokesNIModel
*
* \brief A single-phase, non-isothermal Navier-Stokes model
* TODO: doc me!
*/
/*!
* \file
* \ingroup NavierStokesNIModel
*
* \brief A single-phase, non-isothermal Navier-Stokes model
*
* In addition to the momentum and mass/mole balance equations, this model also solves the <B> energy balance equation </B>:
* \f[
* \frac{\partial (\varrho v)}{\partial t}
* + \nabla \cdot \left( \varrho h {\boldsymbol{v}}
* - \lambda \textbf{grad}\, T \right) - q_T = 0
* \f]
*
*/
#ifndef DUMUX_STAGGERED_NI_MODEL_HH
#define DUMUX_STAGGERED_NI_MODEL_HH
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment