Skip to main content

nearWallFields

Description

The nearWallFields function object samples near-patch volume fields within an input distance range.

Operands

OperandTypeLocation
inputvol<Type>Field$FOAM_CASE/<time>/<inpField>
output file--
output fieldvol<Type>Field$FOAM_CASE/<time>/<outField>

where <Type>=Scalar/Vector/SphericalTensor/SymmTensor/Tensor.

Usage

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

nearWallFields1
{
// Mandatory entries (unmodifiable)
type nearWallFields;
libs (fieldFunctionObjects);
fields
(
(<field1> <outField1>)
(<field2> <outField2>)
);
patches (<patch1> <patch2> ... <patchN>);
distance 0.01;

// Optional (inherited) entries
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: nearWallFieldswordyes-
libsLibrary name: fieldFunctionObjectswordyes-
fieldsNames of input-output fieldswordHashTableyes-
patchesNames of patches to samplewordListyes-
distanceWall-normal distance from patch to samplescalaryes-

The inherited entries are elaborated in:

Usage by the postProcess utility is not available.

Further information

Tutorial:

Source code:

API:

History: Introduced in version v1606+