Skip to main content

enthalpySorption

Description

The enthalpySorption is a boundary condition that provides a temperature boundary condition which works in conjunction with the speciesSorption condition for species.

This boundary condition substracts or adds enthalpy associated with the adsorption provided by the speciesSorption condition.

It can handle two enthalpy models:

  • estimate
  • calculated

On top of this, the enthalpy associated with the sensible enthalpy corresponding with the species transport can be added using includeHs.

Usage

The condition requires entries in both the boundary and field files.

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type enthalpySorption;
enthalpyModel <word>;
species <word>;

// Conditional mandatory entries

// when enthalpyModel == calculated
enthalpyTable <Function1<scalar>>

// enthalpyTable
// {
// type table;
// values ((0 0)(1 50));
// }

// Optional entries
includeHs <bool>;
C <scalar>;
Hvap <scalar>;
dhdt <scalarField>;
p <word>;
T <word>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: enthalpySorptionwordyes-
enthalpyModelAdsorption enthalpy modelwordyes-
speciesName of associated specieswordyes-
enthalpyTableCalculated enthalpy model tableFunction1<scalar>no-
includeHsInclude sensible enthalpyboolnotrue
CEstimate enthalpy model constantscalarno0
HvapEvaporation heat for speciesscalarno0
pName of operand pressure fieldwordnop
TName of operand temperature fieldwordnoT
dhdtEnthalpy change on cells next to patch [J/kg]scalarFieldnoZero

The inherited entries are elaborated in:

  • zeroGradientFvPatchFields.H
  • Function1.H
  • boundarySourcePatch.H

Options for the enthalpyModel entry:

PropertyDescription
estimatedEnthalpy is estimated
calculatedEnthalpy is calculated based on enthalpyTable

Further information

Tutorial:

Source code:

API:

History: Introduced in version 2206