27#ifndef DUMUX_ONEP_FRACTURE_TEST_PROBLEM_HH
28#define DUMUX_ONEP_FRACTURE_TEST_PROBLEM_HH
31#include <dune/foamgrid/foamgrid.hh>
46template <
class TypeTag>
59template<
class TypeTag>
61template<
class TypeTag>
62struct EnableGridVolumeVariablesCache<TypeTag, TTag::Fracture> {
static constexpr bool value =
true; };
63template<
class TypeTag>
64struct EnableGridFluxVariablesCache<TypeTag, TTag::Fracture> {
static constexpr bool value =
true; };
68template<
class TypeTag>
69struct Grid<TypeTag,
TTag::Fracture> {
using type = Dune::FoamGrid<2, 3>; };
73template<
class TypeTag>
77template<
class TypeTag>
84template<
class TypeTag>
101template <
class TypeTag>
108 enum { dimWorld = GridView::dimensionworld };
112 pressureIdx = Indices::pressureIdx
118 using Element =
typename GridView::template Codim<0>::Entity;
119 using GlobalPosition =
typename Element::Geometry::GlobalCoordinate;
139 const std::string&
name()
const
150 {
return 273.15 + 20; }
167 BoundaryTypes values;
169 values.setAllNeumann();
171 if (globalPos[0] > gg.bBoxMax()[0] - eps_ || globalPos[0] < gg.bBoxMin()[0] + eps_)
172 values.setAllDirichlet();
203 PrimaryVariables values(0.0);
205 values[pressureIdx] = 1.0e5*(globalPos[0] - gg.bBoxMin()[0])/(gg.bBoxMax()[0] - gg.bBoxMin()[0]) + 1.0e5;
211 static constexpr Scalar eps_ = 1.5e-7;
Defines a type tag and some properties for models using the box scheme.
Properties for all models using cell-centered finite volume scheme with mpfa.
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.
T getParam(Args &&... args)
A free function to get a parameter from the parameter tree singleton.
Definition parameters.hh:428
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
Definition common/properties.hh:47
Type tag for numeric models.
Definition grid.hh:35
const GridGeometry & gridGeometry() const
The finite volume grid geometry.
Definition common/fvproblem.hh:588
The DUNE grid type.
Definition common/properties.hh:57
UndefinedProperty type
Definition common/properties.hh:57
Property to specify the type of a problem which has to be solved.
Definition common/properties.hh:69
Definition common/properties.hh:169
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
Exact solution 1D-3D.
Definition test/porousmediumflow/2p/implicit/fracture/problem.hh:109
FractureProblem(std::shared_ptr< const GridGeometry > gridGeometry)
Definition test/porousmediumflow/1p/implicit/fracture2d3d/problem.hh:123
Scalar temperature() const
Returns the temperature .
Definition test/porousmediumflow/1p/implicit/fracture2d3d/problem.hh:149
const std::string & name() const
Returns the problem name.
Definition test/porousmediumflow/1p/implicit/fracture2d3d/problem.hh:139
PrimaryVariables dirichletAtPos(const GlobalPosition &globalPos) const
Evaluates the boundary conditions for a Dirichlet boundary segment.
Definition test/porousmediumflow/1p/implicit/fracture2d3d/problem.hh:183
BoundaryTypes boundaryTypesAtPos(const GlobalPosition &globalPos) const
Specifies which kind of boundary condition should be used for which equation on a given boundary segm...
Definition test/porousmediumflow/1p/implicit/fracture2d3d/problem.hh:165
PrimaryVariables initialAtPos(const GlobalPosition &globalPos) const
Evaluates the initial value for a control volume.
Definition problem_fracture.hh:272
Definition problem_fracture.hh:51
std::tuple< OneP, CCTpfaModel > InheritsFrom
Definition problem_fracture.hh:51
FractureProblem< TypeTag > type
Definition problem_fracture.hh:73
FluidSystems::OnePLiquid< Scalar, Components::Constant< 1, Scalar > > type
Definition problem_fracture.hh:80
GetPropType< TypeTag, Properties::Scalar > Scalar
Definition problem_fracture.hh:79
GetPropType< TypeTag, Properties::Scalar > Scalar
Definition test/porousmediumflow/1p/implicit/fracture2d3d/problem.hh:88
MatrixFractureSpatialParams< GetPropType< TypeTag, Properties::GridGeometry >, GetPropType< TypeTag, Properties::Scalar > > type
Definition problem_fracture.hh:91
GetPropType< TypeTag, Properties::GridGeometry > GridGeometry
Definition test/porousmediumflow/1p/implicit/fracture2d3d/problem.hh:87
Definition test/porousmediumflow/1p/implicit/fracture2d3d/problem.hh:53
std::tuple< Fracture, BoxModel > InheritsFrom
Definition test/porousmediumflow/1p/implicit/fracture2d3d/problem.hh:53
Definition test/porousmediumflow/1p/implicit/fracture2d3d/problem.hh:54
std::tuple< Fracture, CCTpfaModel > InheritsFrom
Definition test/porousmediumflow/1p/implicit/fracture2d3d/problem.hh:54
Definition test/porousmediumflow/1p/implicit/fracture2d3d/problem.hh:55
std::tuple< Fracture, CCMpfaModel > InheritsFrom
Definition test/porousmediumflow/1p/implicit/fracture2d3d/problem.hh:55
The spatial parameters for the LensProblem which uses the two-phase fully implicit model.
Definition porousmediumflow/1p/implicit/fracture2d3d/spatialparams.hh:43
A single-phase, isothermal flow model using the fully implicit scheme.
Base class for all porous media problems.
The spatial parameters for the LensProblem which uses the two-phase fully implicit model.