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

Compute temperature values from specific volume and internal energy. More...

#include <TemperatureAux.h>

Inheritance diagram for TemperatureAux:
[legend]

Public Member Functions

 TemperatureAux (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeValue ()
 

Protected Attributes

const VariableValue & _v
 
const VariableValue & _e
 
const SinglePhaseFluidProperties_fp
 

Detailed Description

Compute temperature values from specific volume and internal energy.

Definition at line 15 of file TemperatureAux.h.

Constructor & Destructor Documentation

◆ TemperatureAux()

TemperatureAux::TemperatureAux ( const InputParameters &  parameters)

Definition at line 19 of file TemperatureAux.C.

20  : AuxKernel(parameters),
21  _v(coupledValue("v")),
22  _e(coupledValue("e")),
23  _fp(getUserObject<SinglePhaseFluidProperties>("fp"))
24 {
25 }
const SinglePhaseFluidProperties & _fp
const VariableValue & _v
const VariableValue & _e

Member Function Documentation

◆ computeValue()

Real TemperatureAux::computeValue ( )
protectedvirtual

Definition at line 28 of file TemperatureAux.C.

29 {
30  return _fp.T_from_v_e(_v[_qp], _e[_qp]);
31 }
const SinglePhaseFluidProperties & _fp
const VariableValue & _v
const VariableValue & _e

Member Data Documentation

◆ _e

const VariableValue& TemperatureAux::_e
protected

Definition at line 24 of file TemperatureAux.h.

Referenced by computeValue().

◆ _fp

const SinglePhaseFluidProperties& TemperatureAux::_fp
protected

Definition at line 26 of file TemperatureAux.h.

Referenced by computeValue().

◆ _v

const VariableValue& TemperatureAux::_v
protected

Definition at line 23 of file TemperatureAux.h.

Referenced by computeValue().


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