Skip to main content

yPlus

Description

The yPlus function object computes the near wall y1+y_1^+ for turbulence models.

Operands

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

Usage

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

yPlus1
{
// Mandatory entries (unmodifiable)
type yPlus;
libs (fieldFunctionObjects);

// 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: yPluswordyes-
libsLibrary name: fieldFunctionObjectswordyes-

The inherited entries are elaborated in:

Example by using the postProcess utility:

<solver> -postProcess -func yPlus

Further information

Tutorial:

Source code:

API:

History: Introduced in version v1606+ ]