www.mooseframework.org
PorousFlowJoiner.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 POROUSFLOWJOINER_H
9 #define POROUSFLOWJOINER_H
10 
12 
13 // Forward Declarations
14 class PorousFlowJoiner;
15 
16 template <>
17 InputParameters validParams<PorousFlowJoiner>();
18 
38 {
39 public:
40  PorousFlowJoiner(const InputParameters & parameters);
41 
42 protected:
43  virtual void initQpStatefulProperties() override;
44  virtual void computeQpProperties() override;
45 
47  const VariableName _pressure_variable_name;
48 
50  const VariableName _saturation_variable_name;
51 
53  const VariableName _temperature_variable_name;
54 
56  const VariableName _mass_fraction_variable_name;
57 
59  const std::string _pf_prop;
60 
62  const bool _include_old;
63 
65  const MaterialProperty<std::vector<std::vector<Real>>> & _dporepressure_dvar;
66 
68  const MaterialProperty<std::vector<std::vector<Real>>> & _dsaturation_dvar;
69 
71  const MaterialProperty<std::vector<Real>> & _dtemperature_dvar;
72 
74  MaterialProperty<std::vector<Real>> & _property;
75 
77  MaterialProperty<std::vector<std::vector<Real>>> & _dproperty_dvar;
78 
80  std::vector<const MaterialProperty<Real> *> _phase_property;
81 
83  std::vector<const MaterialProperty<Real> *> _dphase_property_dp;
84 
86  std::vector<const MaterialProperty<Real> *> _dphase_property_ds;
87 
89  std::vector<const MaterialProperty<Real> *> _dphase_property_dt;
90 };
91 
92 #endif // POROUSFLOWJOINER_H
std::vector< const MaterialProperty< Real > * > _dphase_property_dt
d(property of each phase)/d(temperature)
MaterialProperty< std::vector< Real > > & _property
computed property of the phase
InputParameters validParams< PorousFlowJoiner >()
const MaterialProperty< std::vector< std::vector< Real > > > & _dporepressure_dvar
Derivatives of porepressure variable wrt PorousFlow variables at the qps or nodes.
std::vector< const MaterialProperty< Real > * > _dphase_property_ds
d(property of each phase)/d(saturation)
const VariableName _mass_fraction_variable_name
Name of (dummy) mass fraction variable.
const std::string _pf_prop
Name of material property to be joined.
Base class for all PorousFlow vector materials.
Material designed to form a std::vector of property and derivatives of these wrt the nonlinear variab...
const VariableName _pressure_variable_name
Name of (dummy) pressure variable.
virtual void initQpStatefulProperties() override
const bool _include_old
Whether to include old variables.
const VariableName _saturation_variable_name
Name of (dummy) saturation variable.
std::vector< const MaterialProperty< Real > * > _phase_property
property of each phase
const VariableName _temperature_variable_name
Name of (dummy) temperature variable.
virtual void computeQpProperties() override
const MaterialProperty< std::vector< Real > > & _dtemperature_dvar
Derivatives of temperature variable wrt PorousFlow variables at the qps or nodes. ...
PorousFlowJoiner(const InputParameters &parameters)
std::vector< const MaterialProperty< Real > * > _dphase_property_dp
d(property of each phase)/d(pressure)
MaterialProperty< std::vector< std::vector< Real > > > & _dproperty_dvar
d(property)/d(PorousFlow variable)
const MaterialProperty< std::vector< std::vector< Real > > > & _dsaturation_dvar
Derivatives of saturation variable wrt PorousFlow variables at the qps or nodes.