Base class of the thermophysical property types. More...
Public Member Functions | |
ClassName ("specie") | |
Runtime type information. More... | |
specie (const scalar Y, const scalar molWeight) | |
Construct from components without name. More... | |
specie (const word &name, const scalar Y, const scalar molWeight) | |
Construct from components with name. More... | |
specie (const word &name, const specie &) | |
Construct as named copy. More... | |
specie (const dictionary &dict) | |
Construct from dictionary. More... | |
specie (const specie &)=default | |
Copy constructor. More... | |
const word & | name () const |
Name. More... | |
scalar | W () const |
Molecular weight [kg/kmol]. More... | |
scalar | Y () const |
Mass fraction of this specie in mixture. More... | |
scalar | R () const |
Gas constant [J/kg/K]. More... | |
void | write (Ostream &os) const |
Write to Ostream. More... | |
void | operator= (const specie &) |
void | operator+= (const specie &) |
void | operator*= (const scalar) |
Friends | |
specie | operator+ (const specie &, const specie &) |
specie | operator* (const scalar, const specie &) |
specie | operator== (const specie &, const specie &) |
Ostream & | operator<< (Ostream &, const specie &) |
Base class of the thermophysical property types.
|
inline |
Construct from components without name.
Definition at line 49 of file specieI.H.
Referenced by Foam::operator*(), Foam::operator+(), Foam::operator==(), and specie::specie().
Construct from components with name.
Definition at line 36 of file specieI.H.
References specie::specie().
specie | ( | const dictionary & | dict | ) |
ClassName | ( | "specie" | ) |
Runtime type information.
|
inline |
Name.
Definition at line 71 of file specieI.H.
Referenced by sutherlandTransport< Thermo >::write(), and WLFTransport< Thermo >::write().
|
inline |
|
inline |
Gas constant [J/kg/K].
Definition at line 89 of file specieI.H.
References Foam::constant::physicoChemical::RR.
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 49 of file specie.C.
References dictionary::add(), dict, dictionaryName::dictName(), and Foam::indent().
Referenced by Foam::operator<<().
|
inline |
Definition at line 105 of file specieI.H.
References Foam::mag().
|
inline |