www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SpecificEnthalpyAux Class Reference

Computes specific enthalpy from pressure and temperature. More...

#include <SpecificEnthalpyAux.h>

Inheritance diagram for SpecificEnthalpyAux:
[legend]

Public Member Functions

 SpecificEnthalpyAux (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeValue () override
 

Protected Attributes

const VariableValue & _pressure
 
const VariableValue & _temperature
 
const SinglePhaseFluidProperties_fp
 

Detailed Description

Computes specific enthalpy from pressure and temperature.

Definition at line 22 of file SpecificEnthalpyAux.h.

Constructor & Destructor Documentation

SpecificEnthalpyAux::SpecificEnthalpyAux ( const InputParameters &  parameters)

Definition at line 23 of file SpecificEnthalpyAux.C.

24  : AuxKernel(parameters),
25  _pressure(coupledValue("p")),
26  _temperature(coupledValue("T")),
27  _fp(getUserObject<SinglePhaseFluidProperties>("fp"))
28 {
29 }
const VariableValue & _temperature
const VariableValue & _pressure
const SinglePhaseFluidProperties & _fp

Member Function Documentation

Real SpecificEnthalpyAux::computeValue ( )
overrideprotectedvirtual

Definition at line 32 of file SpecificEnthalpyAux.C.

33 {
34  return _fp.h(_pressure[_qp], _temperature[_qp]);
35 }
const VariableValue & _temperature
const VariableValue & _pressure
const SinglePhaseFluidProperties & _fp
virtual Real h(Real p, Real T) const =0
Computes specific enthalpy.

Member Data Documentation

const SinglePhaseFluidProperties& SpecificEnthalpyAux::_fp
protected

Definition at line 33 of file SpecificEnthalpyAux.h.

Referenced by computeValue().

const VariableValue& SpecificEnthalpyAux::_pressure
protected

Definition at line 30 of file SpecificEnthalpyAux.h.

Referenced by computeValue().

const VariableValue& SpecificEnthalpyAux::_temperature
protected

Definition at line 31 of file SpecificEnthalpyAux.h.

Referenced by computeValue().


The documentation for this class was generated from the following files: