Incompressible, polynomial form of equation of state, using a polynomial function for density. More...
#include <specie/icoPolynomial.H>
Incompressible, polynomial form of equation of state, using a polynomial function for density.
Definition at line 95 of file icoPolynomial.H.
Public Member Functions | |
icoPolynomial (const specie &sp, const Polynomial< PolySize > &rhoPoly) | |
Construct from components.
| |
icoPolynomial (Istream &) | |
Construct from Istream.
| |
icoPolynomial (const icoPolynomial &) | |
Construct as copy.
| |
icoPolynomial (const word &name, const icoPolynomial &) | |
Construct as named copy.
| |
autoPtr< icoPolynomial > | clone () const |
Construct and return a clone.
| |
scalar | rho (scalar p, scalar T) const |
Return density [kg/m^3].
| |
scalar | psi (scalar p, scalar T) const |
Return compressibility rho/p [s^2/m^2].
| |
scalar | Z (scalar p, scalar T) const |
Return compression factor [].
| |
icoPolynomial & | operator= (const icoPolynomial &) |
void | operator+= (const icoPolynomial &) |
void | operator-= (const icoPolynomial &) |
void | operator*= (const scalar) |
Static Public Member Functions | |
static autoPtr< icoPolynomial > | New (Istream &is) |
Friends | |
icoPolynomial | operator+ (const icoPolynomial &, const icoPolynomial &) |
icoPolynomial | operator- (const icoPolynomial &, const icoPolynomial &) |
icoPolynomial | operator* (const scalar s, const icoPolynomial &) |
icoPolynomial | operator== (const icoPolynomial &, const icoPolynomial &) |
Ostream & | operator (Ostream &, const icoPolynomial &) |
icoPolynomial | ( | const specie & | sp, |
const Polynomial< PolySize > & | rhoPoly | ||
) | [inline]
|
Construct from components.
Definition at line 32 of file icoPolynomialI.H.
icoPolynomial | ( | Istream & | is ) |
icoPolynomial | ( | const icoPolynomial< PolySize > & | ) | [inline]
|
Construct as copy.
icoPolynomial | ( | const word & | name, |
const icoPolynomial< PolySize > & | |||
) | [inline]
|
Construct as named copy.
Foam::autoPtr< Foam::icoPolynomial< PolySize > > clone | ( | ) | const [inline]
|
Construct and return a clone.
Definition at line 69 of file icoPolynomialI.H.
Foam::autoPtr< Foam::icoPolynomial< PolySize > > New | ( | Istream & | is ) | [inline, static]
|
Definition at line 80 of file icoPolynomialI.H.
Foam::scalar rho | ( | scalar | p, |
scalar | T | ||
) | const [inline]
|
Return density [kg/m^3].
Definition at line 89 of file icoPolynomialI.H.
Foam::scalar psi | ( | scalar | p, |
scalar | T | ||
) | const [inline]
|
Return compressibility rho/p [s^2/m^2].
Definition at line 96 of file icoPolynomialI.H.
Foam::scalar Z | ( | scalar | p, |
scalar | T | ||
) | const [inline]
|
Return compression factor [].
Definition at line 103 of file icoPolynomialI.H.
icoPolynomial& operator= | ( | const icoPolynomial< PolySize > & | ) | [inline]
|
void operator+= | ( | const icoPolynomial< PolySize > & | ) | [inline]
|
void operator-= | ( | const icoPolynomial< PolySize > & | ) | [inline]
|
void operator*= | ( | const scalar | s ) | [inline]
|
Reimplemented from specie.
Definition at line 160 of file icoPolynomialI.H.
References specie::operator*=().
icoPolynomial operator+ | ( | const icoPolynomial< PolySize > & | , |
const icoPolynomial< PolySize > & | |||
) | [friend]
|
icoPolynomial operator- | ( | const icoPolynomial< PolySize > & | , |
const icoPolynomial< PolySize > & | |||
) | [friend]
|
icoPolynomial operator* | ( | const scalar | s, |
const icoPolynomial< PolySize > & | |||
) | [friend]
|
icoPolynomial operator== | ( | const icoPolynomial< PolySize > & | , |
const icoPolynomial< PolySize > & | |||
) | [friend]
|
Ostream& operator | ( | Ostream & | , |
const icoPolynomial< PolySize > & | |||
) | [friend]
|