www.mooseframework.org
PorousFlowFullySaturatedDarcyFlow.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef POROUSFLOWFULLYSATURATEDDARCYFLOW_H
9 #define POROUSFLOWFULLYSATURATEDDARCYFLOW_H
10 
12 
14 
15 template <>
17 
24 {
25 public:
26  PorousFlowFullySaturatedDarcyFlow(const InputParameters & parameters);
27 
28 protected:
32  virtual Real mobility() const override;
33 
38  virtual Real dmobility(unsigned pvar) const override;
39 
41  const MaterialProperty<std::vector<std::vector<Real>>> & _mfrac;
42 
44  const MaterialProperty<std::vector<std::vector<std::vector<Real>>>> & _dmfrac_dvar;
45 
47  const unsigned int _fluid_component;
48 };
49 
50 #endif // POROUSFLOWFULLYSATURATEDDARCYFLOW_H
virtual Real mobility() const override
The mobility of the fluid = mass_fraction * density / viscosity.
InputParameters validParams< PorousFlowFullySaturatedDarcyFlow >()
Darcy advective flux for a fully-saturated, single-phase, multi-component fluid.
PorousFlowFullySaturatedDarcyFlow(const InputParameters &parameters)
virtual Real dmobility(unsigned pvar) const override
The derivative of the mobility with respect to the porous-flow variable pvar.
Darcy advective flux for a fully-saturated, single phase, single component fluid. ...
const MaterialProperty< std::vector< std::vector< std::vector< Real > > > > & _dmfrac_dvar
Derivative of mass fraction wrt wrt PorousFlow variables.
const unsigned int _fluid_component
The fluid component for this Kernel.
const MaterialProperty< std::vector< std::vector< Real > > > & _mfrac
mass fraction of the components in the phase