www.mooseframework.org
FluidPropertiesMaterial.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 FLUIDPROPERTIESMATERIAL_H
9 #define FLUIDPROPERTIESMATERIAL_H
10 
11 #include "Material.h"
12 
15 
16 template <>
17 InputParameters validParams<FluidPropertiesMaterial>();
18 
22 class FluidPropertiesMaterial : public Material
23 {
24 public:
25  FluidPropertiesMaterial(const InputParameters & parameters);
26  virtual ~FluidPropertiesMaterial();
27 
28 protected:
29  virtual void computeQpProperties() override;
30 
32  const VariableValue & _e;
34  const VariableValue & _v;
36  MaterialProperty<Real> & _p;
38  MaterialProperty<Real> & _T;
40  MaterialProperty<Real> & _c;
42  MaterialProperty<Real> & _cp;
44  MaterialProperty<Real> & _cv;
46  MaterialProperty<Real> & _mu;
48  MaterialProperty<Real> & _k;
50  MaterialProperty<Real> & _g;
51 
54 };
55 
56 #endif /* FLUIDPROPERTIESMATERIAL_H */
MaterialProperty< Real > & _mu
Dynamic viscosity.
MaterialProperty< Real > & _cp
Isobaric specific heat capacity.
InputParameters validParams< FluidPropertiesMaterial >()
MaterialProperty< Real > & _p
Pressure.
MaterialProperty< Real > & _k
Thermal conductivity.
Computes fluid properties using (u, v) formulation.
const VariableValue & _v
Specific volume.
MaterialProperty< Real > & _T
Temperature.
const SinglePhaseFluidProperties & _fp
Fluid properties.
FluidPropertiesMaterial(const InputParameters &parameters)
Common class for single phase fluid properties.
MaterialProperty< Real > & _g
Gibbs free energy.
MaterialProperty< Real > & _cv
Isochoric specific heat capacity.
const VariableValue & _e
Specific internal energy.
virtual void computeQpProperties() override
MaterialProperty< Real > & _c
Speed of sound.