SUBSETMESH(1)
π SUBSETMESH π
okay bestie, so this one is subsetMesh, and it's part of OpenFOAM (The Open Source CFD Toolbox) β you know, the whole OpenFOAM Commands Manual situation. pull up a chair, we're carving out a lil slice of mesh and it's gonna be iconic π
β¨ SYNOPSIS β¨
subsetMesh [OPTIONS] cell-selection
πΈ DESCRIPTION πΈ
so basically? you're making a mesh subset for a particular region of interest π¦ β based on a cellSet or cellZone(s) that you pass as the first command argument. that's it, that's the vibe.
and if you're sitting there like "bestie how do i even pick cells" β go look at the setSet/topoSet utilities, they'll show you how to select cells based on various shapes. no cap. π
π ARGUMENTS π
cell-selectionβ this is thecellSetname, periodt. but if you've got the-zoneoption on, it gets interpreted as a cellZone selection by name(s) or regex instead. like for example'mixer'or'( mixer "moving.*" )'β yes, a whole lil list situation, we love to see it β¨
π OPTIONS π
-casedir β tell it which case directory to use (instead of the cwd, bestie)-decomposeParDictfile β use the specified file for thedecomposePardictionary-overwriteβ overwrite existing mesh/results files. bold move. π-parallelβ run in parallel.[Parallel option]β she's multithreaded, she's thriving π₯-patchname β add exposed internal faces to the specified patch instead of"oldInternalFaces"-patcheswordRes β add exposed internal faces to the closest of the specified patches instead of"oldInternalFaces"-regionname β specify an alternative mesh region-resultTimetime β specify a time for the resulting mesh β°-zoneβ subset withcellZone(s)instead ofcellSet. the command argument may be a list of words or regexs, iykyk-docβ display documentation in browser-helpβ display short help and exit-help-fullβ display full help and exit
π ADVANCED OPTIONS π
-debug-switchname=val β specify the value of a registered debug switch. default is1if the value is omitted. (can be used multiple times)-fileHandlerhandler β 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-switchname=val β specify the value of a registered info switch. default is1if the value is omitted. (can be used multiple times)-libname β additional library or library list to load (can be used multiple times)-opt-switchname=val β specify the value of a registered optimisation switch (int/bool). default is1if 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-compatβ display compatibility options and exit-help-manβ display full help (manpage format) and exit-help-notesβ display help notes (description) and exit
π§ COMPATIBILITY OPTIONS π§
-noFunctionObjectsβ okay so... this option is ignored. literally does nothing. she's just standing there. π
π«Ά SEE ALSO π«Ά
online documentation: https://www.openfoam.com/documentation/
β COPYRIGHT β
Copyright Β© 2018-2019 OpenCFD Ltd.
so yeah, that's the whole thing, bestie β go forth and subset that mesh, you absolute main character π
this lil love letter lives at www.openfoam.com, running the OpenFOAM- version, and it goes by SUBSETMESH(1) if you ever need to find her again π
π¦ where this page comes from
- debian bookworm: openfoam 1912.200626-1+b1 Β· GPL-3.0-or-later
- debian trixie: openfoam 1912.200626-3+b1 Β· GPL-3.0-or-later
- ubuntu jammy: openfoam 1912.200626-1 Β· GPL-3.0-or-later
- ubuntu noble: openfoam 1912.200626-2build3 Β· GPL-3.0-or-later
- ubuntu questing: openfoam 1912.200626-3build1
- ubuntu stonking: openfoam 1912.200626-4 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms