Skip to main content

surfaceInterpolate

Description

The surfaceInterpolate function object linearly interpolates volume fields to generate surface fields.

Operands

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

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

Usage

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

surfaceInterpolate1
{
// Mandatory entries (unmodifiable)
type surfaceInterpolate;
libs (fieldFunctionObjects);

// Mandatory entries (runtime modifiable)
fields ((<inpField1> <outField1>) ... (<inpFieldN> <outFieldN>));

// 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: surfaceInterpolatewordyes-
libsLibrary name: fieldFunctionObjectswordyes-
fieldsNames of operand and output fieldswordListyes-

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+