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

Computes pressure from specific volume and specific internal energy. More...

#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 & _v
 
const VariableValue & _e
 
const SinglePhaseFluidProperties_fp
 

Detailed Description

Computes pressure from specific volume and specific internal energy.

Definition at line 15 of file PressureAux.h.

Constructor & Destructor Documentation

◆ PressureAux()

PressureAux::PressureAux ( const InputParameters &  parameters)

Definition at line 19 of file PressureAux.C.

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

Member Function Documentation

◆ computeValue()

Real PressureAux::computeValue ( )
protectedvirtual

Definition at line 28 of file PressureAux.C.

29 {
30  return _fp.p_from_v_e(_v[_qp], _e[_qp]);
31 }
const VariableValue & _v
Definition: PressureAux.h:23
const VariableValue & _e
Definition: PressureAux.h:24
const SinglePhaseFluidProperties & _fp
Definition: PressureAux.h:26

Member Data Documentation

◆ _e

const VariableValue& PressureAux::_e
protected

Definition at line 24 of file PressureAux.h.

Referenced by computeValue().

◆ _fp

const SinglePhaseFluidProperties& PressureAux::_fp
protected

Definition at line 26 of file PressureAux.h.

Referenced by computeValue().

◆ _v

const VariableValue& PressureAux::_v
protected

Definition at line 23 of file PressureAux.h.

Referenced by computeValue().


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