WRITEMESHOBJ(1)
π WRITEMESHOBJ π
okay bestie, gather round, because this one is literally part of OpenFOAM (aka The Open Source CFD Toolbox) and it's here to help you peek at your mesh like it's a little art project π¨β¨
β¨ NAME β¨
writeMeshObj β part of OpenFOAM (The Open Source CFD Toolbox). that's the whole vibe. she writes meshes. she's an OBJ girlie. π
πΈ SYNOPSIS πΈ
writeMeshObj [OPTIONS]
that's it. that's the whole summoning ritual. no positional args, just you and a pile of options, iykyk π«Ά
π¦ DESCRIPTION π¦
okay so listen: this is a mesh debugging tool. you know when your mesh is acting up and you're like "girl what is going ON in there"?? this is the answer. it writes the mesh out as separate OBJ files so you can actually look at it with your eyeballs. no cap, it's giving "diagnostic bestie". π₯
π OPTIONS π
-casedir β tell her which case directory to use instead of just chilling in the cwd. π-cellcellId β write the points for the cell you name. just the one. her. π-cellSetname β write points for the cellSet you named. β¨-constantβ include theconstant/dir in the times list. yeah she was leaving it out before. rude of her honestly. πΈ-decomposeParDictfile β use the file you specify for thedecomposePardictionary. π-facefaceId β write the face you specified. that face. the one. π¦-faceSetname β write points for the faceSet you named. π-latestTimeβ select the latest time. newest era only, we don't do nostalgia here β-noZeroβ exclude the0/dir from the times list. bye babe π-parallelβ run in parallel. [Parallel option] β yes that tag matters, keep it in mind bestie π₯-patchEdgesβ write patch boundary edges. edges, but make it patch. π-patchFacesβ write patch faces edges. (yes, "faces edges", that's literally what it says, I don't make the rules π)-pointpointId β write the point you specified. one single point. main character energy. β-regionname β specify an alternative mesh region. π§-timeranges β list of ranges. e.g.':10,20 40:70 1000:','none', etc. π-docβ display documentation in browser. go read, bestie π-helpβ display short help and exit. quick lil snack π-help-fullβ display full help and exit. the whole meal π
π ADVANCED OPTIONS π
-debug-switchname=val β specify the value of a registered debug switch. default is1if you omit the value. (can be used multiple times β go off, stack them π«Ά)-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. read the source, it's slay π-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β this option is ignored. yeah. nothing happens. she's just standing there. π (keep it around for old scripts tho, that's the point of a compatibility option)
π SEE ALSO π
Online documentation: https://www.openfoam.com/documentation/ β go touch grass, but like, the documentation version of grass π±
π COPYRIGHT π
Copyright Β© 2018-2019 OpenCFD Ltd.
okay that's the whole page bestie, you ate, go debug that mesh π β¨
sign-off time: this little icon lives at www.openfoam.com, in the OpenFOAM- release (and yeah, the footer's date slot is just sitting there empty like a manpage with no plans tonight π), and it's filed under WRITEMESHOBJ(1) in the OpenFOAM Commands Manual. mwah, bye π«Άπ
π¦ 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