25#ifndef DUMUX_1P_SINGULARITY_PROBLEM_HH
26#define DUMUX_1P_SINGULARITY_PROBLEM_HH
29#include <dune/grid/uggrid.hh>
31#include <dune/grid/yaspgrid.hh>
40#include "../spatialparams.hh"
43#define GRIDTYPE Dune::YaspGrid<2, Dune::EquidistantOffsetCoordinates<GetPropType<TypeTag, Properties::Scalar>, 2> >
47template <
class TypeTag>
48class OnePSingularityProblem;
59template<
class TypeTag>
67template<
class TypeTag>
71template<
class TypeTag>
75template<
class TypeTag>
97template <
class TypeTag>
106 enum { dimWorld = GridView::dimensionworld };
109 pressureIdx = Indices::pressureIdx
116 using Element =
typename GridGeometry::GridView::template Codim<0>::Entity;
117 using GlobalPosition =
typename Element::Geometry::GlobalCoordinate;
123 name_ = getParam<std::string>(
"Problem.Name");
136 const std::string&
name()
const
147 {
return 273.15 + 10; }
163 BoundaryTypes bcTypes;
164 bcTypes.setAllDirichlet();
202 pointSources.push_back(PointSource(GlobalPosition(0.0), {10}));
213 PrimaryVariables priVars(0.0);
214 priVars[pressureIdx] = 1.0e5;
Defines a type tag and some properties for models using the box scheme.
Properties for all models using cell-centered finite volume scheme with TPFA.
A much simpler (and thus potentially less buggy) version of pure water.
A liquid phase consisting of a single component.
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(....
Definition: propertysystem.hh:149
Base class for all finite-volume problems.
Definition: common/fvproblem.hh:50
const GridGeometry & gridGeometry() const
The finite volume grid geometry.
Definition: common/fvproblem.hh:588
The DUNE grid type.
Definition: common/properties.hh:57
Property to specify the type of a problem which has to be solved.
Definition: common/properties.hh:69
The type of the spatial parameters object.
Definition: common/properties.hh:221
The type of the fluid system to use.
Definition: common/properties.hh:223
A liquid phase consisting of a single component.
Definition: 1pliquid.hh:46
Base class for all fully implicit porous media problems.
Definition: dumux/porousmediumflow/problem.hh:39
The spatial parameters class for the test problem using the 1p model with point sources.
Definition: porousmediumflow/1p/implicit/pointsources/spatialparams.hh:43
Test problem for the one-phase model: Water is injected in a single point in the middle of the domain...
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:99
void addPointSources(std::vector< PointSource > &pointSources) const
Applies a vector of point sources which are possibly solution dependent.
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:199
PrimaryVariables initialAtPos(const GlobalPosition &globalPos) const
Evaluates the initial value for a control volume.
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:211
BoundaryTypes boundaryTypesAtPos(const GlobalPosition &globalPos) const
Specifies which kind of boundary condition should be used for which equation on a given boundary cont...
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:161
const std::string & name() const
The problem name.
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:136
PrimaryVariables dirichletAtPos(const GlobalPosition &globalPos) const
Evaluates the boundary conditions for a Dirichlet control volume.
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:175
OnePSingularityProblem(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:120
Scalar temperature() const
Returns the temperature within the domain in [K].
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:146
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:53
std::tuple< OneP > InheritsFrom
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:53
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:54
std::tuple< OnePSingularity, BoxModel > InheritsFrom
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:54
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:55
std::tuple< OnePSingularity, CCTpfaModel > InheritsFrom
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:55
GetPropType< TypeTag, Properties::Scalar > Scalar
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:62
GRIDTYPE type
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:68
GetPropType< TypeTag, Properties::GridGeometry > GridGeometry
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:78
GetPropType< TypeTag, Properties::Scalar > Scalar
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:79
A single-phase, isothermal flow model using the fully implicit scheme.
Base class for all porous media problems.
#define GRIDTYPE
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:43