OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

janafThermo< equationOfState > Class Template Reference

Absorption coefficients class used in greyMeanAbsorptionEmission and wideBandAbsorptionEmission. More...

Inheritance diagram for janafThermo< equationOfState >:
Collaboration diagram for janafThermo< equationOfState >:

List of all members.


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 hs (const scalar T) const
 Sensible enthalpy [J/kmol].
scalar hc () const
 Chemical enthalpy [J/kmol].
scalar s (const scalar T) const
 Entropy [J/(kmol K)].
void operator+= (const janafThermo &)
void operator-= (const janafThermo &)

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 &)

Detailed Description

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

Absorption coefficients class used in greyMeanAbsorptionEmission and wideBandAbsorptionEmission.

JANAF tables based thermodynamics package templated into the equationOfState.

Source files
Source files

Definition at line 87 of file janafThermo.H.


Member Typedef Documentation

typedef scalar coeffArray[7]

Definition at line 95 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 &  is  )  [inline]

Construct from Istream.

Definition at line 24 of file janafThermo.C.

References Foam::exit(), Foam::FatalIOError, and FatalIOErrorIn.

Here is the call graph for this function:

janafThermo ( const word &  name,
const janafThermo< equationOfState > &  jt 
) [inline]

Construct as a named copy.

Definition at line 87 of file janafThermoI.H.


Member Function Documentation

Foam::scalar cp ( const scalar  T  )  const [inline]

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

Definition at line 109 of file janafThermoI.H.

Foam::scalar h ( const scalar  T  )  const [inline]

Enthalpy [J/kmol].

Definition at line 120 of file janafThermoI.H.

Foam::scalar hs ( const scalar  T  )  const [inline]

Sensible enthalpy [J/kmol].

Definition at line 135 of file janafThermoI.H.

Foam::scalar hc (  )  const [inline]

Chemical enthalpy [J/kmol].

Definition at line 144 of file janafThermoI.H.

References h.

Foam::scalar s ( const scalar  T  )  const [inline]

Entropy [J/(kmol K)].

Definition at line 160 of file janafThermoI.H.

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

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


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 94 of file janafThermo.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd