3.3.0
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Member Functions | List of all members
Dumux::NavierStokesNCModelTraits< dimension, nComp, useM, repCompEqIdx > Struct Template Reference

Traits for the multi-component free-flow model. More...

#include <dumux/freeflow/compositional/navierstokesncmodel.hh>

Inheritance diagram for Dumux::NavierStokesNCModelTraits< dimension, nComp, useM, repCompEqIdx >:

Description

template<int dimension, int nComp, bool useM, int repCompEqIdx = nComp>
struct Dumux::NavierStokesNCModelTraits< dimension, nComp, useM, repCompEqIdx >

Traits for the multi-component free-flow model.

Template Parameters
dimensionThe dimension of the problem
nCompThe number of components to be considered
useMUse molar or mass balances
repCompEqIdxThe index of the component balance equation that should be replaced by a total mass/mole balance

Public Types

using Indices = NavierStokesIndices< dimension >
 the indices More...
 

Static Public Member Functions

static constexpr int numEq ()
 
static constexpr int numFluidComponents ()
 The number of components. More...
 
static constexpr bool useMoles ()
 Use moles or not. More...
 
static constexpr bool enableMolecularDiffusion ()
 The one-phase model has no molecular diffusion. More...
 
static constexpr int replaceCompEqIdx ()
 Index of of a component balance eq. to be replaced by a total mass/mole balance. More...
 
static constexpr bool usesTurbulenceModel ()
 The model does not include a turbulence model. More...
 
static constexpr auto turbulenceModel ()
 return the type of turbulence model used More...
 
static constexpr int dim ()
 The dimension of the model. More...
 
static constexpr int numFluidPhases ()
 The number of phases is 1. More...
 
static constexpr bool enableAdvection ()
 Enable advection. More...
 
static constexpr bool enableEnergyBalance ()
 The model is isothermal. More...
 

Member Typedef Documentation

◆ Indices

template<int dimension, int nComp, bool useM, int repCompEqIdx = nComp>
using Dumux::NavierStokesNCModelTraits< dimension, nComp, useM, repCompEqIdx >::Indices = NavierStokesIndices<dimension>

the indices

Member Function Documentation

◆ dim()

template<int dimension>
static constexpr int Dumux::NavierStokesModelTraits< dimension >::dim ( )
inlinestaticconstexprinherited

The dimension of the model.

◆ enableAdvection()

template<int dimension>
static constexpr bool Dumux::NavierStokesModelTraits< dimension >::enableAdvection ( )
inlinestaticconstexprinherited

Enable advection.

◆ enableEnergyBalance()

template<int dimension>
static constexpr bool Dumux::NavierStokesModelTraits< dimension >::enableEnergyBalance ( )
inlinestaticconstexprinherited

The model is isothermal.

◆ enableMolecularDiffusion()

template<int dimension, int nComp, bool useM, int repCompEqIdx = nComp>
static constexpr bool Dumux::NavierStokesNCModelTraits< dimension, nComp, useM, repCompEqIdx >::enableMolecularDiffusion ( )
inlinestaticconstexpr

The one-phase model has no molecular diffusion.

◆ numEq()

template<int dimension, int nComp, bool useM, int repCompEqIdx = nComp>
static constexpr int Dumux::NavierStokesNCModelTraits< dimension, nComp, useM, repCompEqIdx >::numEq ( )
inlinestaticconstexpr

There are as many momentum balance equations as dimensions and as many balance equations as components.

◆ numFluidComponents()

template<int dimension, int nComp, bool useM, int repCompEqIdx = nComp>
static constexpr int Dumux::NavierStokesNCModelTraits< dimension, nComp, useM, repCompEqIdx >::numFluidComponents ( )
inlinestaticconstexpr

The number of components.

◆ numFluidPhases()

template<int dimension>
static constexpr int Dumux::NavierStokesModelTraits< dimension >::numFluidPhases ( )
inlinestaticconstexprinherited

The number of phases is 1.

◆ replaceCompEqIdx()

template<int dimension, int nComp, bool useM, int repCompEqIdx = nComp>
static constexpr int Dumux::NavierStokesNCModelTraits< dimension, nComp, useM, repCompEqIdx >::replaceCompEqIdx ( )
inlinestaticconstexpr

Index of of a component balance eq. to be replaced by a total mass/mole balance.

◆ turbulenceModel()

template<int dimension, int nComp, bool useM, int repCompEqIdx = nComp>
static constexpr auto Dumux::NavierStokesNCModelTraits< dimension, nComp, useM, repCompEqIdx >::turbulenceModel ( )
inlinestaticconstexpr

return the type of turbulence model used

◆ useMoles()

template<int dimension, int nComp, bool useM, int repCompEqIdx = nComp>
static constexpr bool Dumux::NavierStokesNCModelTraits< dimension, nComp, useM, repCompEqIdx >::useMoles ( )
inlinestaticconstexpr

Use moles or not.

◆ usesTurbulenceModel()

template<int dimension, int nComp, bool useM, int repCompEqIdx = nComp>
static constexpr bool Dumux::NavierStokesNCModelTraits< dimension, nComp, useM, repCompEqIdx >::usesTurbulenceModel ( )
inlinestaticconstexpr

The model does not include a turbulence model.


The documentation for this struct was generated from the following file: