19 "fluid_component", 0,
"The index corresponding to the fluid component for this kernel");
20 params.
addClassDescription(
"Darcy flux suitable for models involving a fully-saturated single " 21 "phase, multi-component fluid. No upwinding is used");
28 _mfrac(getMaterialProperty<
std::vector<
std::vector<
Real>>>(
"PorousFlow_mass_frac_qp")),
29 _dmfrac_dvar(getMaterialProperty<
std::vector<
std::vector<
std::vector<
Real>>>>(
30 "dPorousFlow_mass_frac_qp_dvar")),
31 _fluid_component(getParam<unsigned
int>(
"fluid_component"))
36 "The Dictator proclaims that the maximum fluid component index in this simulation is ",
38 " whereas you have used ",
40 ". Remember that indexing starts at 0. Happiness equals perfection.");
46 const unsigned ph = 0;
53 const unsigned ph = 0;
virtual Real dmobility(unsigned pvar) const
The derivative of the mobility with respect to the PorousFlow variable pvar.
Darcy advective flux for a fully-saturated, single-phase, multi-component fluid.
unsigned int numComponents() const
The number of fluid components.
virtual Real mobility() const override
The mobility of the fluid = mass_fraction * density / viscosity.
PorousFlowFullySaturatedDarcyFlow(const InputParameters ¶meters)
void paramError(const std::string ¶m, Args... args) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Darcy advective flux for a fully-saturated, single phase, single component fluid. ...
registerMooseObject("PorousFlowApp", PorousFlowFullySaturatedDarcyFlow)
const MaterialProperty< std::vector< std::vector< std::vector< Real > > > > & _dmfrac_dvar
Derivative of mass fraction wrt wrt PorousFlow variables.
static InputParameters validParams()
const unsigned int _fluid_component
The fluid component for this Kernel.
virtual Real mobility() const
The mobility of the fluid = density / viscosity.
static InputParameters validParams()
const MaterialProperty< std::vector< std::vector< Real > > > & _mfrac
mass fraction of the components in the phase
const PorousFlowDictator & _dictator
PorousFlowDictator UserObject.
virtual Real dmobility(unsigned pvar) const override
The derivative of the mobility with respect to the PorousFlow variable pvar.
void ErrorVector unsigned int