Go to the documentation of this file.
19 params.addParam<
unsigned int>(
20 "fluid_component", 0,
"The index corresponding to the fluid component for this kernel");
21 params.addClassDescription(
"Darcy flux suitable for models involving a fully-saturated single "
22 "phase, multi-component fluid. No upwinding is used");
27 const InputParameters & parameters)
29 _mfrac(getMaterialProperty<std::vector<std::vector<Real>>>(
"PorousFlow_mass_frac_qp")),
30 _dmfrac_dvar(getMaterialProperty<std::vector<std::vector<std::vector<Real>>>>(
31 "dPorousFlow_mass_frac_qp_dvar")),
32 _fluid_component(getParam<unsigned int>(
"fluid_component"))
37 "The Dictator proclaims that the maximum fluid component index in this simulation is ",
39 " whereas you have used ",
41 ". Remember that indexing starts at 0. Happiness equals perfection.");
47 const unsigned ph = 0;
54 const unsigned ph = 0;
registerMooseObject("PorousFlowApp", PorousFlowFullySaturatedDarcyFlow)
const MaterialProperty< std::vector< std::vector< Real > > > & _mfrac
mass fraction of the components in the phase
InputParameters validParams< PorousFlowFullySaturatedDarcyFlow >()
virtual Real mobility() const
The mobility of the fluid = density / viscosity.
PorousFlowFullySaturatedDarcyFlow(const InputParameters ¶meters)
Darcy advective flux for a fully-saturated, single-phase, multi-component fluid.
const PorousFlowDictator & _dictator
PorousFlowDictator UserObject.
Darcy advective flux for a fully-saturated, single phase, single component fluid.
unsigned int numComponents() const
The number of fluid components.
InputParameters validParams< PorousFlowFullySaturatedDarcyBase >()
const MaterialProperty< std::vector< std::vector< std::vector< Real > > > > & _dmfrac_dvar
Derivative of mass fraction wrt wrt PorousFlow variables.
virtual Real dmobility(unsigned pvar) const override
The derivative of the mobility with respect to the PorousFlow variable pvar.
virtual Real dmobility(unsigned pvar) const
The derivative of the mobility with respect to the PorousFlow variable pvar.
const unsigned int _fluid_component
The fluid component for this Kernel.
virtual Real mobility() const override
The mobility of the fluid = mass_fraction * density / viscosity.