www.mooseframework.org
PorousFlowFluidPropertiesBase.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "PorousFlowMaterialBase.h"
13 #include "PorousFlowDictator.h"
14 
16 
17 template <>
19 
25 {
26 public:
27  PorousFlowFluidPropertiesBase(const InputParameters & parameters);
28 
29 protected:
30  virtual void computeQpProperties() override;
31 
33  const MaterialProperty<std::vector<Real>> & _porepressure;
34 
36  const MaterialProperty<Real> & _temperature;
37 
39  const Real _t_c2k;
40 
42  const Real _R;
43 };
44 
PorousFlowDictator.h
PorousFlowFluidPropertiesBase::computeQpProperties
virtual void computeQpProperties() override
Definition: PorousFlowFluidPropertiesBase.C:38
validParams< PorousFlowFluidPropertiesBase >
InputParameters validParams< PorousFlowFluidPropertiesBase >()
Definition: PorousFlowFluidPropertiesBase.C:14
PorousFlowFluidPropertiesBase::_t_c2k
const Real _t_c2k
Conversion from degrees Celsius to degrees Kelvin.
Definition: PorousFlowFluidPropertiesBase.h:39
PorousFlowFluidPropertiesBase::_porepressure
const MaterialProperty< std::vector< Real > > & _porepressure
Pore pressure at the nodes or quadpoints.
Definition: PorousFlowFluidPropertiesBase.h:33
PorousFlowFluidPropertiesBase::_R
const Real _R
Universal gas constant.
Definition: PorousFlowFluidPropertiesBase.h:42
PorousFlowFluidPropertiesBase
Base class for fluid properties materials.
Definition: PorousFlowFluidPropertiesBase.h:24
PorousFlowMaterialBase.h
PorousFlowFluidPropertiesBase::_temperature
const MaterialProperty< Real > & _temperature
Fluid temperature at the nodes or quadpoints.
Definition: PorousFlowFluidPropertiesBase.h:36
PorousFlowFluidPropertiesBase::PorousFlowFluidPropertiesBase
PorousFlowFluidPropertiesBase(const InputParameters &parameters)
Definition: PorousFlowFluidPropertiesBase.C:25
PorousFlowMaterialBase
Base class for all PorousFlow materials that provide phase-dependent properties.
Definition: PorousFlowMaterialBase.h:27