OpenFOAM logo
Open Source CFD Toolkit

janafThermo Class Template Reference

Inheritance diagram for janafThermo:

Inheritance graph
[legend]
List of all members.

template<class equationOfState>
class Foam::janafThermo< equationOfState >


Public Types

typedef scalar coeffArray [7]

Public Member Functions

 janafThermo (const equationOfState &st, const scalar Tlow, const scalar Thigh, const scalar Tcommon, const coeffArray &highCpCoeffs, const coeffArray &lowCpCoeffs)
 Construct from components.
 janafThermo (Istream &)
 Construct from Istream.
 janafThermo (const word &, const janafThermo &)
 Construct as a named copy.
scalar cp (const scalar T) const
 Heat capacity at constant pressure [J/(kmol K)].
scalar h (const scalar T) const
 Enthalpy [J/kmol].
scalar s (const scalar T) const
 Entropy [J/(kmol K)].
void operator+= (const janafThermo &)
void operator-= (const janafThermo &)
void operator *= (const scalar)

Static Public Attributes

const int nCoeffs_ = 7

Friends

janafThermo operator+ (const janafThermo &, const janafThermo &)
janafThermo operator- (const janafThermo &, const janafThermo &)
janafThermo operator * (const scalar, const janafThermo &)
janafThermo operator== (const janafThermo &, const janafThermo &)
Ostreamoperator (Ostream &, const janafThermo &)

Member Typedef Documentation

typedef scalar coeffArray[7]
 

Definition at line 113 of file janafThermo.H.


Constructor & Destructor Documentation

janafThermo const equationOfState &  st,
const scalar  Tlow,
const scalar  Thigh,
const scalar  Tcommon,
const coeffArray highCpCoeffs,
const coeffArray lowCpCoeffs
[inline]
 

Construct from components.

janafThermo Istream  ) 
 

Construct from Istream.

janafThermo const word ,
const janafThermo< equationOfState > & 
[inline]
 

Construct as a named copy.

Definition at line 120 of file janafThermoI.H.

References Foam::label.


Member Function Documentation

scalar cp const scalar  T  )  const [inline]
 

Heat capacity at constant pressure [J/(kmol K)].

Definition at line 143 of file janafThermoI.H.

References Foam::T().

Here is the call graph for this function:

scalar h const scalar  T  )  const [inline]
 

Enthalpy [J/kmol].

Definition at line 155 of file janafThermoI.H.

References Foam::T().

Here is the call graph for this function:

void operator *= const   scalar  )  [inline]
 

Reimplemented in specieThermo< janafThermo< perfectGas > >.

Definition at line 260 of file janafThermoI.H.

void operator+= const janafThermo< equationOfState > &   )  [inline]
 

Definition at line 190 of file janafThermoI.H.

References Foam::label.

void operator-= const janafThermo< equationOfState > &   )  [inline]
 

Definition at line 225 of file janafThermoI.H.

References Foam::label.

scalar s const scalar  T  )  const [inline]
 

Entropy [J/(kmol K)].

Definition at line 172 of file janafThermoI.H.

References Foam::T().

Here is the call graph for this function:


Friends And Related Function Documentation

Ostream& operator Ostream ,
const janafThermo< equationOfState > & 
[friend]
 

janafThermo operator * const   scalar,
const janafThermo< equationOfState > &  jt
[friend]
 

Definition at line 360 of file janafThermoI.H.

janafThermo operator+ const janafThermo< equationOfState > &  ,
const janafThermo< equationOfState > & 
[friend]
 

janafThermo operator- const janafThermo< equationOfState > &  ,
const janafThermo< equationOfState > & 
[friend]
 

janafThermo operator== const janafThermo< equationOfState > &  ,
const janafThermo< equationOfState > & 
[friend]
 


Member Data Documentation

const int nCoeffs_ = 7 [static]
 

Definition at line 112 of file janafThermo.H.


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