Public Member Functions | List of all members
Henry< Thermo, OtherThermo > Class Template Reference

Henry's law for gas solubiliy in liquid. The concentration of the dissolved species in the liquid is proportional to its partial pressure in the gas. The dimensionless constant of proportionality between concentrations on each side of the interface is $k$, and is given for each species. Mixing in the gas is assumed to be ideal. More...

Inheritance diagram for Henry< Thermo, OtherThermo >:
Inheritance graph
[legend]
Collaboration diagram for Henry< Thermo, OtherThermo >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("Henry")
 Runtime type information. More...
 
 Henry (const dictionary &dict, const phasePair &pair)
 Construct from components. More...
 
virtual ~Henry ()
 Destructor. More...
 
virtual void update (const volScalarField &Tf)
 Update the composition. More...
 
virtual tmp< volScalarFieldYf (const word &speciesName, const volScalarField &Tf) const
 The interface species fraction. More...
 
virtual tmp< volScalarFieldYfPrime (const word &speciesName, const volScalarField &Tf) const
 The interface species fraction derivative w.r.t. temperature. More...
 
- Public Member Functions inherited from InterfaceCompositionModel< Thermo, OtherThermo >
 InterfaceCompositionModel (const dictionary &dict, const phasePair &pair)
 Construct from components. More...
 
 ~InterfaceCompositionModel ()
 Destructor. More...
 
virtual tmp< volScalarFielddY (const word &speciesName, const volScalarField &Tf) const
 Mass fraction difference between the interface and the field. More...
 
virtual tmp< volScalarFieldD (const word &speciesName) const
 Mass diffusivity. More...
 
virtual tmp< volScalarFieldL (const word &speciesName, const volScalarField &Tf) const
 Latent heat. More...
 
virtual void addMDotL (const volScalarField &K, const volScalarField &Tf, volScalarField &mDotL, volScalarField &mDotLPrime) const
 Add latent heat flow rate to total. More...
 
- Public Member Functions inherited from interfaceCompositionModel
 TypeName ("interfaceCompositionModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, interfaceCompositionModel, dictionary,(const dictionary &dict, const phasePair &pair),(dict, pair))
 
 interfaceCompositionModel (const dictionary &dict, const phasePair &pair)
 Construct from a dictionary and a phase pair. More...
 
virtual ~interfaceCompositionModel ()
 Destructor. More...
 
const hashedWordListspecies () const
 Return the transferring species names. More...
 
bool transports (word &speciesName) const
 Returns whether the species is transported by the model and. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from interfaceCompositionModel
static autoPtr< interfaceCompositionModelNew (const dictionary &dict, const phasePair &pair)
 
- Protected Member Functions inherited from InterfaceCompositionModel< Thermo, OtherThermo >
template<class ThermoType >
const pureMixture< ThermoType >::thermoType & getLocalThermo (const word &speciesName, const pureMixture< ThermoType > &globalThermo) const
 Get a reference to the local thermo for a pure mixture. More...
 
template<class ThermoType >
const multiComponentMixture< ThermoType >::thermoType & getLocalThermo (const word &speciesName, const multiComponentMixture< ThermoType > &globalThermo) const
 Get a reference to the local thermo for a multi component mixture. More...
 
- Protected Attributes inherited from InterfaceCompositionModel< Thermo, OtherThermo >
const Thermo & thermo_
 Thermo. More...
 
const OtherThermo & otherThermo_
 Other Thermo. More...
 
const dimensionedScalar Le_
 Lewis number. More...
 
- Protected Attributes inherited from interfaceCompositionModel
const phasePairpair_
 Phase pair. More...
 
const hashedWordList speciesNames_
 Names of the transferring species. More...
 

Detailed Description

template<class Thermo, class OtherThermo>
class Foam::interfaceCompositionModels::Henry< Thermo, OtherThermo >

Henry's law for gas solubiliy in liquid. The concentration of the dissolved species in the liquid is proportional to its partial pressure in the gas. The dimensionless constant of proportionality between concentrations on each side of the interface is $k$, and is given for each species. Mixing in the gas is assumed to be ideal.

Source files

Definition at line 58 of file Henry.H.

Constructor & Destructor Documentation

◆ Henry()

Henry ( const dictionary dict,
const phasePair pair 
)

Construct from components.

◆ ~Henry()

virtual ~Henry ( )
virtual

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "Henry< Thermo, OtherThermo >"  )

Runtime type information.

◆ update()

virtual void update ( const volScalarField Tf)
virtual

Update the composition.

Implements interfaceCompositionModel.

◆ Yf()

virtual tmp<volScalarField> Yf ( const word speciesName,
const volScalarField Tf 
) const
virtual

The interface species fraction.

Implements interfaceCompositionModel.

◆ YfPrime()

virtual tmp<volScalarField> YfPrime ( const word speciesName,
const volScalarField Tf 
) const
virtual

The interface species fraction derivative w.r.t. temperature.

Implements interfaceCompositionModel.


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