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

specie Class Reference

Inheritance diagram for specie:

Inheritance graph
[legend]
Collaboration diagram for specie:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 62 of file specie.H.


Public Member Functions

 specie (const word &name, const scalar nMoles, const scalar molWeight)
 Construct from components with name.
 specie (const specie &)
 Construct as copy.
 specie (const word &name, const specie &)
 Construct as named copy.
 specie (Istream &)
 Construct from Istream.
scalar W () const
 Molecular weight [kg/kmol].
scalar nMoles () const
 No of moles of this species in mixture.
scalar R () const
 Gas constant [J/(kg K)].
void operator= (const specie &)
void operator+= (const specie &)
void operator-= (const specie &)
void operator *= (const scalar)

Static Public Attributes

static const scalar RR
 Universal gas constant [J/(kmol K)].
static const scalar Pstd
 Standard pressure [Pa].
static const scalar Tstd
 Standard temperature [K].

Friends

specie operator+ (const specie &, const specie &)
specie operator- (const specie &, const specie &)
specie operator * (const scalar, const specie &)
specie operator== (const specie &, const specie &)
Ostream & operator<< (Ostream &, const specie &)

Constructor & Destructor Documentation

specie ( const word &  name,
const scalar  nMoles,
const scalar  molWeight 
) [inline]

Construct from components with name.

Definition at line 49 of file specieI.H.

specie ( const specie &   )  [inline]

Construct as copy.

Definition at line 77 of file specieI.H.

specie ( const word &  name,
const specie &   
) [inline]

Construct as named copy.

Definition at line 86 of file specieI.H.

specie ( Istream &   ) 

Construct from Istream.


Member Function Documentation

scalar W (  )  const [inline]

Molecular weight [kg/kmol].

Definition at line 97 of file specieI.H.

scalar nMoles (  )  const [inline]

No of moles of this species in mixture.

Definition at line 103 of file specieI.H.

scalar R (  )  const [inline]

Gas constant [J/(kg K)].

Definition at line 109 of file specieI.H.

References specie::molWeight_, and specie::nMoles_.

Referenced by perfectGas::New().

Here is the caller graph for this function:

void operator= ( const specie &   )  [inline]

Definition at line 117 of file specieI.H.

References Foam::max(), specie::molWeight_, and specie::nMoles_.

Here is the call graph for this function:

void operator+= ( const specie &   )  [inline]

Definition at line 125 of file specieI.H.

Referenced by perfectGas::Z().

Here is the caller graph for this function:

void operator-= ( const specie &   )  [inline]

Definition at line 137 of file specieI.H.

void operator *= ( const   scalar  )  [inline]

Reimplemented in perfectGas.

Definition at line 153 of file specieI.H.

References Foam::max(), specie::molWeight_, and specie::nMoles_.

Here is the call graph for this function:


Friends And Related Function Documentation

specie operator+ ( const specie &  st1,
const specie &  st2 
) [friend]

Definition at line 161 of file specieI.H.

specie operator- ( const specie &  st1,
const specie &  st2 
) [friend]

Definition at line 174 of file specieI.H.

specie operator * ( const   scalar,
const specie &  st 
) [friend]

Definition at line 191 of file specieI.H.

specie operator== ( const specie &  st1,
const specie &  st2 
) [friend]

Definition at line 201 of file specieI.H.

Ostream& operator<< ( Ostream &  ,
const specie &   
) [friend]


Member Data Documentation

const scalar RR [static]

Universal gas constant [J/(kmol K)].

Definition at line 93 of file specie.H.

const scalar Pstd [static]

Standard pressure [Pa].

Definition at line 96 of file specie.H.

const scalar Tstd [static]

Standard temperature [K].

Definition at line 99 of file specie.H.

Referenced by sutherlandTransport::kappa(), and constTransport::kappa().


The documentation for this class was generated from the following files:
  • src/thermophysicalModels/specie/specie/specie.H
  • src/thermophysicalModels/specie/specie/specieI.H
Copyright © 2000-2007 OpenCFD Ltd