Test problem for the one-phase model. More...
#include <test/freeflow/ransnc/problem.hh>
Test problem for the one-phase model.
Dry air is entering from the left side and flows above a 1-D a flat plate. In the middle of the inlet, water vapor is injected, which spreads by turbulent diffusion. For the non-isothermal model the bottom has a constant temperature which is \unit[30]{K} higher than the initial and inlet temperature.
Public Member Functions | |
FlatPlateNCTestProblem (std::shared_ptr< const GridGeometry > gridGeometry) | |
Problem parameters | |
bool | isOnWallAtPos (const GlobalPosition &globalPos) const |
bool | shouldWriteRestartFile () const |
Scalar | temperature () const |
Returns the temperature within the domain in [K]. More... | |
NumEqVector | sourceAtPos (const GlobalPosition &globalPos) const |
Returns the sources within the domain. More... | |
Boundary conditions | |
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 |
Evaluates the initial value for a control volume. More... | |
void | setTimeLoop (TimeLoopPtr timeLoop) |
Scalar | time () const |
|
inline |
|
inline |
Specifies which kind of boundary condition should be used for which equation on a given boundary control volume.
globalPos | The position of the center of the finite volume |
|
inline |
Evaluate the boundary conditions for fixed values at cell centers.
element | The finite element |
scv | the sub control volume |
|
inline |
Evaluate the boundary conditions for fixed values at cell centers.
element | The finite element |
scv | the sub control volume |
|
inline |
Evaluate the boundary conditions for a dirichlet values at the boundary.
element | The finite element |
scvf | the sub control volume face |
|
inline |
Evaluates the initial value for a control volume.
globalPos | The global position |
|
inline |
Returns whether a fixed Dirichlet value shall be used at a given cell.
element | The finite element |
fvGeometry | The finite-volume geometry |
scv | The sub control volume |
pvIdx | The primary variable index in the solution vector |
|
inline |
|
inline |
|
inline |
|
inline |
Returns the sources within the domain.
globalPos | The global position |
|
inline |
Returns the temperature within the domain in [K].
The isothermal problem assumes a temperature of 10 degrees Celsius.
|
inline |