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

hsRhoThermo< MixtureType > Class Template Reference

Sensible enthalpy for a mixture based on density. More...

#include <basicThermophysicalModels/hsRhoThermo.H>


Detailed Description

template<class MixtureType>
class Foam::hsRhoThermo< MixtureType >

Sensible enthalpy for a mixture based on density.

Source files

Definition at line 51 of file hsRhoThermo.H.

Inheritance diagram for hsRhoThermo< MixtureType >:
Collaboration diagram for hsRhoThermo< MixtureType >:

List of all members.

Public Member Functions

 TypeName ("hsRhoThermo")
 Runtime type information.
 hsRhoThermo (const fvMesh &)
 Construct from mesh.
virtual  ~hsRhoThermo ()
 Destructor.
virtual basicMixture &  composition ()
 Return the compostion of the combustion mixture.
virtual const basicMixture &  composition () const
 Return the compostion of the combustion mixture.
virtual void  correct ()
 Update properties.
virtual volScalarField &  hs ()
 Sensible enthalpy [J/kg].
virtual const volScalarField &  hs () const
 Sensible enthalpy [J/kg].
virtual tmp< scalarField >  hs (const scalarField &T, const labelList &cells) const
 Sensible enthalpy for cell-set [J/kg].
virtual tmp< scalarField >  hs (const scalarField &T, const label patchi) const
 Sensible enthalpy for patch [J/kg].
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< scalarField >  Cv (const scalarField &T, const label patchi) const
 Heat capacity at constant volume for patch [J/kg/K].
virtual tmp< volScalarField >  Cv () const
 Heat capacity at constant volume [J/kg/K].
virtual bool  read ()
 Read thermophysicalProperties dictionary.

Constructor & Destructor Documentation

~hsRhoThermo (  ) [virtual]

Destructor.

Definition at line 147 of file hsRhoThermo.C.


Member Function Documentation

TypeName ( "hsRhoThermo< MixtureType >"    )

Runtime type information.

virtual basicMixture& composition (  ) [inline, virtual]

Return the compostion of the combustion mixture.

Definition at line 90 of file hsRhoThermo.H.

virtual const basicMixture& composition (  ) const [inline, virtual]

Return the compostion of the combustion mixture.

Definition at line 96 of file hsRhoThermo.H.

void correct (  ) [virtual]

Update properties.

Implements basicThermo.

Definition at line 154 of file hsRhoThermo.C.

References Foam::endl(), and Foam::Info.

virtual volScalarField& hs (  ) [inline, virtual]

Sensible enthalpy [J/kg].

Non-const access allowed for transport equations

Reimplemented from basicThermo.

Definition at line 109 of file hsRhoThermo.H.

Referenced by hsRhoThermo< MixtureType >::hsRhoThermo().

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

Sensible enthalpy [J/kg].

Reimplemented from basicThermo.

Definition at line 115 of file hsRhoThermo.H.

Foam::tmp< Foam::scalarField > hs ( const scalarField &   T,
const labelList &   cells  
) const [virtual]

Sensible enthalpy for cell-set [J/kg].

Reimplemented from basicThermo.

Definition at line 172 of file hsRhoThermo.C.

References forAll, hs, and List< T >::size().

Foam::tmp< Foam::scalarField > hs ( const scalarField &   T,
const label   patchi  
) const [virtual]

Sensible enthalpy for patch [J/kg].

Reimplemented from basicThermo.

Definition at line 191 of file hsRhoThermo.C.

References forAll, hs, and List< T >::size().

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

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

Reimplemented from basicThermo.

Definition at line 210 of file hsRhoThermo.C.

References Foam::cp(), forAll, and List< T >::size().

Foam::tmp< Foam::volScalarField > Cp (  ) const [virtual]

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

Reimplemented from basicThermo.

Definition at line 228 of file hsRhoThermo.C.

References Foam::cp(), Foam::dimEnergy, Foam::dimMass, Foam::dimTemperature, forAll, mesh, IOobject::NO_READ, IOobject::NO_WRITE, fvMesh::time(), and Time::timeName().

Foam::tmp< Foam::scalarField > Cv ( const scalarField &   T,
const label   patchi  
) const [virtual]

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

Reimplemented from basicThermo.

Definition at line 273 of file hsRhoThermo.C.

References forAll, and List< T >::size().

Foam::tmp< Foam::volScalarField > Cv (  ) const [virtual]

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

Reimplemented from basicThermo.

Definition at line 291 of file hsRhoThermo.C.

References Foam::dimEnergy, Foam::dimMass, Foam::dimTemperature, forAll, mesh, IOobject::NO_READ, IOobject::NO_WRITE, fvMesh::time(), and Time::timeName().

bool read (  ) [virtual]

Read thermophysicalProperties dictionary.

Reimplemented from basicThermo.

Definition at line 330 of file hsRhoThermo.C.

References basicThermo::read().


The documentation for this class was generated from the following files:
  • src/thermophysicalModels/basic/rhoThermo/hsRhoThermo/hsRhoThermo.H
  • src/thermophysicalModels/basic/rhoThermo/hsRhoThermo/hsRhoThermo.C