OpenFOAM logo
Open Source CFD Toolkit

perfectGas Class Reference

Inheritance diagram for perfectGas:

Inheritance graph
[legend]
Collaboration diagram for perfectGas:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 perfectGas (const specie &sp)
 Construct from components.
 perfectGas (Istream &)
 Construct from Istream.
 perfectGas (const word &name, const perfectGas &)
 Construct as named copy.
autoPtr< perfectGasclone () const
 Construct and return a clone.
scalar rho (scalar p, scalar T) const
 Return density [kg/m^3].
scalar psi (scalar p, scalar T) const
 Return compressibility rho/p [s^2/m^2].
scalar Z (scalar p, scalar T) const
 Return compression factor [].
void operator+= (const perfectGas &)
void operator-= (const perfectGas &)
void operator *= (const scalar)

Static Public Member Functions

autoPtr< perfectGasNew (Istream &is)

Friends

perfectGas operator+ (const perfectGas &, const perfectGas &)
perfectGas operator- (const perfectGas &, const perfectGas &)
perfectGas operator * (const scalar s, const perfectGas &)
perfectGas operator== (const perfectGas &, const perfectGas &)
Ostreamoperator<< (Ostream &, const perfectGas &)

Constructor & Destructor Documentation

perfectGas const specie sp  )  [inline]
 

Construct from components.

Definition at line 49 of file perfectGasI.H.

References Foam::name().

Referenced by perfectGas::clone(), and perfectGas::perfectGas().

Here is the call graph for this function:

perfectGas Istream  ) 
 

Construct from Istream.

perfectGas const word name,
const perfectGas
[inline]
 

Construct as named copy.

Definition at line 60 of file perfectGasI.H.

References perfectGas::perfectGas().

Here is the call graph for this function:


Member Function Documentation

autoPtr< perfectGas > clone  )  const [inline]
 

Construct and return a clone.

Reimplemented in Reaction< reactionThermo >, and sutherlandTransport< specieThermo< janafThermo< perfectGas > > >.

Definition at line 67 of file perfectGasI.H.

References perfectGas::perfectGas().

Here is the call graph for this function:

autoPtr< perfectGas > New Istream is  )  [inline, static]
 

Reimplemented in sutherlandTransport< specieThermo< janafThermo< perfectGas > > >.

Definition at line 74 of file perfectGasI.H.

References p, and specie::R().

Here is the call graph for this function:

void operator *= const   scalar  )  [inline]
 

Reimplemented from specie.

Reimplemented in janafThermo< perfectGas >, and specieThermo< janafThermo< perfectGas > >.

Definition at line 113 of file perfectGasI.H.

void operator+= const perfectGas  )  [inline]
 

Definition at line 103 of file perfectGasI.H.

void operator-= const perfectGas  )  [inline]
 

Definition at line 108 of file perfectGasI.H.

scalar psi scalar  p,
scalar  T
const [inline]
 

Return compressibility rho/p [s^2/m^2].

Definition at line 89 of file perfectGasI.H.

scalar rho scalar  p,
scalar  T
const [inline]
 

Return density [kg/m^3].

Definition at line 83 of file perfectGasI.H.

scalar Z scalar  p,
scalar  T
const [inline]
 

Return compression factor [].

Definition at line 95 of file perfectGasI.H.


Friends And Related Function Documentation

perfectGas operator * const scalar  s,
const perfectGas pg
[friend]
 

Definition at line 150 of file perfectGasI.H.

perfectGas operator+ const perfectGas pg1,
const perfectGas pg2
[friend]
 

Definition at line 122 of file perfectGasI.H.

perfectGas operator- const perfectGas pg1,
const perfectGas pg2
[friend]
 

Definition at line 136 of file perfectGasI.H.

Ostream& operator<< Ostream ,
const perfectGas
[friend]
 

perfectGas operator== const perfectGas pg1,
const perfectGas pg2
[friend]
 

Definition at line 160 of file perfectGasI.H.


The documentation for this class was generated from the following files:
For further information go to www.openfoam.org