DUNE PDELab (git)
Dune::PDELab::DGNavierStokesParameters< GV, RF, F, B, V, J, navier, full_tensor, IP > Class Template Reference
Parameter class for local operator DGNavierStokes. More...
#include <dune/pdelab/localoperator/dgnavierstokesparameter.hh>
Public Types | |
typedef Base::Traits | Traits |
Traits class. | |
Public Member Functions | |
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. | |
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. | |
template<typename GEO , typename IGEO > | |
Traits::RangeField | getFaceIP (const GEO &geo, const IGEO &igeo) |
Get interior penalty parameter from boundary face. | |
int | epsilonIPSymmetryFactor () |
Traits::VelocityRange | f (const EG &e, const typename Traits::Domain &x) const |
source term | |
Traits::BoundaryCondition::Type | bctype (const IG &is, const typename Traits::IntersectionDomain &x) const |
boundary condition type from local intersection coordinate | |
Traits::RangeField | mu (const EG &e, const typename Traits::Domain &x) const |
Dynamic viscosity value from local cell coordinate. | |
Traits::RangeField | mu (const IG &ig, const typename Traits::IntersectionDomain &x) const |
Dynamic viscosity value from local intersection coordinate. | |
Traits::RangeField | rho (const EG &eg, const typename Traits::Domain &x) const |
Density value from local cell coordinate. | |
Traits::RangeField | rho (const IG &ig, const typename Traits::IntersectionDomain &x) const |
Density value from local intersection coordinate. | |
Traits::VelocityRange | g (const EG &e, const typename Traits::Domain &x) const |
Dirichlet boundary condition value from local cell coordinate. | |
Traits::RangeField | g2 (const EG &e, const typename Traits::Domain &x) const |
pressure source term | |
Traits::VelocityRange | j (const IG &ig, const typename Traits::IntersectionDomain &x, const typename Traits::Domain &normal) const |
Neumann boundary condition (stress) | |
Detailed Description
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 >
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.
Constructor & Destructor Documentation
◆ DGNavierStokesParameters()
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>>
|
inline |
Constructor that parses values from parameter tree.
In order to parse the values correctly the ini-file should have the following structure:
And invocation in the code:
navierstokes_parameters(configuration.sub("parameters"), ... );
Member Function Documentation
◆ epsilonIPSymmetryFactor()
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>>
|
inline |
Return the symmetry factor epsilon for this IP discretization
The documentation for this class was generated from the following file:
- dune/pdelab/localoperator/dgnavierstokesparameter.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 24, 23:30, 2024)