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.


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

Boundary file

    type            mappedPatch;

Field file

    // Mandatory entries
    type                    mappedField;

    // Inherited entries


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


Source code:



  • Introduced in version 2.1.0