24#ifndef TEST_2P2C_SPATIALPARAMS_HH
25#define TEST_2P2C_SPATIALPARAMS_HH
35template<
class TypeTag>
47template<
class TypeTag>
62template<
class TypeTag>
69 enum { dim = GridView::dimension };
70 using Element =
typename GridView::Traits::template Codim<0>::Entity;
72 using FieldMatrix = Dune::FieldMatrix<Scalar, dim, dim>;
80 return constPermeability_;
92 return materialLawParams_;
100 materialLawParams_.setSwr(0);
101 materialLawParams_.setSnr(0);
103 materialLawParams_.setEntryPc(0);
104 materialLawParams_.setMaxPc(10000);
106 for(
int i = 0; i < dim; i++)
108 constPermeability_[i][i] = 1e-12;
114 FieldMatrix constPermeability_;
#define GET_PROP_TYPE(TypeTag, PropTagName)
Definition: propertysystemmacros.hh:283
#define NEW_TYPE_TAG(...)
Definition: propertysystemmacros.hh:130
Linear capillary pressure and relative permeability <-> saturation relations.
The base class for spatial parameters of problems using the fv method.
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Type tag Test2P2CSpatialParams
Definition: test_dec2p2c_spatialparams.hh:41
SET_TYPE_PROP(FVPressureOneP, Velocity, FVVelocity1P< TypeTag >)
Set velocity reconstruction implementation standard cell centered finite volume schemes as default.
The type of the spatial parameters object.
Definition: common/properties.hh:221
This material law takes a material law defined for effective saturations and converts it to a materia...
Definition: 2p/efftoabslaw.hh:60
Linear capillary pressure and relative permeability <-> saturation relations.
Definition: linearmaterial.hh:48
Definition: sequentialfv.hh:34
The base class for spatial parameters of a multi-phase problem using the fv method.
Definition: sequentialfv.hh:43
spatial parameters for the sequential 2p2c test
Definition: test_dec2p2c_spatialparams.hh:64
const MaterialLawParams & materialLawParams(const Element &element) const
Definition: test_dec2p2c_spatialparams.hh:90
typename MaterialLaw::Params MaterialLawParams
Definition: test_dec2p2c_spatialparams.hh:76
double porosity(const Element &element) const
Definition: test_dec2p2c_spatialparams.hh:83
typename GET_PROP_TYPE(TypeTag, MaterialLaw) MaterialLaw
Definition: test_dec2p2c_spatialparams.hh:75
Test2P2CSpatialParams(const Problem &problem)
Definition: test_dec2p2c_spatialparams.hh:96
const FieldMatrix & intrinsicPermeability(const Element &element) const
Definition: test_dec2p2c_spatialparams.hh:78
Defines the properties required for the sequential 2p2c models.
This material law takes a material law defined for effective saturations and converts it to a materia...