Test problem for the one-phase (Navier-) Stokes problem in a channel.
More...
#include <test/freeflow/rans/problem.hh>
template<class TypeTag>
class Dumux::PipeLauferProblem< TypeTag >
Test problem for the one-phase (Navier-) Stokes problem in a channel.
This test simulates is based on pipe flow experiments by John Laufers experiments in 1954 [40].
|
BoundaryTypes | boundaryTypesAtPos (const GlobalPosition &globalPos) const |
| Specifies which kind of boundary condition should be used for which equation on a given boundary control volume. More...
|
|
template<class Element , class FVElementGeometry , class SubControlVolume > |
bool | isDirichletCell (const Element &element, const FVElementGeometry &fvGeometry, const SubControlVolume &scv, int pvIdx) const |
| Returns whether a fixed Dirichlet value shall be used at a given cell. More...
|
|
PrimaryVariables | dirichlet (const Element &element, const SubControlVolumeFace &scvf) const |
| Evaluate the boundary conditions for a dirichlet values at the boundary. More...
|
|
template<bool enable = (ModelTraits::turbulenceModel() == TurbulenceModel::komega || ModelTraits::turbulenceModel() == TurbulenceModel::kepsilon), std::enable_if_t<!enable, int > = 0> |
PrimaryVariables | dirichlet (const Element &element, const SubControlVolume &scv) const |
| Evaluate the boundary conditions for fixed values at cell centers. More...
|
|
template<bool enable = (ModelTraits::turbulenceModel() == TurbulenceModel::komega || ModelTraits::turbulenceModel() == TurbulenceModel::kepsilon), std::enable_if_t< enable, int > = 0> |
PrimaryVariables | dirichlet (const Element &element, const SubControlVolume &scv) const |
| Evaluate the boundary conditions for fixed values at cell centers. More...
|
|
PrimaryVariables | initialAtPos (const GlobalPosition &globalPos) const |
| Evaluate the initial value for a control volume. More...
|
|
void | setTimeLoop (TimeLoopPtr timeLoop) |
|
Scalar | time () const |
|
◆ PipeLauferProblem()
◆ boundaryTypesAtPos()
Specifies which kind of boundary condition should be used for which equation on a given boundary control volume.
- Parameters
-
globalPos | The position of the center of the finite volume |
◆ dirichlet() [1/3]
template<class TypeTag >
template<bool enable = (ModelTraits::turbulenceModel() == TurbulenceModel::komega || ModelTraits::turbulenceModel() == TurbulenceModel::kepsilon), std::enable_if_t<!enable, int > = 0>
PrimaryVariables Dumux::PipeLauferProblem< TypeTag >::dirichlet |
( |
const Element & |
element, |
|
|
const SubControlVolume & |
scv |
|
) |
| const |
|
inline |
Evaluate the boundary conditions for fixed values at cell centers.
- Parameters
-
element | The finite element |
scv | the sub control volume |
- Note
- used for cell-centered discretization schemes
◆ dirichlet() [2/3]
template<class TypeTag >
template<bool enable = (ModelTraits::turbulenceModel() == TurbulenceModel::komega || ModelTraits::turbulenceModel() == TurbulenceModel::kepsilon), std::enable_if_t< enable, int > = 0>
PrimaryVariables Dumux::PipeLauferProblem< TypeTag >::dirichlet |
( |
const Element & |
element, |
|
|
const SubControlVolume & |
scv |
|
) |
| const |
|
inline |
Evaluate the boundary conditions for fixed values at cell centers.
- Parameters
-
element | The finite element |
scv | the sub control volume |
- Note
- used for cell-centered discretization schemes
◆ dirichlet() [3/3]
template<class TypeTag >
PrimaryVariables Dumux::PipeLauferProblem< TypeTag >::dirichlet |
( |
const Element & |
element, |
|
|
const SubControlVolumeFace & |
scvf |
|
) |
| const |
|
inline |
Evaluate the boundary conditions for a dirichlet values at the boundary.
- Parameters
-
element | The finite element |
scvf | the sub control volume face |
- Note
- used for cell-centered discretization schemes
◆ initialAtPos()
Evaluate the initial value for a control volume.
- Parameters
-
globalPos | The global position |
◆ isDirichletCell()
template<class TypeTag >
template<class Element , class FVElementGeometry , class SubControlVolume >
bool Dumux::PipeLauferProblem< TypeTag >::isDirichletCell |
( |
const Element & |
element, |
|
|
const FVElementGeometry & |
fvGeometry, |
|
|
const SubControlVolume & |
scv, |
|
|
int |
pvIdx |
|
) |
| const |
|
inline |
Returns whether a fixed Dirichlet value shall be used at a given cell.
- Parameters
-
element | The finite element |
fvGeometry | The finite-volume geometry |
scv | The sub control volume |
pvIdx | The primary variable index in the solution vector |
◆ isOnWallAtPos()
◆ sandGrainRoughnessAtPos()
◆ setTimeLoop()
◆ shouldWriteRestartFile()
◆ sourceAtPos()
Returns the sources within the domain.
- Parameters
-
globalPos | The global position |
◆ temperature()
Returns the temperature [K] within the domain for the isothermal model.
◆ time()
The documentation for this class was generated from the following file: