OpenFOAM logo
Open Source CFD Toolkit

basicThermo Class Reference

Inheritance diagram for basicThermo:

Inheritance graph
[legend]
Collaboration diagram for basicThermo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TypeName ("basicThermo")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, basicThermo, fvMesh,(const fvMesh &mesh),(mesh))
 basicThermo (const fvMesh &)
 Construct from mesh.
virtual ~basicThermo ()
virtual void correct ()=0
 Update properties.
volScalarField & p ()
 Pressure [Pa].
const volScalarField & p () const
 Pressure [Pa].
virtual volScalarField & h ()
 Enthalpy [J/kg].
virtual const volScalarField & h () const
 Enthalpy [J/kg].
virtual tmp< scalarField > h (const scalarField &T, const labelList &cells) const
 Enthalpy for cell-set [J/kg].
virtual tmp< scalarField > h (const scalarField &T, const label patchi) const
 Enthalpy for patch [J/kg].
virtual volScalarField & e ()
 Internal energy [J/kg].
virtual const volScalarField & e () const
 Internal energy [J/kg].
const volScalarField & T () const
 Temperature [K].
tmp< volScalarField > rho () const
 Density [kg/m^3].
const volScalarField & psi () const
 Compressibility [s^2/m^2].
virtual tmp< scalarField > Cp (const scalarField &T, const label patchi) const
 Heat capacity at constant pressure for patch [J/kg/K].
virtual tmp< volScalarField > Cp () const
 Heat capacity at constant pressure [J/kg/K].
virtual tmp< volScalarField > Cv () const
 Heat capacity at constant volume [J/kg/K].
const volScalarField & mu () const
 Dynamic viscosity of mixture [kg/ms].
const volScalarField & alpha () const
 Thermal diffusivity for enthalpy of mixture [W/mK].
virtual bool read ()=0
 Read thermophysicalProperties dictionary.

Static Public Member Functions

autoPtr< basicThermo > New (const fvMesh &)

Protected Member Functions

wordList hBoundaryTypes ()
void hBoundaryCorrection (volScalarField &h)
 basicThermo (const basicThermo &)
 Construct as copy (not implemented).

Protected Attributes

volScalarField p_
volScalarField T_
volScalarField psi_
volScalarField mu_
volScalarField alpha_

Constructor & Destructor Documentation

basicThermo (  const basicThermo &   )  [protected]
 

Construct as copy (not implemented).

basicThermo (  const fvMesh &   ) 
 

Construct from mesh.

virtual ~basicThermo (   )  [virtual]
 


Member Function Documentation

const volScalarField& alpha (   )  const [inline]
 

Thermal diffusivity for enthalpy of mixture [W/mK].

Definition at line 268 of file basicThermo.H.

virtual void correct (   )  [pure virtual]
 

Update properties.

Implemented in hThermo, hCombustionThermo, hhuCombustionThermo, hhuMixtureThermo, and hMixtureThermo.

virtual tmp<volScalarField> Cp (   )  const [inline, virtual]
 

Heat capacity at constant pressure [J/kg/K].

Reimplemented in hThermo, hhuMixtureThermo, and hMixtureThermo.

Definition at line 245 of file basicThermo.H.

References Foam::volScalarField.

virtual tmp<scalarField> Cp (  const scalarField &  T,
const label  patchi
)  const [inline, virtual]
 

Heat capacity at constant pressure for patch [J/kg/K].

Reimplemented in hThermo, hhuMixtureThermo, and hMixtureThermo.

Definition at line 231 of file basicThermo.H.

References notImplemented.

virtual tmp<volScalarField> Cv (   )  const [inline, virtual]
 

Heat capacity at constant volume [J/kg/K].

Reimplemented in hThermo.

Definition at line 252 of file basicThermo.H.

declareRunTimeSelectionTable (  autoPtr  ,
basicThermo  ,
fvMesh  ,
(const fvMesh &mesh)  ,
(mesh) 
) 
 

virtual const volScalarField& e (   )  const [inline, virtual]
 

Internal energy [J/kg].

Definition at line 202 of file basicThermo.H.

virtual volScalarField& e (   )  [inline, virtual]
 

Internal energy [J/kg].

Non-const access allowed for transport equations

Definition at line 195 of file basicThermo.H.

References Foam::volScalarField.

virtual tmp<scalarField> h (  const scalarField &  T,
const label  patchi
)  const [inline, virtual]
 

Enthalpy for patch [J/kg].

Reimplemented in hThermo, hhuMixtureThermo, and hMixtureThermo.

Definition at line 178 of file basicThermo.H.

virtual tmp<scalarField> h (  const scalarField &  T,
const labelList &  cells
)  const [inline, virtual]
 

Enthalpy for cell-set [J/kg].

Reimplemented in hThermo, hhuMixtureThermo, and hMixtureThermo.

Definition at line 163 of file basicThermo.H.

virtual const volScalarField& h (   )  const [inline, virtual]
 

Enthalpy [J/kg].

Reimplemented in hThermo, and hCombustionThermo.

Definition at line 155 of file basicThermo.H.

References notImplemented.

virtual volScalarField& h (   )  [inline, virtual]
 

Enthalpy [J/kg].

Non-const access allowed for transport equations

Reimplemented in hThermo, and hCombustionThermo.

Definition at line 148 of file basicThermo.H.

void hBoundaryCorrection (  volScalarField &  h  )  [protected]
 

wordList hBoundaryTypes (   )  [protected]
 

const volScalarField& mu (   )  const [inline]
 

Dynamic viscosity of mixture [kg/ms].

Definition at line 262 of file basicThermo.H.

autoPtr<basicThermo> New (  const fvMesh &   )  [static]
 

Reimplemented in hCombustionThermo, and hhuCombustionThermo.

const volScalarField& p (   )  const [inline]
 

Pressure [Pa].

Definition at line 139 of file basicThermo.H.

volScalarField& p (   )  [inline]
 

Pressure [Pa].

Non-const access allowed for transport equations

Definition at line 133 of file basicThermo.H.

const volScalarField& psi (   )  const [inline]
 

Compressibility [s^2/m^2].

Definition at line 224 of file basicThermo.H.

virtual bool read (   )  [pure virtual]
 

Read thermophysicalProperties dictionary.

Reimplemented from regIOobject.

Implemented in hThermo, hhuMixtureThermo, and hMixtureThermo.

tmp<volScalarField> rho (   )  const [inline]
 

Density [kg/m^3].

Definition at line 218 of file basicThermo.H.

References Foam::label, notImplemented, and Foam::scalarField.

const volScalarField& T (   )  const [inline]
 

Temperature [K].

Definition at line 212 of file basicThermo.H.

TypeName (  "basicThermo"   ) 
 

Runtime type information.


Member Data Documentation

volScalarField alpha_ [protected]
 

Definition at line 75 of file basicThermo.H.

volScalarField mu_ [protected]
 

Definition at line 74 of file basicThermo.H.

volScalarField p_ [protected]
 

Definition at line 70 of file basicThermo.H.

volScalarField psi_ [protected]
 

Definition at line 72 of file basicThermo.H.

volScalarField T_ [protected]
 

Definition at line 71 of file basicThermo.H.


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