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

# checkMesh(1)

part of OpenFOAM (The Open Source CFD Toolbox).

## NAME

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

## SYNOPSIS

**checkMesh** \[*OPTIONS*\]

## DESCRIPTION

```
Checks validity of a mesh
```

## OPTIONS

- **-allGeometry**

  Include bounding box checks

- **-allTopology**

  Include extra topology checks

- **-case** *dir*

  Specify case directory to use (instead of the cwd)

- **-constant**

  Include the 'constant/' dir in the times list

- **-decomposeParDict** *file*

  Use specified file for decomposePar dictionary

- **-latestTime**

  Select the latest time

- **-meshQuality**

  Read user-defined mesh quality criteria from system/meshQualityDict

- **-noTopology**

  Skip checking the mesh topology

- **-noZero**

  Exclude the '0/' dir from the times list

- **-parallel**

  Run in parallel **\[Parallel option\]**

- **-region** *name*

  Specify alternative mesh region

- **-time** *ranges*

  List of ranges. Eg, ':10,20 40:70 1000:', 'none', etc

- **-writeAllFields**

  Write volFields with mesh quality parameters

- **-writeFields** *wordList*

  Write volFields with selected mesh quality parameters

- **-writeSets** *surfaceFormat*

  Reconstruct and write all faceSets and cellSets in selected format

- **-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

- **-hostRoots** *((host1 dir1) .. (hostN dirN))*

  Per-host slave root directories for distributed running. The host specification can be a regex. **\[Parallel option\]**

- **-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)

- **-roots** *(dir1 .. dirN)*

  Slave root directories for distributed running **\[Parallel option\]**

- **-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.
