Go to the documentation of this file.
19 params.addClassDescription(
20 "Computes the advective flux of fluid of given phase, assuming unsaturated conditions. "
21 "Hence this UserObject is only relevant to single-phase situations, or multi-phase "
22 "situations where each fluid component appears in one phase only. Explicitly, the "
23 "UserObject computes (density * relative_permeability / viscosity) * (- permeability * "
24 "(grad(P) - density * gravity)), using the Kuzmin-Turek FEM-TVD multidimensional "
25 "stabilization scheme");
30 const InputParameters & parameters)
32 _relative_permeability(
33 getMaterialProperty<std::vector<Real>>(
"PorousFlow_relative_permeability_nodal")),
34 _drelative_permeability_dvar(getMaterialProperty<std::vector<std::vector<Real>>>(
35 "dPorousFlow_relative_permeability_nodal_dvar"))
virtual Real computedU_dvar(unsigned i, unsigned pvar) const override
Compute d(u)/d(porous_flow_variable)
virtual Real computeU(unsigned i) const override
Computes the value of u at the local node id of the current element (_current_elem)
InputParameters validParams< PorousFlowAdvectiveFluxCalculatorUnsaturated >()
virtual Real computedU_dvar(unsigned i, unsigned pvar) const override
Compute d(u)/d(porous_flow_variable)
PorousFlowAdvectiveFluxCalculatorUnsaturated(const InputParameters ¶meters)
Computes the advective flux of fluid of given phase, assuming fully-saturated conditions.
InputParameters validParams< PorousFlowAdvectiveFluxCalculatorSaturated >()
Computes the advective flux of fluid of given phase, assuming unsaturated conditions.
registerMooseObject("PorousFlowApp", PorousFlowAdvectiveFluxCalculatorUnsaturated)
const MaterialProperty< std::vector< std::vector< Real > > > & _drelative_permeability_dvar
Derivative of relative permeability of each phase wrt PorousFlow variables.
const unsigned int _phase
The phase.
const MaterialProperty< std::vector< Real > > & _relative_permeability
Relative permeability of each phase.
virtual Real computeU(unsigned i) const override
Computes the value of u at the local node id of the current element (_current_elem)