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

Traits for the Navier-Stokes model. More...

#include <dumux/freeflow/navierstokes/model.hh>

Inheritance diagram for Dumux::NavierStokesModelTraits< dimension >:

Description

template<int dimension>
struct Dumux::NavierStokesModelTraits< dimension >

Traits for the Navier-Stokes model.

Template Parameters
dimensionThe dimension of the problem

Public Types

using Indices = NavierStokesIndices< dim()>
 the indices More...
 

Static Public Member Functions

static constexpr int dim ()
 The dimension of the model. More...
 
static constexpr int numEq ()
 
static constexpr int numFluidPhases ()
 The number of phases is 1. More...
 
static constexpr int numFluidComponents ()
 The number of components is 1. More...
 
static constexpr bool enableAdvection ()
 Enable advection. More...
 
static constexpr bool enableMolecularDiffusion ()
 The one-phase model has no molecular diffusion. More...
 
static constexpr bool enableEnergyBalance ()
 The model is isothermal. 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...
 

Member Typedef Documentation

◆ Indices

template<int dimension>
using Dumux::NavierStokesModelTraits< dimension >::Indices = NavierStokesIndices<dim()>

the indices

Member Function Documentation

◆ dim()

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

The dimension of the model.

◆ enableAdvection()

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

Enable advection.

◆ enableEnergyBalance()

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

The model is isothermal.

◆ enableMolecularDiffusion()

template<int dimension>
static constexpr bool Dumux::NavierStokesModelTraits< dimension >::enableMolecularDiffusion ( )
inlinestaticconstexpr

The one-phase model has no molecular diffusion.

◆ numEq()

template<int dimension>
static constexpr int Dumux::NavierStokesModelTraits< dimension >::numEq ( )
inlinestaticconstexpr

There are as many momentum balance equations as dimensions and one mass balance equation.

◆ numFluidComponents()

template<int dimension>
static constexpr int Dumux::NavierStokesModelTraits< dimension >::numFluidComponents ( )
inlinestaticconstexpr

The number of components is 1.

◆ numFluidPhases()

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

The number of phases is 1.

◆ turbulenceModel()

template<int dimension>
static constexpr auto Dumux::NavierStokesModelTraits< dimension >::turbulenceModel ( )
inlinestaticconstexpr

return the type of turbulence model used

◆ usesTurbulenceModel()

template<int dimension>
static constexpr bool Dumux::NavierStokesModelTraits< dimension >::usesTurbulenceModel ( )
inlinestaticconstexpr

The model does not include a turbulence model.


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