www.mooseframework.org
PorousFlowFluidPropertiesBase.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 POROUSFLOWFLUIDPROPERTIESBASE_H
9 #define POROUSFLOWFLUIDPROPERTIESBASE_H
10 
11 #include "PorousFlowMaterialBase.h"
12 #include "PorousFlowDictator.h"
13 
15 
16 template <>
18 
24 {
25 public:
26  PorousFlowFluidPropertiesBase(const InputParameters & parameters);
27 
28 protected:
29  virtual void computeQpProperties() override;
30 
32  const MaterialProperty<std::vector<Real>> & _porepressure;
33 
35  const MaterialProperty<Real> & _temperature;
36 
38  const VariableName _pressure_variable_name;
39 
41  const VariableName _temperature_variable_name;
42 
44  const Real _t_c2k;
45 
47  const Real _R;
48 };
49 
50 #endif // POROUSFLOWFLUIDPROPERTIESBASE_H
const VariableName _temperature_variable_name
Name of (dummy) temperature primary variable.
const VariableName _pressure_variable_name
Name of (dummy) pressure primary variable.
InputParameters validParams< PorousFlowFluidPropertiesBase >()
const Real _R
Universal gas constant.
Base class for all PorousFlow materials that provide phase-dependent properties.
Base class for fluid properties materials.
PorousFlowFluidPropertiesBase(const InputParameters &parameters)
const MaterialProperty< Real > & _temperature
Fluid temperature at the nodes or quadpoints.
const Real _t_c2k
Conversion from degrees Celsius to degrees Kelvin.
const MaterialProperty< std::vector< Real > > & _porepressure
Pore pressure at the nodes or quadpoints.