www.mooseframework.org
PorousFlowHeatAdvection.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 POROUSFLOWHEATADVECTION_H
9 #define POROUSFLOWHEATADVECTION_H
10 
11 #include "PorousFlowDarcyBase.h"
12 
14 
15 template <>
16 InputParameters validParams<PorousFlowHeatAdvection>();
17 
24 {
25 public:
26  PorousFlowHeatAdvection(const InputParameters & parameters);
27 
28 protected:
29  virtual Real mobility(unsigned nodenum, unsigned phase) const override;
30  virtual Real dmobility(unsigned nodenum, unsigned phase, unsigned pvar) const override;
31 
33  const MaterialProperty<std::vector<Real>> & _enthalpy;
34 
36  const MaterialProperty<std::vector<std::vector<Real>>> & _denthalpy_dvar;
37 
39  const MaterialProperty<std::vector<Real>> & _relative_permeability;
40 
42  const MaterialProperty<std::vector<std::vector<Real>>> & _drelative_permeability_dvar;
43 };
44 
45 #endif // POROUSFLOWHEATADVECTION_H
Darcy advective flux.
virtual Real dmobility(unsigned nodenum, unsigned phase, unsigned pvar) const override
The derivative of mobility with respect to PorousFlow variable pvar.
const MaterialProperty< std::vector< Real > > & _enthalpy
Enthalpy of each phase.
const MaterialProperty< std::vector< std::vector< Real > > > & _drelative_permeability_dvar
Derivative of relative permeability of each phase wrt PorousFlow variables.
InputParameters validParams< PorousFlowHeatAdvection >()
const MaterialProperty< std::vector< Real > > & _relative_permeability
Relative permeability of each phase.
Advection of heat via flux of component k in fluid phase alpha.
PorousFlowHeatAdvection(const InputParameters &parameters)
virtual Real mobility(unsigned nodenum, unsigned phase) const override
The mobility of the fluid.
const MaterialProperty< std::vector< std::vector< Real > > > & _denthalpy_dvar
Derivative of the enthalpy wrt PorousFlow variables.