---
name: "mapFields"
section: "1"
platform: "linux"
package: "openfoam"
version: "1912.200626-3+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mapFields"
---

# mapFields(1)

part of OpenFOAM (The Open Source CFD Toolbox).

## NAME

mapFields - part of **OpenFOAM** (The Open Source CFD Toolbox).

## SYNOPSIS

**mapFields** \[*OPTIONS*\] *sourceCase*

## DESCRIPTION

```
Map volume fields from one mesh to another
```

## ARGUMENTS

- *sourceCase*

  ## OPTIONS

- **-case** *dir*

  Specify case directory to use (instead of the cwd)

- **-consistent**

  Source and target geometry and boundary conditions identical

- **-mapMethod** *word*

  Specify the mapping method

- **-parallelSource**

  The source is decomposed

- **-parallelTarget**

  The target is decomposed

- **-sourceDecomposeParDict** *file*

  Read decomposePar dictionary from specified location

- **-sourceRegion** *word*

  Specify the source region

- **-sourceTime** *scalar\|'latestTime'*

  Specify the source time

- **-subtract**

  Subtract mapped source from target

- **-targetDecomposeParDict** *file*

  Read decomposePar dictionary from specified location

- **-targetRegion** *word*

  Specify the target region

- **-doc**

  Display documentation in browser

- **-help**

  Display short help and exit

- **-help-full**

  Display full help and exit

### ADVANCED OPTIONS

- **-debug-switch** *name=val*

  Specify the value of a registered debug switch. Default is 1 if the value is omitted. (Can be used multiple times)

- **-fileHandler** *handler*

  Override the file handler type

- **-info-switch** *name=val*

  Specify the value of a registered info switch. Default is 1 if the value is omitted. (Can be used multiple times)

- **-lib** *name*

  Additional library or library list to load (can be used multiple times)

- **-noFunctionObjects**

  Do not execute function objects

- **-opt-switch** *name=val*

  Specify the value of a registered optimisation switch (int/bool). Default is 1 if the value is omitted. (Can be used multiple times)

- **-doc-source**

  Display source code in browser

- **-help-man**

  Display full help (manpage format) and exit

- **-help-notes**

  Display help notes (description) and exit

## SEE ALSO

Online documentation https://www.openfoam.com/documentation/

## COPYRIGHT

Copyright © 2018-2019 OpenCFD Ltd.
