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

Nodal auxiliary variable, for computing pressure at the nodes. More...

#include <NSPressureAux.h>

Inheritance diagram for NSPressureAux:
[legend]

Public Member Functions

 NSPressureAux (const InputParameters &parameters)
 
virtual ~NSPressureAux ()
 

Protected Member Functions

virtual Real computeValue ()
 

Protected Attributes

const VariableValue & _specific_volume
 
const VariableValue & _internal_energy
 
const IdealGasFluidProperties_fp
 

Detailed Description

Nodal auxiliary variable, for computing pressure at the nodes.

Definition at line 25 of file NSPressureAux.h.

Constructor & Destructor Documentation

◆ NSPressureAux()

NSPressureAux::NSPressureAux ( const InputParameters &  parameters)

Definition at line 38 of file NSPressureAux.C.

39  : AuxKernel(parameters),
42  _fp(getUserObject<IdealGasFluidProperties>("fluid_properties"))
43 {
44 }
const VariableValue & _specific_volume
Definition: NSPressureAux.h:35
const std::string specific_volume
Definition: NS.h:31
const IdealGasFluidProperties & _fp
Definition: NSPressureAux.h:39
const VariableValue & _internal_energy
Definition: NSPressureAux.h:36
const std::string internal_energy
Definition: NS.h:30

◆ ~NSPressureAux()

virtual NSPressureAux::~NSPressureAux ( )
inlinevirtual

Definition at line 30 of file NSPressureAux.h.

30 {}

Member Function Documentation

◆ computeValue()

Real NSPressureAux::computeValue ( )
protectedvirtual

Definition at line 47 of file NSPressureAux.C.

48 {
50 }
virtual Real p_from_v_e(Real v, Real e) const override
Pressure from specific volume and specific internal energy.
const VariableValue & _specific_volume
Definition: NSPressureAux.h:35
const IdealGasFluidProperties & _fp
Definition: NSPressureAux.h:39
const VariableValue & _internal_energy
Definition: NSPressureAux.h:36

Member Data Documentation

◆ _fp

const IdealGasFluidProperties& NSPressureAux::_fp
protected

Definition at line 39 of file NSPressureAux.h.

Referenced by computeValue().

◆ _internal_energy

const VariableValue& NSPressureAux::_internal_energy
protected

Definition at line 36 of file NSPressureAux.h.

Referenced by computeValue().

◆ _specific_volume

const VariableValue& NSPressureAux::_specific_volume
protected

Definition at line 35 of file NSPressureAux.h.

Referenced by computeValue().


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