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

Compute temperature using fluid properties user object. 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 & _s_volume
 
const VariableValue & _s_internal_energy
 
const SinglePhaseFluidProperties_fp
 

Detailed Description

Compute temperature using fluid properties user object.

Definition at line 25 of file TemperatureAux.h.

Constructor & Destructor Documentation

◆ TemperatureAux()

TemperatureAux::TemperatureAux ( const InputParameters &  parameters)

Definition at line 26 of file TemperatureAux.C.

27  : AuxKernel(parameters),
28  _s_volume(coupledValue("specific_volume")),
29  _s_internal_energy(coupledValue("specific_internal_energy")),
30  _fp(getUserObject<SinglePhaseFluidProperties>("fp"))
31 {
32 }
const SinglePhaseFluidProperties & _fp
const VariableValue & _s_internal_energy
const VariableValue & _s_volume

Member Function Documentation

◆ computeValue()

Real TemperatureAux::computeValue ( )
protectedvirtual

Definition at line 35 of file TemperatureAux.C.

36 {
37  return _fp.T_from_v_e(_s_volume[_qp], _s_internal_energy[_qp]);
38 }
const SinglePhaseFluidProperties & _fp
const VariableValue & _s_internal_energy
virtual Real T_from_v_e(Real v, Real e) const
Temperature from specific volume and specific internal energy.
const VariableValue & _s_volume

Member Data Documentation

◆ _fp

const SinglePhaseFluidProperties& TemperatureAux::_fp
protected

Definition at line 35 of file TemperatureAux.h.

Referenced by computeValue().

◆ _s_internal_energy

const VariableValue& TemperatureAux::_s_internal_energy
protected

Definition at line 34 of file TemperatureAux.h.

Referenced by computeValue().

◆ _s_volume

const VariableValue& TemperatureAux::_s_volume
protected

Definition at line 33 of file TemperatureAux.h.

Referenced by computeValue().


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