Skip to main content

DESModelRegions

Description

The DESModelRegions function object computes an indicator field for detached eddy simulation (DES) turbulence calculations, where the values the indicator mean:

0 = Reynolds-averaged Navier-Stokes (RAS) regions
1 = Large eddy simulation (LES) regions

The DESModelRegions function object can only be executed for DES simulations.

Operands

OperandTypeLocation
input--
output filedat$FOAM_CASE/postProcessing/<FO>/<time>/<file>
output fieldvolScalarField$FOAM_CASE/<time>/<outField>

Usage

Example of the DESModelRegions function object by using functions sub-dictionary in system/controlDict file:

DESModelRegions1
{
// Mandatory entries (unmodifiable)
type DESModelRegions;
libs (fieldFunctionObjects);

// Optional entries (runtime modifiable)
result DESField;

// Optional (inherited) entries
writePrecision 8;
writeToFile true;
useUserTime true;
region region0;
enabled true;
log true;
timeStart 0;
timeEnd 1000;
executeControl timeStep;
executeInterval 1;
writeControl timeStep;
writeInterval 1;
}

where the entries mean:

PropertyDescriptionTypeRequiredDefault
typeType name: DESModelRegionswordyes-
libsLibrary name: fieldFunctionObjectswordyes-
resultName of DES indicator fieldwordno<FO>

The inherited entries are elaborated in:

Usage by the postProcess utility is not available.

Further information

Tutorial:

Source code:

API:

History: Introduced in version v1612+