SUBSETMESH(1)

πŸ“¦
version 1912.200626 Β· 2 versions
  • 1912.200626 Β· debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu stonking (latest)
  • 2512 Β· nixpkgs unstable
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu stonking

πŸ’– 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 the cellSet name, periodt. but if you've got the -zone option 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 πŸ’…

  • -case dir β€” tell it which case directory to use (instead of the cwd, bestie)
  • -decomposeParDict file β€” use the specified file for the decomposePar dictionary
  • -overwrite β€” overwrite existing mesh/results files. bold move. 😭
  • -parallel β€” run in parallel. [Parallel option] β€” she's multithreaded, she's thriving πŸ”₯
  • -patch name β€” add exposed internal faces to the specified patch instead of "oldInternalFaces"
  • -patches wordRes β€” add exposed internal faces to the closest of the specified patches instead of "oldInternalFaces"
  • -region name β€” specify an alternative mesh region
  • -resultTime time β€” specify a time for the resulting mesh ⏰
  • -zone β€” subset with cellZone(s) instead of cellSet. 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-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)
  • -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-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 Β© 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 πŸ’œ