22 "mat_porosity>=0 & mat_porosity<=1",
23 "The porosity of the material. Should be between 0 and 1. Eg, 0.1");
26 "An auxillary variable describing porosity changes. " 27 "Porosity = mat_porosity + por_change. If this is not " 28 "provided, zero is used.");
31 "A list of auxillary variable describing permeability " 32 "changes. There must be 9 of these (in 3D), corresponding " 33 "to the xx, xy, xz, yx, yy, yz, zx, zy, zz components " 34 "respectively (in 3D). Permeability = " 35 "mat_permeability*10^(perm_change).");
38 "Gravitational acceleration (m/s^2) as a vector pointing downwards. Eg (0,0,-10)");
44 _material_por(getParam<
Real>(
"mat_porosity")),
45 _por_change(coupledValue(
"por_change")),
46 _por_change_old(isCoupled(
"por_change") ? coupledValueOld(
"por_change") : _zero),
49 _porosity_old(declareProperty<
Real>(
"porosity_old")),
50 _porosity(declareProperty<
Real>(
"porosity")),
53 _perm_change(isCoupled(
"perm_change")
54 ? coupledValues(
"perm_change")
59 " components of perm_change must be given to a Q2PMaterial. You supplied ",
virtual void computeQpProperties()
virtual bool isCoupled(const std::string &var_name, unsigned int i=0) const
const std::vector< const VariableValue * > _perm_change
const VariableValue & _por_change_old
MaterialProperty< Real > & _porosity
static constexpr std::size_t dim
const VariableValue & _por_change
porosity changes. if not entered they default to zero
Q2PMaterial(const InputParameters ¶meters)
TensorValue< Real > RealTensorValue
Real _material_por
porosity as entered by the user
static InputParameters validParams()
registerMooseObject("RichardsApp", Q2PMaterial)
OutputTools< Real >::VariableValue VariableValue
unsigned int coupledComponents(const std::string &var_name) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MaterialProperty< RealTensorValue > & _permeability
MaterialProperty< RealVectorValue > & _gravity
IntRange< T > make_range(T beg, T end)
void mooseError(Args &&... args) const
RealVectorValue _material_gravity
gravity as entered by user
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
static InputParameters validParams()
MaterialProperty< Real > & _porosity_old
material properties
MooseUnits pow(const MooseUnits &, int)
RealTensorValue _material_perm
permeability as entered by the user