Henry's law for gas solubility in liquid. The concentration of a dissolved species in the liquid is proportional to its partial pressure in the gas. A dimensionless solubility, , is given for each species. This is the ratio of the concentration of the species in the liquid to the corresponding concentration in the gas; i.e., . Mixing in the gas is assumed to be ideal. More...
Public Member Functions | |
TypeName ("Henry") | |
Runtime type information. More... | |
Henry (const dictionary &dict, const phaseInterface &interface) | |
Construct from a dictionary and an interface. More... | |
virtual | ~Henry () |
Destructor. More... | |
virtual void | update (const volScalarField &Tf) |
Update the composition. More... | |
virtual tmp< volScalarField > | Yf (const word &speciesName, const volScalarField &Tf) const |
The interface species fraction. More... | |
virtual tmp< volScalarField > | YfPrime (const word &speciesName, const volScalarField &Tf) const |
The interface species fraction derivative w.r.t. temperature. More... | |
Public Member Functions inherited from interfaceCompositionModel | |
TypeName ("interfaceCompositionModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, interfaceCompositionModel, dictionary,(const dictionary &dict, const phaseInterface &interface),(dict, interface)) | |
interfaceCompositionModel (const dictionary &dict, const phaseInterface &interface) | |
Construct from a dictionary and an interface. More... | |
virtual | ~interfaceCompositionModel () |
Destructor. More... | |
const sidedPhaseInterface & | interface () const |
Return the interface. More... | |
const hashedWordList & | species () const |
Return the transferring species names. More... | |
const rhoFluidMulticomponentThermo & | thermo () const |
Return the thermo. More... | |
const rhoThermo & | otherThermo () const |
Return the other thermo. More... | |
const rhoFluidMulticomponentThermo & | otherMulticomponentThermo () const |
Return the other multicomponent thermo. More... | |
tmp< volScalarField > | dY (const word &speciesName, const volScalarField &Tf) const |
Mass fraction difference between the interface and the field. More... | |
tmp< volScalarField > | dYfPrime (const word &speciesName, const volScalarField &Tf) const |
Mass fraction difference between the interface and the field. More... | |
tmp< volScalarField > | D (const word &speciesName) const |
Mass diffusivity. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from interfaceCompositionModel | |
static autoPtr< interfaceCompositionModel > | New (const dictionary &dict, const phaseInterface &interface, const bool outer=true) |
Henry's law for gas solubility in liquid. The concentration of a dissolved species in the liquid is proportional to its partial pressure in the gas. A dimensionless solubility, , is given for each species. This is the ratio of the concentration of the species in the liquid to the corresponding concentration in the gas; i.e., . Mixing in the gas is assumed to be ideal.
Henry | ( | const dictionary & | dict, |
const phaseInterface & | interface | ||
) |
Construct from a dictionary and an interface.
Definition at line 43 of file Henry.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, List< T >::size(), and interfaceCompositionModel::species().
TypeName | ( | "Henry" | ) |
Runtime type information.
|
virtual |
Update the composition.
Implements interfaceCompositionModel.
Definition at line 80 of file Henry.C.
References forAllConstIter.
|
virtual |
The interface species fraction.
Implements interfaceCompositionModel.
|
virtual |
The interface species fraction derivative w.r.t. temperature.
Implements interfaceCompositionModel.
Definition at line 113 of file Henry.C.
References Foam::dimless, Foam::dimTemperature, IOobject::groupName(), Foam::name(), and GeometricField< Type, PatchField, GeoMesh >::New().