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 22 of file NSPressureAux.h.

Constructor & Destructor Documentation

NSPressureAux::NSPressureAux ( const InputParameters &  parameters)

Definition at line 34 of file NSPressureAux.C.

35  : AuxKernel(parameters),
38  _fp(getUserObject<IdealGasFluidProperties>("fluid_properties"))
39 {
40 }
const VariableValue & _specific_volume
Definition: NSPressureAux.h:32
const std::string specific_volume
Definition: NS.h:29
const IdealGasFluidProperties & _fp
Definition: NSPressureAux.h:36
const VariableValue & _internal_energy
Definition: NSPressureAux.h:33
const std::string internal_energy
Definition: NS.h:28
virtual NSPressureAux::~NSPressureAux ( )
inlinevirtual

Definition at line 27 of file NSPressureAux.h.

27 {}

Member Function Documentation

Real NSPressureAux::computeValue ( )
protectedvirtual

Definition at line 43 of file NSPressureAux.C.

Referenced by ~NSPressureAux().

44 {
45  return _fp.pressure(_specific_volume[_qp], _internal_energy[_qp]);
46 }
const VariableValue & _specific_volume
Definition: NSPressureAux.h:32
const IdealGasFluidProperties & _fp
Definition: NSPressureAux.h:36
const VariableValue & _internal_energy
Definition: NSPressureAux.h:33
virtual Real pressure(Real v, Real u) const override
Pressure as a function of specific internal energy and specific volume.

Member Data Documentation

const IdealGasFluidProperties& NSPressureAux::_fp
protected

Definition at line 36 of file NSPressureAux.h.

Referenced by computeValue().

const VariableValue& NSPressureAux::_internal_energy
protected

Definition at line 33 of file NSPressureAux.h.

Referenced by computeValue().

const VariableValue& NSPressureAux::_specific_volume
protected

Definition at line 32 of file NSPressureAux.h.

Referenced by computeValue().


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