Description

The mappedField is a generic boundary condition that provides a self-contained version of the mapped condition. It does not use information on the patch; instead it holds the data locally.

Usage

The condition requires entries in both the boundary and field files.

Boundary file

<patchName>
{
    type            mappedPatch;
    ...
}

Field file

<patchName>
{
    // Mandatory entries
    type                    mappedField;

    // Inherited entries
    ...
}

where:

Property Description Type Required Default
type Type name: mappedField word yes -

The inherited entries are elaborated in:

  • Foam::mappedPatchBase
  • Foam::mappedPatchFieldBase
  • Foam::fixedValueFvPatchField

  • Since this condition can be applied on a per-field and per-patch basis, it is possible to duplicate the mapping information. If possible, employ the mapped condition in preference to avoid this situation, and only employ this condition if it is not possible to change the underlying geometric (poly) patch type to mapped.

Further information

Tutorial:

Source code:

API:

History:

  • Introduced in version 2.1.0