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

Computes saturation temperature from pressure and 2-phase fluid properties object. More...

#include <SaturationTemperatureAux.h>

Inheritance diagram for SaturationTemperatureAux:
[legend]

Public Member Functions

 SaturationTemperatureAux (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeValue ()
 

Protected Attributes

const VariableValue & _p
 Pressure at which to evaluate saturation temperature. More...
 
const TwoPhaseFluidProperties_fp_2phase
 2-phase fluid properties object More...
 

Detailed Description

Computes saturation temperature from pressure and 2-phase fluid properties object.

Definition at line 24 of file SaturationTemperatureAux.h.

Constructor & Destructor Documentation

◆ SaturationTemperatureAux()

SaturationTemperatureAux::SaturationTemperatureAux ( const InputParameters &  parameters)

Definition at line 31 of file SaturationTemperatureAux.C.

32  : AuxKernel(parameters),
33 
34  _p(coupledValue("p")),
35  _fp_2phase(getUserObject<TwoPhaseFluidProperties>("fp_2phase"))
36 {
37 }
const TwoPhaseFluidProperties & _fp_2phase
2-phase fluid properties object
const VariableValue & _p
Pressure at which to evaluate saturation temperature.

Member Function Documentation

◆ computeValue()

Real SaturationTemperatureAux::computeValue ( )
protectedvirtual

Definition at line 40 of file SaturationTemperatureAux.C.

41 {
42  return _fp_2phase.T_sat(_p[_qp]);
43 }
virtual Real T_sat(Real p) const =0
Computes the saturation temperature at a pressure.
const TwoPhaseFluidProperties & _fp_2phase
2-phase fluid properties object
const VariableValue & _p
Pressure at which to evaluate saturation temperature.

Member Data Documentation

◆ _fp_2phase

const TwoPhaseFluidProperties& SaturationTemperatureAux::_fp_2phase
protected

2-phase fluid properties object

Definition at line 35 of file SaturationTemperatureAux.h.

Referenced by computeValue().

◆ _p

const VariableValue& SaturationTemperatureAux::_p
protected

Pressure at which to evaluate saturation temperature.

Definition at line 33 of file SaturationTemperatureAux.h.

Referenced by computeValue().


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