OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

janafThermo Class Template Reference

Inheritance diagram for janafThermo:

Inheritance graph
[legend]
List of all members.

Detailed Description

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

Definition at line 105 of file janafThermo.H.


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

static 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 &)
Ostream & operator (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.


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.

scalar h ( const scalar  T  )  const [inline]

Enthalpy [J/kmol].

Definition at line 155 of file janafThermoI.H.

scalar s ( const scalar  T  )  const [inline]

Entropy [J/(kmol K)].

Definition at line 172 of file janafThermoI.H.

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

Definition at line 190 of file janafThermoI.H.

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

Definition at line 225 of file janafThermoI.H.

void operator *= ( const   scalar  )  [inline]

Definition at line 260 of file janafThermoI.H.


Friends And Related Function Documentation

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

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

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

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

Ostream& operator ( Ostream &  ,
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: Copyright © 2000-2007 OpenCFD Ltd