DUNE PDELab (2.8)

Dune::PDELab::NavierStokesDefaultParameters< GV, RF, F, B, V, J, navier, tensor > Class Template Reference

#include <dune/pdelab/localoperator/stokesparameter.hh>

Public Types

typedef NavierStokesParameterTraits< GV, RF > Traits
 Type traits.
 

Public Member Functions

 NavierStokesDefaultParameters (const Dune::ParameterTree &config, F &f, B &b, V &v, J &j)
 Constructor.
 
template<typename EG >
Traits::VelocityRange f (const EG &e, const typename Traits::Domain &x) const
 source term
 
template<typename IG >
Traits::BoundaryCondition::Type bctype (const IG &is, const typename Traits::IntersectionDomain &x) const
 boundary condition type from local intersection coordinate
 
template<typename EG >
Traits::RangeField mu (const EG &e, const typename Traits::Domain &x) const
 Dynamic viscosity value from local cell coordinate.
 
template<typename IG >
Traits::RangeField mu (const IG &ig, const typename Traits::IntersectionDomain &x) const
 Dynamic viscosity value from local intersection coordinate.
 
template<typename EG >
Traits::RangeField rho (const EG &eg, const typename Traits::Domain &x) const
 Density value from local cell coordinate.
 
template<typename IG >
Traits::RangeField rho (const IG &ig, const typename Traits::IntersectionDomain &x) const
 Density value from local intersection coordinate.
 
template<typename EG >
Traits::VelocityRange g (const EG &e, const typename Traits::Domain &x) const
 Dirichlet boundary condition value from local cell coordinate.
 
template<typename EG >
Traits::RangeField g2 (const EG &e, const typename Traits::Domain &x) const
 pressure source term
 
template<typename IG >
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 tensor = false>
class Dune::PDELab::NavierStokesDefaultParameters< GV, RF, F, B, V, J, navier, tensor >

Default implementation for the parameter class to be used with the Taylor-Hood Navier-Stokes local operator.

This is designed to work with the TaylorHoodNavierStokes, TaylorHoodNavierStokesJacobian and NavierStokesMass local operator classes.

Template Parameters
GVGridView.
RFThe range field type of the Navier-Stokes solution.
FExternal force term function (vector-valued).
BBoundary type function returning an element of StokesBoundaryCondition.
VDirichlet velocity function.
JNeumann stress boundary function (vector- or scalar-valued). Scalar values will be interpreted as the magnitude of a vector oriented in outer normal direction.

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 22, 23:30, 2024)