The lower-dimensional test problem for the incompressible one-phase model with coupling across the bulk grid facets.
More...
template<class TypeTag>
class Dumux::OnePLowDimProblem< TypeTag >
The lower-dimensional test problem for the incompressible one-phase model with coupling across the bulk grid facets.
The problem for the facet domain of the single-phase problem within the tracer facet coupling test.
|
| OnePLowDimProblem (std::shared_ptr< const GridGeometry > gridGeometry, std::shared_ptr< typename ParentType::SpatialParams > spatialParams, std::shared_ptr< CouplingManager > couplingManagerPtr, const std::string ¶mGroup="LowDim") |
|
const std::string & | name () const |
| The problem name. More...
|
|
BoundaryTypes | boundaryTypesAtPos (const GlobalPosition &globalPos) const |
| Specifies the type of boundary condition at a given position. More...
|
|
NumEqVector | source (const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolume &scv) const |
| Evaluates the source term at a given position. More...
|
|
Scalar | exact (const GlobalPosition &globalPos) const |
| Evaluates the exact solution at a given position. More...
|
|
PrimaryVariables | dirichletAtPos (const GlobalPosition &globalPos) const |
| Evaluates the Dirichlet boundary condition for a given position. More...
|
|
Scalar | extrusionFactorAtPos (const GlobalPosition &globalPos) const |
| Sets the aperture as extrusion factor. More...
|
|
PrimaryVariables | initialAtPos (const GlobalPosition &globalPos) const |
| Evaluates the initial conditions. More...
|
|
Scalar | temperature () const |
| Returns the temperature in \(\mathrm{[K]}\) in the domain. More...
|
|
const CouplingManager & | couplingManager () const |
| Returns reference to the coupling manager. More...
|
|
| OnePLowDimProblem (std::shared_ptr< const GridGeometry > gridGeometry, std::shared_ptr< typename ParentType::SpatialParams > spatialParams, std::shared_ptr< CouplingManager > couplingManager, const std::string ¶mGroup="") |
|
const std::string & | name () const |
| The problem name. More...
|
|
BoundaryTypes | boundaryTypesAtPos (const GlobalPosition &globalPos) const |
| Specifies the type of boundary condition at a given position. More...
|
|
NumEqVector | source (const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolume &scv) const |
| Evaluates the source term at a given position. More...
|
|
PrimaryVariables | dirichletAtPos (const GlobalPosition &globalPos) const |
| Evaluates the Dirichlet boundary condition for a given position. More...
|
|
Scalar | extrusionFactorAtPos (const GlobalPosition &globalPos) const |
| Sets the aperture as extrusion factor. More...
|
|
PrimaryVariables | initialAtPos (const GlobalPosition &globalPos) const |
| Evaluates the initial conditions. More...
|
|
Scalar | temperature () const |
| Returns the temperature in \(\mathrm{[K]}\) in the domain. More...
|
|
const CouplingManager & | couplingManager () const |
| Returns reference to the coupling manager. More...
|
|
| OnePLowDimProblem (std::shared_ptr< const GridGeometry > gridGeometry, std::shared_ptr< typename ParentType::SpatialParams > spatialParams, std::shared_ptr< CouplingManager > couplingManager, const std::string ¶mGroup="") |
|
const std::string & | name () const |
| The problem name. More...
|
|
BoundaryTypes | boundaryTypesAtPos (const GlobalPosition &globalPos) const |
| Specifies the type of boundary condition at a given position. More...
|
|
NumEqVector | source (const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolume &scv) const |
| Evaluates the source term at a given position. More...
|
|
PrimaryVariables | dirichletAtPos (const GlobalPosition &globalPos) const |
| Evaluates the Dirichlet boundary condition for a given position. More...
|
|
Scalar | extrusionFactorAtPos (const GlobalPosition &globalPos) const |
| Sets the aperture as extrusion factor. More...
|
|
PrimaryVariables | initialAtPos (const GlobalPosition &globalPos) const |
| Evaluates the initial conditions. More...
|
|
Scalar | temperature () const |
| Returns the temperature in \(\mathrm{[K]}\) in the domain. More...
|
|
const CouplingManager & | couplingManager () const |
| Returns reference to the coupling manager. More...
|
|
| OnePLowDimProblem (std::shared_ptr< const GridGeometry > gridGeometry, std::shared_ptr< typename ParentType::SpatialParams > spatialParams, std::shared_ptr< CouplingManager > couplingManager, const std::string ¶mGroup="") |
|
const std::string & | name () const |
| The problem name. More...
|
|
BoundaryTypes | boundaryTypesAtPos (const GlobalPosition &globalPos) const |
| Specifies the type of boundary condition at a given position. More...
|
|
NumEqVector | source (const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolume &scv) const |
| Evaluates the source term at a given position. More...
|
|
PrimaryVariables | dirichletAtPos (const GlobalPosition &globalPos) const |
| Evaluates the Dirichlet boundary condition for a given position. More...
|
|
Scalar | extrusionFactorAtPos (const GlobalPosition &globalPos) const |
| Sets the aperture as extrusion factor. More...
|
|
PrimaryVariables | initialAtPos (const GlobalPosition &globalPos) const |
| Evaluates the initial conditions. More...
|
|
Scalar | temperature () const |
| Returns the temperature in \(\mathrm{[K]}\) in the domain. More...
|
|
const CouplingManager & | couplingManager () const |
| Returns reference to the coupling manager. More...
|
|
void | setName (const std::string &newName) |
| Set the problem name. More...
|
|
|
BoundaryTypes | boundaryTypes (const Element &element, const SubControlVolume &scv) const |
| Specifies which kind of boundary condition should be used for which equation on a given boundary segment. More...
|
|
BoundaryTypes | boundaryTypes (const Element &element, const SubControlVolumeFace &scvf) const |
| Specifies which kind of boundary condition should be used for which equation on a given boundary segment. More...
|
|
PrimaryVariables | dirichlet (const Element &element, const SubControlVolumeFace &scvf) const |
| Evaluate the boundary conditions for a dirichlet control volume face. More...
|
|
PrimaryVariables | dirichlet (const Element &element, const SubControlVolume &scv) const |
| Evaluate the boundary conditions for a dirichlet control volume. More...
|
|
NumEqVector | neumann (const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVariablesCache &elemFluxVarsCache, const SubControlVolumeFace &scvf) const |
| Evaluate the boundary conditions for a neumann boundary segment. More...
|
|
NumEqVector | neumannAtPos (const GlobalPosition &globalPos) const |
| Evaluate the boundary conditions for a neumann boundary segment. More...
|
|
NumEqVector | sourceAtPos (const GlobalPosition &globalPos) const |
| Evaluate the source term for all phases within a given sub-control-volume. More...
|
|
void | addPointSources (std::vector< PointSource > &pointSources) const |
| Applies a vector of point sources. The point sources are possibly solution dependent. More...
|
|
void | pointSource (PointSource &source, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolume &scv) const |
| Evaluate the point sources (added by addPointSources) for all phases within a given sub-control-volume. More...
|
|
void | pointSourceAtPos (PointSource &pointSource, const GlobalPosition &globalPos) const |
| Evaluate the point sources (added by addPointSources) for all phases within a given sub-control-volume. More...
|
|
template<class MatrixBlock > |
void | addSourceDerivatives (MatrixBlock &block, const Element &element, const FVElementGeometry &fvGeometry, const VolumeVariables &volVars, const SubControlVolume &scv) const |
| Add source term derivative to the Jacobian. More...
|
|
NumEqVector | scvPointSources (const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolume &scv) const |
| Adds contribution of point sources for a specific sub control volume to the values. Caution: Only overload this method in the implementation if you know what you are doing. More...
|
|
void | computePointSourceMap () |
| Compute the point source map, i.e. which scvs have point source contributions. More...
|
|
const PointSourceMap & | pointSourceMap () const |
| Get the point source map. It stores the point sources per scv. More...
|
|
void | applyInitialSolution (SolutionVector &sol) const |
| Applies the initial solution for all degrees of freedom of the grid. More...
|
|
template<class Entity > |
PrimaryVariables | initial (const Entity &entity) const |
| Evaluate the initial value for an element (for cell-centered models) or vertex (for box / vertex-centered models) More...
|
|
template<class ElementSolution > |
Scalar | extrusionFactor (const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const |
| Return how much the domain is extruded at a given sub-control volume. More...
|
|
const GridGeometry & | fvGridGeometry () const |
| The finite volume grid geometry. More...
|
|
const GridGeometry & | gridGeometry () const |
| The finite volume grid geometry. More...
|
|
const std::string & | paramGroup () const |
| The parameter group in which to retrieve runtime parameters. More...
|
|
static constexpr bool | enableInternalDirichletConstraints () |
| If internal Dirichlet contraints are enabled Enables / disables internal (non-boundary) Dirichlet constraints. If this is overloaded to return true, the assembler calls problem.hasInternalDirichletConstraint(element, scv). This means you have to implement the following member function. More...
|
|
Implementation & | asImp_ () |
| Returns the implementation of the problem (i.e. static polymorphism) More...
|
|
const Implementation & | asImp_ () const |
| Returns the implementation of the problem (i.e. static polymorphism) More...
|
|
template<class TypeTag >
static constexpr bool Dumux::FVProblem< TypeTag >::enableInternalDirichletConstraints |
( |
| ) |
|
|
inlinestaticconstexprinherited |
If internal Dirichlet contraints are enabled Enables / disables internal (non-boundary) Dirichlet constraints. If this is overloaded to return true, the assembler calls problem.hasInternalDirichletConstraint(element, scv). This means you have to implement the following member function.
bool hasInternalDirichletConstraint(const Element& element, const SubControlVolume& scv) const;
which returns a bool signifying whether the dof associated with the element/scv pair is contraint. If true is returned for a dof, the assembler calls problem.internalDiririchlet(element, scv). This means you have to additionally implement the following member function
PrimaryVariables internalDiririchlet(const Element& element, const SubControlVolume& scv) const;
which returns the enforced Dirichlet values the dof associated with the element/scv pair.