www.mooseframework.org
SpecificEnthalpyAux.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 SPECIFICENTHALPYAUX_H
9 #define SPECIFICENTHALPYAUX_H
10 
11 #include "AuxKernel.h"
12 
15 
16 template <>
17 InputParameters validParams<SpecificEnthalpyAux>();
18 
22 class SpecificEnthalpyAux : public AuxKernel
23 {
24 public:
25  SpecificEnthalpyAux(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeValue() override;
29 
30  const VariableValue & _pressure;
31  const VariableValue & _temperature;
32 
34 };
35 
36 #endif /* SPECIFICENTHALPYAUX_H */
Computes specific enthalpy from pressure and temperature.
const VariableValue & _temperature
const VariableValue & _pressure
InputParameters validParams< SpecificEnthalpyAux >()
const SinglePhaseFluidProperties & _fp
virtual Real computeValue() override
Common class for single phase fluid properties.
SpecificEnthalpyAux(const InputParameters &parameters)