www.mooseframework.org
PorousFlowBrine.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 POROUSFLOWBRINE_H
9 #define POROUSFLOWBRINE_H
10 
12 #include "BrineFluidProperties.h"
13 
14 class PorousFlowBrine;
15 
16 template <>
17 InputParameters validParams<PorousFlowBrine>();
18 
24 {
25 public:
26  PorousFlowBrine(const InputParameters & parameters);
27 
28 protected:
29  virtual void initQpStatefulProperties() override;
30  virtual void computeQpProperties() override;
31 
33  const bool _compute_rho_mu;
34 
37 
39  const bool _compute_enthalpy;
40 
42  MaterialProperty<Real> * const _density;
43 
45  MaterialProperty<Real> * const _ddensity_dp;
46 
48  MaterialProperty<Real> * const _ddensity_dT;
49 
51  MaterialProperty<Real> * const _viscosity;
52 
54  MaterialProperty<Real> * const _dviscosity_dp;
55 
57  MaterialProperty<Real> * const _dviscosity_dT;
58 
60  MaterialProperty<Real> * const _internal_energy;
61 
63  MaterialProperty<Real> * const _dinternal_energy_dp;
64 
66  MaterialProperty<Real> * const _dinternal_energy_dT;
67 
69  MaterialProperty<Real> * const _enthalpy;
70 
72  MaterialProperty<Real> * const _denthalpy_dp;
73 
75  MaterialProperty<Real> * const _denthalpy_dT;
76 
79 
82 
84  const VariableValue & _xnacl;
85 };
86 
87 #endif // POROUSFLOWBRINE_H
MaterialProperty< Real > *const _dviscosity_dp
Derivative of fluid phase viscosity wrt pressure at the nodes or qps.
MaterialProperty< Real > *const _denthalpy_dp
Derivative of fluid enthalpy wrt phase pore pressure at the qps or nodes.
MaterialProperty< Real > *const _dviscosity_dT
Derivative of fluid phase viscosity wrt temperature at the nodes or qps.
InputParameters validParams< PorousFlowBrine >()
const BrineFluidProperties * _brine_fp
Brine Fluid properties UserObject.
virtual void initQpStatefulProperties() override
MaterialProperty< Real > *const _ddensity_dp
Derivative of fluid density wrt phase pore pressure at the qps or nodes.
const bool _compute_enthalpy
If true, this Material will compute enthalpy and its derivatives.
Brine (NaCl in H2O) fluid properties as a function of pressure (Pa), temperature (K) and NaCl mass fr...
MaterialProperty< Real > *const _denthalpy_dT
Derivative of fluid enthalpy wrt temperature at the qps or nodes.
Common class for single phase fluid properties using a pressure and temperature formulation.
MaterialProperty< Real > *const _viscosity
Fluid phase viscosity at the nodes or qps.
const SinglePhaseFluidPropertiesPT * _water_fp
Water Fluid properties UserObject.
MaterialProperty< Real > *const _dinternal_energy_dT
Derivative of fluid internal_energy wrt temperature at the qps or nodes.
PorousFlowBrine(const InputParameters &parameters)
const bool _compute_rho_mu
If true, this Material will compute density and viscosity, and their derivatives. ...
Base class for fluid properties materials.
Fluid properties of Brine.
const bool _compute_internal_energy
If true, this Material will compute internal energy and its derivatives.
MaterialProperty< Real > *const _internal_energy
Fluid phase internal_energy at the qps or nodes.
virtual void computeQpProperties() override
MaterialProperty< Real > *const _ddensity_dT
Derivative of fluid density wrt temperature at the qps or nodes.
MaterialProperty< Real > *const _density
Fluid phase density at the qps or nodes.
MaterialProperty< Real > *const _dinternal_energy_dp
Derivative of fluid internal_energy wrt phase pore pressure at the qps or nodes.
const VariableValue & _xnacl
NaCl mass fraction at the qps or nodes.
MaterialProperty< Real > *const _enthalpy
Fluid phase enthalpy at the qps or nodes.