|
| DGNavierStokesParameters (const Dune::ParameterTree &configuration, F &f, B &b, V &v, J &j) |
| Constructor that parses values from parameter tree. More...
|
|
Traits::RangeField | incompressibilityScaling (typename Traits::RangeField dt) const |
| Rescaling factor for the incompressibility equation. More...
|
|
template<typename GEO , typename IGEO , typename OGEO > |
Traits::RangeField | getFaceIP (const GEO &geo, const IGEO &igeo, const OGEO &ogeo) |
| Get interior penalty parameter from skeleton face. More...
|
|
template<typename GEO , typename IGEO > |
Traits::RangeField | getFaceIP (const GEO &geo, const IGEO &igeo) |
| Get interior penalty parameter from boundary face. More...
|
|
int | epsilonIPSymmetryFactor () |
|
template<typename EG > |
Traits::VelocityRange | f (const EG &e, const typename Traits::Domain &x) const |
| source term More...
|
|
template<typename IG > |
Traits::BoundaryCondition::Type | bctype (const IG &is, const typename Traits::IntersectionDomain &x) const |
| boundary condition type from local intersection coordinate More...
|
|
template<typename EG > |
Traits::RangeField | mu (const EG &e, const typename Traits::Domain &x) const |
| Dynamic viscosity value from local cell coordinate. More...
|
|
template<typename IG > |
Traits::RangeField | mu (const IG &ig, const typename Traits::IntersectionDomain &x) const |
| Dynamic viscosity value from local intersection coordinate. More...
|
|
template<typename EG > |
Traits::RangeField | rho (const EG &eg, const typename Traits::Domain &x) const |
| Density value from local cell coordinate. More...
|
|
template<typename IG > |
Traits::RangeField | rho (const IG &ig, const typename Traits::IntersectionDomain &x) const |
| Density value from local intersection coordinate. More...
|
|
template<typename EG > |
Traits::VelocityRange | g (const EG &e, const typename Traits::Domain &x) const |
| Dirichlet boundary condition value from local cell coordinate. More...
|
|
template<typename EG > |
Traits::RangeField | g2 (const EG &e, const typename Traits::Domain &x) const |
| pressure source term More...
|
|
template<typename IG > |
Traits::VelocityRange | j (const IG &ig, const typename Traits::IntersectionDomain &x, const typename Traits::Domain &normal) const |
| Neumann boundary condition (stress) More...
|
|
void | setTime (RF time) |
|
template<typename GV, typename RF, typename F, typename B, typename V, typename J, bool navier = false, bool full_tensor = false, typename IP = DefaultInteriorPenalty<typename V::Traits::RangeFieldType>>
class Dune::PDELab::DGNavierStokesParameters< GV, RF, F, B, V, J, navier, full_tensor, IP >
Parameter class for local operator DGNavierStokes.
- Template Parameters
-
GV | GridView. |
RF | The range field type of the Navier-Stokes solution. |
F | Momentum source term function |
B | Boundary condition function |
V | Dirichlet velocity boundary condition function |
J | Neumann stress boundary function (vector- or scalar-valued). Scalar values will be interpreted as the magnitude of a vector oriented in outer normal direction. For prescribed pressure you can use $J=p \cdot n$. |
navier | Flag turning the local operator to a Navier-Stokes one. |
full_tensor | Flag enabling the assembling of the full tensor of the viscous stress. |
IP | A class providing the interior penalty for each face. |
template<typename GV , typename RF , typename F , typename B , typename V , typename J , bool navier = false, bool full_tensor = false, typename IP = DefaultInteriorPenalty<typename V::Traits::RangeFieldType>>
Dune::PDELab::DGNavierStokesParameters< GV, RF, F, B, V, J, navier, full_tensor, IP >::DGNavierStokesParameters |
( |
const Dune::ParameterTree & |
configuration, |
|
|
F & |
f, |
|
|
B & |
b, |
|
|
V & |
v, |
|
|
J & |
j |
|
) |
| |
|
inline |
Constructor that parses values from parameter tree.
In order to parse the values correctly the ini-file should have the following structure:
[parameters]
[parameters.dg]
epsilon = -1
sigma = 6.0
beta = 1.0
Traits::RangeField rho(const EG &eg, const typename Traits::Domain &x) const
Density value from local cell coordinate.
Definition: stokesparameter.hh:221
Traits::RangeField mu(const EG &e, const typename Traits::Domain &x) const
Dynamic viscosity value from local cell coordinate.
Definition: stokesparameter.hh:205
And invocation in the code:
navierstokes_parameters(configuration.sub("parameters"), ... );
template<typename GV , typename RF , typename F , typename B , typename V , typename J , bool navier = false, bool full_tensor = false, typename IP = DefaultInteriorPenalty<typename V::Traits::RangeFieldType>>
Return the symmetry factor epsilon for this IP discretization
template<typename GV , typename RF , typename F , typename B , typename V , typename J , bool navier = false, bool full_tensor = false, typename IP = DefaultInteriorPenalty<typename V::Traits::RangeFieldType>>
template<typename GEO , typename IGEO >
Get interior penalty parameter from boundary face.
template<typename GV , typename RF , typename F , typename B , typename V , typename J , bool navier = false, bool full_tensor = false, typename IP = DefaultInteriorPenalty<typename V::Traits::RangeFieldType>>
template<typename GEO , typename IGEO , typename OGEO >
Traits::RangeField Dune::PDELab::DGNavierStokesParameters< GV, RF, F, B, V, J, navier, full_tensor, IP >::getFaceIP |
( |
const GEO & |
geo, |
|
|
const IGEO & |
igeo, |
|
|
const OGEO & |
ogeo |
|
) |
| |
|
inline |
Get interior penalty parameter from skeleton face.