.TH "SUBSETMESH" 1 "OpenFOAM-" "www.openfoam.com" "OpenFOAM Commands Manual" .SH "NAME" subsetMesh \- part of \fBOpenFOAM\fR (The Open Source CFD Toolbox). .SH "SYNOPSIS" \fBsubsetMesh\fR [\fIOPTIONS\fR] \fIcell-selection\fR .SH "DESCRIPTION" .nf Create a mesh subset for a particular region of interest based on a cellSet or cellZone(s) specified as the first command argument. See setSet/topoSet utilities on how to select cells based on various shapes. .fi .SH "ARGUMENTS" .TP \fIcell-selection\fR The cellSet name, but with the -zone option this is interpreted to be a cellZone selection by name(s) or regex. Eg 'mixer' or '( mixer "moving.*" )' .SH "OPTIONS" .TP \fB\-case\fR \fIdir\fR Specify case directory to use (instead of the cwd) .TP \fB\-decomposeParDict\fR \fIfile\fR Use specified file for decomposePar dictionary .TP \fB\-overwrite\fR Overwrite existing mesh/results files .TP \fB\-parallel\fR Run in parallel \fB[Parallel option]\fR .TP \fB\-patch\fR \fIname\fR Add exposed internal faces to specified patch instead of "oldInternalFaces" .TP \fB\-patches\fR \fIwordRes\fR Add exposed internal faces to closest of specified patches instead of "oldInternalFaces" .TP \fB\-region\fR \fIname\fR Specify alternative mesh region .TP \fB\-resultTime\fR \fItime\fR Specify a time for the resulting mesh .TP \fB\-zone\fR Subset with cellZone(s) instead of cellSet. The command argument may be a list of words or regexs .TP \fB\-doc\fR Display documentation in browser .TP \fB\-help\fR Display short help and exit .TP \fB\-help-full\fR Display full help and exit .SS "ADVANCED OPTIONS" .TP \fB\-debug-switch\fR \fIname=val\fR Specify the value of a registered debug switch. Default is 1 if the value is omitted. (Can be used multiple times) .TP \fB\-fileHandler\fR \fIhandler\fR Override the file handler type .TP \fB\-hostRoots\fR \fI((host1 dir1) .. (hostN dirN))\fR Per-host slave root directories for distributed running. The host specification can be a regex. \fB[Parallel option]\fR .TP \fB\-info-switch\fR \fIname=val\fR Specify the value of a registered info switch. Default is 1 if the value is omitted. (Can be used multiple times) .TP \fB\-lib\fR \fIname\fR Additional library or library list to load (can be used multiple times) .TP \fB\-opt-switch\fR \fIname=val\fR Specify the value of a registered optimisation switch (int/bool). Default is 1 if the value is omitted. (Can be used multiple times) .TP \fB\-roots\fR \fI(dir1 .. dirN)\fR Slave root directories for distributed running \fB[Parallel option]\fR .TP \fB\-doc-source\fR Display source code in browser .TP \fB\-help-compat\fR Display compatibility options and exit .TP \fB\-help-man\fR Display full help (manpage format) and exit .TP \fB\-help-notes\fR Display help notes (description) and exit .SS "COMPATIBILITY OPTIONS" .TP \fB\-noFunctionObjects\fR This option is ignored .SH "SEE ALSO" Online documentation https://www.openfoam.com/documentation/ .SH COPYRIGHT Copyright \(co 2018-2019 OpenCFD Ltd.