24#ifndef TEST1_FVCA6_SPATIALPARAMETERS_HH
25#define TEST1_FVCA6_SPATIALPARAMETERS_HH
35template<
class TypeTag>
47template<
class TypeTag>
62template<
class TypeTag>
70 using CoordScalar =
typename Grid::ctype;
73 {dim=Grid::dimension, dimWorld=Grid::dimensionworld, numEq=1};
74 using Element =
typename Grid::Traits::template Codim<0>::Entity;
76 using GlobalPosition =
typename Element::Geometry::GlobalCoordinate;
77 using FieldMatrix = Dune::FieldMatrix<Scalar, dim, dim>;
97 return materialLawParams_;
104 materialLawParams_.setSwr(0.0);
105 materialLawParams_.setSnr(0.0);
108 materialLawParams_.setEntryPc(0);
109 materialLawParams_.setMaxPc(0);
112 permeability_[0][0] = permeability_[1][1] = permeability_[2][2] = 1.0;
113 permeability_[0][1] = permeability_[1][0] = permeability_[1][2] = permeability_[2][1] = 0.5;
118 FieldMatrix permeability_;
#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
SET_TYPE_PROP(FVPressureOneP, Velocity, FVVelocity1P< TypeTag >)
Set velocity reconstruction implementation standard cell centered finite volume schemes as default.
Type tag TestDiffusionSpatialParams3d
Definition: test_diffusionspatialparams3d.hh:41
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 test problem for diffusion models.
Definition: test_diffusionspatialparams3d.hh:64
typename GET_PROP_TYPE(TypeTag, MaterialLaw) MaterialLaw
Definition: test_diffusionspatialparams3d.hh:80
const FieldMatrix & intrinsicPermeabilityAtPos(const GlobalPosition &globalPos) const
Definition: test_diffusionspatialparams3d.hh:83
typename MaterialLaw::Params MaterialLawParams
Definition: test_diffusionspatialparams3d.hh:81
const MaterialLawParams & materialLawParams(const Element &element) const
Definition: test_diffusionspatialparams3d.hh:95
TestDiffusionSpatialParams3d(const Problem &problem)
Definition: test_diffusionspatialparams3d.hh:100
double porosity(const Element &element) const
Definition: test_diffusionspatialparams3d.hh:88
This material law takes a material law defined for effective saturations and converts it to a materia...