parcelThermo Class Reference

Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package, and provides: More...

Public Member Functions

 parcelThermo (const fluidThermo &carrierThermo)
 Construct from carrier thermo. More...
 
 parcelThermo (const parcelThermo &)
 Copy constructor. More...
 
virtual ~parcelThermo ()
 Destructor. More...
 
const liquidMixturePropertiesliquids () const
 Return reference to the global (additional) liquids. More...
 
const solidMixturePropertiessolids () const
 Return reference to the global (additional) solids. More...
 
label liquidId (const word &cmptName, bool allowNotFound=false) const
 Index of liquid component. More...
 
label solidId (const word &cmptName, bool allowNotFound=false) const
 Index of solid component. More...
 

Detailed Description

Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package, and provides:

- liquids : liquid components - access to elemental properties

  • solids : solid components - access to elemental properties

If no liquids or solids are specified, their respective pointers will also be nullptr.

Registered to the mesh so that it can be looked-up

Source files

Definition at line 58 of file parcelThermo.H.

Constructor & Destructor Documentation

◆ parcelThermo() [1/2]

parcelThermo ( const fluidThermo carrierThermo)

Construct from carrier thermo.

Definition at line 30 of file parcelThermo.C.

References Foam::endl(), dictionary::found(), Foam::Info, solidMixtureProperties::New(), liquidMixtureProperties::New(), basicThermo::properties(), and dictionary::subDict().

Here is the call graph for this function:

◆ parcelThermo() [2/2]

parcelThermo ( const parcelThermo pThermo)

Copy constructor.

Definition at line 67 of file parcelThermo.C.

◆ ~parcelThermo()

~parcelThermo ( )
virtual

Destructor.

Definition at line 76 of file parcelThermo.C.

Member Function Documentation

◆ liquids()

const Foam::liquidMixtureProperties & liquids ( ) const

Return reference to the global (additional) liquids.

Definition at line 82 of file parcelThermo.C.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Referenced by ThermoSurfaceFilm< CloudType >::absorbInteraction(), ThermoSurfaceFilm< CloudType >::drySplashInteraction(), parcelThermo::liquidId(), and ThermoSurfaceFilm< CloudType >::wetSplashInteraction().

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

◆ solids()

◆ liquidId()

Foam::label liquidId ( const word cmptName,
bool  allowNotFound = false 
) const

Index of liquid component.

Definition at line 109 of file parcelThermo.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, parcelThermo::liquids(), Foam::nl, and parcelThermo::solidId().

Referenced by parcelThermo::solids().

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

◆ solidId()

Foam::label solidId ( const word cmptName,
bool  allowNotFound = false 
) const

Index of solid component.

Definition at line 134 of file parcelThermo.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::nl, and parcelThermo::solids().

Referenced by parcelThermo::liquidId().

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

The documentation for this class was generated from the following files: