FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

icoPolynomial< PolySize > Class Template Reference

Incompressible, polynomial form of equation of state, using a polynomial function for density. More...

#include <specie/icoPolynomial.H>


Detailed Description

template<int PolySize>
class Foam::icoPolynomial< PolySize >

Incompressible, polynomial form of equation of state, using a polynomial function for density.

Source files

Definition at line 95 of file icoPolynomial.H.

Inheritance diagram for icoPolynomial< PolySize >:
Collaboration diagram for icoPolynomial< PolySize >:

List of all members.

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

Constructor & Destructor Documentation

icoPolynomial ( const specie &   sp,
const Polynomial< PolySize > &   rhoPoly  
) [inline]

Construct from components.

Definition at line 32 of file icoPolynomialI.H.

icoPolynomial ( Istream &   is  )

Construct from Istream.

Definition at line 37 of file icoPolynomial.C.

References specie::W().

icoPolynomial ( const icoPolynomial< PolySize > &    ) [inline]

Construct as copy.

icoPolynomial ( const word &   name,
const icoPolynomial< PolySize > &    
) [inline]

Construct as named copy.


Member Function Documentation

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


Friends And Related Function Documentation

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]

The documentation for this class was generated from the following files:
  • src/thermophysicalModels/specie/equationOfState/icoPolynomial/icoPolynomial.H
  • src/thermophysicalModels/specie/equationOfState/icoPolynomial/icoPolynomial.C
  • src/thermophysicalModels/specie/equationOfState/icoPolynomial/icoPolynomialI.H