FLATTENMESH(1)
π flattenMesh β the OpenFOAM glow-up for ur 2D mesh π
okay bestie, welcome to the OpenFOAM Commands Manual page for flattenMesh, which is part of OpenFOAM (aka The Open Source CFD Toolbox). yes she's a real one. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
flattenMesh β part of OpenFOAM (The Open Source CFD Toolbox). that's literally the whole vibe of the name section, she's lowkey mysterious about it π
πΈ SYNOPSIS πΈ
flattenMesh [OPTIONS]
that's it. that's the whole invocation. she takes options and she serves. π
π¦ DESCRIPTION π¦
flattenMesh flattens the front and back planes of a 2D cartesian mesh.
that's the entire job. she takes ur 2D cartesian mesh and squishes the front plane and the back plane flat. no cap, that is genuinely all she does, and she does it iconically. π₯
π OPTIONS π
here's where it gets juicy. every single flag, present and accounted for, not one skipped, periodt. β¨
-casedir β specify the case directory to use instead of the current working directory (cwd). basically "bestie, the case isn't here, it's there" π-decomposeParDictfile β use the specified file for thedecomposePardictionary. you get to pick ur own dict file, main character energy π-parallelβ run in parallel. [Parallel option] so like, multiple cores doing the thing at once, we love a group project that actually works π«Ά-docβ display documentation in browser. opens the docs, very demure, very mindful π-helpβ display short help and exit. the snack-sized version π-help-fullβ display full help and exit. the whole entire meal, no crumbs left π
π ADVANCED OPTIONS π
this is the VIP section. iykyk. π§
-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. yes u can just. swap it. go off β¨-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). load her up, she can handle more than one π-noFunctionObjectsβ do not execute function objects. straight up "not today" energy π-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. go read the source bestie, she's not shy π-help-manβ display full help (manpage format) and exit. full help, but make it manpage. this is giving meta π-help-notesβ display help notes (description) and exit. just the description part, a lil taste π
π friendly reminder that-paralleland the-hostRoots/-rootsoptions are all flagged as [Parallel option] β don't be surprised when they're the parallel-flavoured ones, that's literally what the tag means.
π SEE ALSO π
- online documentation:
https://www.openfoam.com/documentation/β go read, she's got lore π
π COPYRIGHT π
copyright Β© 2018-2019 OpenCFD Ltd. β protecting the girlies since 2018 π
www.openfoam.com Β· this page is the OpenFOAM- release line and she's from the OpenFOAM Commands Manual, filed under FLATTENMESH(1). no date on this footer, so she's giving timeless, she's giving era-less, she's giving "i was born this way". π¦ ok that's the whole page bestie, go flatten that mesh, mwah πβ¨
π¦ 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