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.


Operand Type Location
input - -
output file dat $FOAM_CASE/postProcessing/<FO>/<time>/<file>
output field volScalarField $FOAM_CASE/<time>/<outField>


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

    // 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:

Property Description Type Required Default
type Type name: DESModelRegions word yes -
libs Library name: fieldFunctionObjects word yes -
result Name of DES indicator field word no <FO>

The inherited entries are elaborated in:

Usage by the postProcess utility is not available.

Further information


Source code: