Loading...
Searching...
No Matches
icoTabulated< Specie > Class Template Reference

Incompressible of equation of state using non-uniform tabulated density vs temperature. More...

#include <icoTabulated.H>

Inheritance diagram for icoTabulated< Specie >:
Collaboration diagram for icoTabulated< Specie >:

Public Member Functions

 icoTabulated (const Specie &sp, const nonUniformTable &rho)
 Construct from components.
 icoTabulated (const dictionary &dict)
 Construct from dictionary.
 icoTabulated (const word &name, const icoTabulated &)
 Construct as named copy.
autoPtr< icoTabulatedclone () const
 Construct and return a clone.
scalar rho (scalar p, scalar T) const
 Return density [kg/m^3].
scalar H (const scalar p, const scalar T) const
 Return enthalpy departure [J/kg].
scalar Cp (scalar p, scalar T) const
 Return Cp departure [J/(kg K].
scalar E (const scalar p, const scalar T) const
 Return internal energy departure [J/kg].
scalar Cv (scalar p, scalar T) const
 Return Cv departure [J/(kg K].
scalar S (const scalar p, const scalar T) const
 Return entropy departure to the integral of Cp/T [J/kg/K].
scalar psi (scalar p, scalar T) const
 Return compressibility [s^2/m^2].
scalar Z (scalar p, scalar T) const
 Return compression factor [].
scalar CpMCv (scalar p, scalar T) const
 Return (Cp - Cv) [J/(kg K].
void write (Ostream &os) const
 Write to Ostream.

Static Public Member Functions

static autoPtr< icoTabulatedNew (const dictionary &dict)
 Selector from dictionary.
static word typeName ()
 The instantiated type name.

Static Public Attributes

static const bool incompressible = true
 Is the equation of state is incompressible i.e. rho != f(p).
static const bool isochoric = false
 Is the equation of state is isochoric i.e. rho = const.

Friends

Ostreamoperator<< (Ostream &, const icoTabulated &)

Detailed Description

template<class Specie>
class Foam::icoTabulated< Specie >

Incompressible of equation of state using non-uniform tabulated density vs temperature.

Usage
Property Description
rho Density vs temperature table

Example of the specification of the equation of state:

    equationOfState
    {
        rho
        (
            (200 1010)
            (350 1000)
            (400 980)
        );
    }
Source files
See also
Foam::thermophysicalFunctions::nonUniformTable

Definition at line 85 of file icoTabulated.H.

Constructor & Destructor Documentation

◆ icoTabulated() [1/3]

template<class Specie>
icoTabulated ( const Specie & sp,
const nonUniformTable & rho )
inline

Construct from components.

Definition at line 27 of file icoTabulatedI.H.

References rho().

Referenced by icoTabulated(), and operator<<.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ icoTabulated() [2/3]

template<class Specie>
icoTabulated ( const dictionary & dict)
explicit

Construct from dictionary.

Definition at line 28 of file icoTabulated.C.

References dict.

◆ icoTabulated() [3/3]

template<class Specie>
icoTabulated ( const word & name,
const icoTabulated< Specie > &  )
inline

Construct as named copy.

References dict, icoTabulated(), and Foam::name().

Here is the call graph for this function:

Member Function Documentation

◆ clone()

template<class Specie>
Foam::autoPtr< Foam::icoTabulated< Specie > > clone ( ) const
inline

Construct and return a clone.

Definition at line 54 of file icoTabulatedI.H.

References Foam::New().

Here is the call graph for this function:

◆ New()

template<class Specie>
Foam::autoPtr< Foam::icoTabulated< Specie > > New ( const dictionary & dict)
inlinestatic

Selector from dictionary.

Definition at line 62 of file icoTabulatedI.H.

References dict, and Foam::New().

Here is the call graph for this function:

◆ typeName()

template<class Specie>
word typeName ( )
inlinestatic

The instantiated type name.

Definition at line 136 of file icoTabulated.H.

◆ rho()

template<class Specie>
Foam::scalar rho ( scalar p,
scalar T ) const
inline

Return density [kg/m^3].

Definition at line 71 of file icoTabulatedI.H.

References p, and Foam::T().

Referenced by icoTabulated().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ H()

template<class Specie>
Foam::scalar H ( const scalar p,
const scalar T ) const
inline

Return enthalpy departure [J/kg].

Definition at line 82 of file icoTabulatedI.H.

References p, rho, and Foam::T().

Here is the call graph for this function:

◆ Cp()

template<class Specie>
Foam::scalar Cp ( scalar p,
scalar T ) const
inline

Return Cp departure [J/(kg K].

Definition at line 93 of file icoTabulatedI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ E()

template<class Specie>
Foam::scalar E ( const scalar p,
const scalar T ) const
inline

Return internal energy departure [J/kg].

Definition at line 104 of file icoTabulatedI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Cv()

template<class Specie>
Foam::scalar Cv ( scalar p,
scalar T ) const
inline

Return Cv departure [J/(kg K].

Definition at line 115 of file icoTabulatedI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ S()

template<class Specie>
Foam::scalar S ( const scalar p,
const scalar T ) const
inline

Return entropy departure to the integral of Cp/T [J/kg/K].

Definition at line 126 of file icoTabulatedI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ psi()

template<class Specie>
Foam::scalar psi ( scalar p,
scalar T ) const
inline

Return compressibility [s^2/m^2].

Definition at line 137 of file icoTabulatedI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ Z()

template<class Specie>
Foam::scalar Z ( scalar p,
scalar T ) const
inline

Return compression factor [].

Definition at line 148 of file icoTabulatedI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ CpMCv()

template<class Specie>
Foam::scalar CpMCv ( scalar p,
scalar T ) const
inline

Return (Cp - Cv) [J/(kg K].

Definition at line 159 of file icoTabulatedI.H.

References p, and Foam::T().

Here is the call graph for this function:

◆ write()

template<class Specie>
void write ( Ostream & os) const

Write to Ostream.

Definition at line 38 of file icoTabulated.C.

References os().

Here is the call graph for this function:

◆ operator<<

template<class Specie>
Ostream & operator<< ( Ostream & ,
const icoTabulated< Specie > &  )
friend

References icoTabulated().

Member Data Documentation

◆ incompressible

template<class Specie>
const bool incompressible = true
static

Is the equation of state is incompressible i.e. rho != f(p).

Definition at line 147 of file icoTabulated.H.

◆ isochoric

template<class Specie>
const bool isochoric = false
static

Is the equation of state is isochoric i.e. rho = const.

Definition at line 152 of file icoTabulated.H.


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