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

#include <PressureAux.h>

Inheritance diagram for PressureAux:
[legend]

Public Member Functions

 PressureAux (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

Definition at line 21 of file PressureAux.h.

Constructor & Destructor Documentation

◆ PressureAux()

PressureAux::PressureAux ( const InputParameters &  parameters)

Definition at line 26 of file PressureAux.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 VariableValue & _s_internal_energy
Definition: PressureAux.h:30
const VariableValue & _s_volume
Definition: PressureAux.h:29
const SinglePhaseFluidProperties & _fp
Definition: PressureAux.h:31

Member Function Documentation

◆ computeValue()

Real PressureAux::computeValue ( )
protectedvirtual

Definition at line 35 of file PressureAux.C.

36 {
37  return _fp.p_from_v_e(_s_volume[_qp], _s_internal_energy[_qp]);
38 }
const VariableValue & _s_internal_energy
Definition: PressureAux.h:30
const VariableValue & _s_volume
Definition: PressureAux.h:29
virtual Real p_from_v_e(Real v, Real e) const
Pressure from specific volume and specific internal energy.
const SinglePhaseFluidProperties & _fp
Definition: PressureAux.h:31

Member Data Documentation

◆ _fp

const SinglePhaseFluidProperties& PressureAux::_fp
protected

Definition at line 31 of file PressureAux.h.

Referenced by computeValue().

◆ _s_internal_energy

const VariableValue& PressureAux::_s_internal_energy
protected

Definition at line 30 of file PressureAux.h.

Referenced by computeValue().

◆ _s_volume

const VariableValue& PressureAux::_s_volume
protected

Definition at line 29 of file PressureAux.h.

Referenced by computeValue().


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