OpenFOAM logo
Open Source CFD Toolkit

specie Class Reference

Inheritance diagram for specie:

Inheritance graph
[legend]
Collaboration diagram for specie:

Collaboration graph
[legend]
List of all members.

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

const scalar RR
 Universal gas constant [J/(kmol K)].
const scalar Pstd
 Standard pressure [Pa].
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 &)
Ostreamoperator<< (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.

References Foam::name().

Here is the call graph for this function:

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 nMoles  )  const [inline]
 

No of moles of this species in mixture.

Definition at line 103 of file specieI.H.

References specie::RR.

void operator *= const   scalar  )  [inline]
 

Reimplemented in perfectGas, janafThermo< perfectGas >, and specieThermo< janafThermo< 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:

void operator+= const specie  )  [inline]
 

Definition at line 125 of file specieI.H.

void operator-= const specie  )  [inline]
 

Definition at line 137 of file specieI.H.

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:

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().

scalar W  )  const [inline]
 

Molecular weight [kg/kmol].

Definition at line 97 of file specieI.H.


Friends And Related Function Documentation

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 161 of file specieI.H.

specie operator- const specie st1,
const specie st2
[friend]
 

Definition at line 174 of file specieI.H.

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

specie operator== const specie st1,
const specie st2
[friend]
 

Definition at line 201 of file specieI.H.


Member Data Documentation

const scalar Pstd [static]
 

Standard pressure [Pa].

Definition at line 96 of file specie.H.

const scalar RR [static]
 

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

Definition at line 93 of file specie.H.

Referenced by specie::nMoles().

const scalar Tstd [static]
 

Standard temperature [K].

Definition at line 99 of file specie.H.


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