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

Member Function Documentation

◆ dim()

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

◆ enableAdvection()

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

◆ enableEnergyBalance()

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

◆ enableMolecularDiffusion()

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

◆ 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

◆ numFluidPhases()

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

◆ turbulenceModel()

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

◆ usesTurbulenceModel()

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

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