version 3.8
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 >
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>

Member Function Documentation

◆ dim()

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

◆ enableAdvection()

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

◆ enableEnergyBalance()

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

◆ enableMolecularDiffusion()

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

◆ 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

◆ numFluidPhases()

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

◆ replaceCompEqIdx()

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

◆ turbulenceModel()

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

◆ useMoles()

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

◆ usesTurbulenceModel()

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

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