Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
incompressiblePerfectGas Class Reference

Incompressible gas equation of state using a constant reference pressure in the perfect gas equation of state rather than the local pressure so that the density only varies with temperature and composition. More...

Public Member Functions

 incompressiblePerfectGas (const Specie &sp, const scalar pRef)
 
 incompressiblePerfectGas (const dictionary &dict)
 
 incompressiblePerfectGas (const word &name, const incompressiblePerfectGas &)
 
autoPtr< incompressiblePerfectGasclone () const
 
scalar rho (scalar p, scalar T) const
 
scalar H (const scalar p, const scalar T) const
 
scalar Cp (scalar p, scalar T) const
 
scalar E (const scalar p, const scalar T) const
 
scalar Cv (scalar p, scalar T) const
 
scalar S (const scalar p, const scalar T) const
 
scalar psi (scalar p, scalar T) const
 
scalar Z (scalar p, scalar T) const
 
scalar CpMCv (scalar p, scalar T) const
 
void write (Ostream &os) const
 
void operator+= (const incompressiblePerfectGas &)
 
void operator*= (const scalar)
 

Static Public Member Functions

static autoPtr< incompressiblePerfectGasNew (const dictionary &dict)
 
static word typeName ()
 

Static Public Attributes

static const bool incompressible = true
 
static const bool isochoric = false
 

Friends

incompressiblePerfectGas operator+ (const incompressiblePerfectGas &, const incompressiblePerfectGas &)
 
incompressiblePerfectGas operator* (const scalar s, const incompressiblePerfectGas &)
 
incompressiblePerfectGas operator== (const incompressiblePerfectGas &, const incompressiblePerfectGas &)
 
Ostreamoperator (Ostream &, const incompressiblePerfectGas &)
 

Detailed Description

Incompressible gas equation of state using a constant reference pressure in the perfect gas equation of state rather than the local pressure so that the density only varies with temperature and composition.

Source files

Definition at line 51 of file incompressiblePerfectGas.H.

Constructor & Destructor Documentation

◆ incompressiblePerfectGas() [1/3]

incompressiblePerfectGas ( const Specie &  sp,
const scalar  pRef 
)
inline

Definition at line 27 of file incompressiblePerfectGasI.H.

◆ incompressiblePerfectGas() [2/3]

incompressiblePerfectGas ( const dictionary dict)
explicit

Definition at line 28 of file incompressiblePerfectGas.C.

◆ incompressiblePerfectGas() [3/3]

incompressiblePerfectGas ( const word name,
const incompressiblePerfectGas  
)
inline

Member Function Documentation

◆ clone()

Foam::autoPtr< Foam::incompressiblePerfectGas< Specie > > clone ( ) const
inline

Definition at line 51 of file incompressiblePerfectGasI.H.

References Foam::New().

Here is the call graph for this function:

◆ New()

Foam::autoPtr< Foam::incompressiblePerfectGas< Specie > > New ( const dictionary dict)
inlinestatic

Definition at line 60 of file incompressiblePerfectGasI.H.

References dict, and Foam::New().

Here is the call graph for this function:

◆ typeName()

static word typeName ( )
inlinestatic

Definition at line 130 of file incompressiblePerfectGas.H.

◆ rho()

Foam::scalar rho ( scalar  p,
scalar  T 
) const
inline

Definition at line 72 of file incompressiblePerfectGasI.H.

References R, and Foam::T().

Here is the call graph for this function:

◆ H()

Foam::scalar H ( const scalar  p,
const scalar  T 
) const
inline

Definition at line 83 of file incompressiblePerfectGasI.H.

◆ Cp()

Foam::scalar Cp ( scalar  p,
scalar  T 
) const
inline

Definition at line 94 of file incompressiblePerfectGasI.H.

◆ E()

Foam::scalar E ( const scalar  p,
const scalar  T 
) const
inline

Definition at line 105 of file incompressiblePerfectGasI.H.

◆ Cv()

Foam::scalar Cv ( scalar  p,
scalar  T 
) const
inline

Definition at line 116 of file incompressiblePerfectGasI.H.

◆ S()

Foam::scalar S ( const scalar  p,
const scalar  T 
) const
inline

Definition at line 127 of file incompressiblePerfectGasI.H.

◆ psi()

Foam::scalar psi ( scalar  p,
scalar  T 
) const
inline

Definition at line 138 of file incompressiblePerfectGasI.H.

◆ Z()

Foam::scalar Z ( scalar  p,
scalar  T 
) const
inline

Definition at line 149 of file incompressiblePerfectGasI.H.

◆ CpMCv()

Foam::scalar CpMCv ( scalar  p,
scalar  T 
) const
inline

Definition at line 160 of file incompressiblePerfectGasI.H.

◆ write()

void write ( Ostream os) const

Definition at line 40 of file incompressiblePerfectGas.C.

References os(), and Foam::vtk::write().

Here is the call graph for this function:

◆ operator+=()

void operator+= ( const incompressiblePerfectGas )
inline

Definition at line 173 of file incompressiblePerfectGasI.H.

References Foam::mag(), and Y.

Here is the call graph for this function:

◆ operator*=()

void operator*= ( const scalar  s)
inline

Definition at line 191 of file incompressiblePerfectGasI.H.

References s.

Friends And Related Function Documentation

◆ operator+

◆ operator*

incompressiblePerfectGas operator* ( const scalar  s,
const incompressiblePerfectGas  
)
friend

◆ operator==

◆ operator

Ostream& operator ( Ostream ,
const incompressiblePerfectGas  
)
friend

Member Data Documentation

◆ incompressible

const bool incompressible = true
static

Definition at line 141 of file incompressiblePerfectGas.H.

◆ isochoric

const bool isochoric = false
static

Definition at line 144 of file incompressiblePerfectGas.H.


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