REFINEMESH(1)
π REFINEMESH π
okay bestie, welcome to refineMesh β it's part of OpenFOAM (The Open Source CFD Toolbox) π«Ά and it lives in the OpenFOAM Commands Manual, section 1. yes we're in the real docs now, get comfy β¨
β¨ SYNOPSIS β¨
refineMesh [OPTIONS]
that's it. that's the whole vibe check. you run it, you give it options, it does its thing π
πΈ DESCRIPTION πΈ
Refine cells in multiple directions. π
likeβ¦ it takes your cells and it makes them more. multiple directions of more. it's giving "zoom in but for your mesh" π no cap.
π¦ OPTIONS π¦
-allβ refine all the cells, every single one, no favourites, no picking and choosing, the whole roster gets refined π-casedir β tell it which case directory to use, instead of just going with the current working directory (cwd) like a lost little lamb π-decomposeParDictfile β use the file you specify for thedecomposePardictionary. your dict, your rules β¨-dictfile β use an alternativerefineMeshDictinstead of the default one. spicy swap π₯-overwriteβ overwrite existing mesh/results files. > careful bestie, this one does NOT ask permission, it just goes π-parallelβ run in parallel. [Parallel option] β many processes, one dream π-regionname β specify an alternative mesh region. not the main character mesh, a different one π-docβ display the documentation in your browser π-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. if you leave the value out, the default is1. (can be used multiple times, go off) π-fileHandlerhandler β override the file handler type. yes you can justβ¦ override it. iconic π-hostRoots((host1 dir1) .. (hostN dirN)) β per-host slave root directories for distributed running. the host specification can be a regex. [Parallel option] β regex? in MY host spec? it's more likely than you think β¨-info-switchname=val β specify the value of a registered info switch. if you omit the value, default is1. (can be used multiple times) π’-libname β additional library or library list to load (can be used multiple times). load up, bestie π-opt-switchname=val β specify the value of a registered optimisation switch (int/bool). omit the value and it defaults to1. (can be used multiple times) βοΈ-roots(dir1 .. dirN) β slave root directories for distributed running. [Parallel option] π³-doc-sourceβ display the source code in your browser. peek behind the curtain, you deserve it π-help-compatβ display compatibility options and exit π§©-help-manβ display full help (manpage format) and exit. yes, this exact energy, in a terminal π-help-notesβ display help notes (description) and exit π
π COMPATIBILITY OPTIONS π
-noFunctionObjectsβ this option is ignored. it's literally just there. it's a decoration. it's a vibe. do not expect anything from it π«₯
π SEE ALSO π
Online documentation: https://www.openfoam.com/documentation/
(go read it, i'll wait, it's lowkey good) π
π COPYRIGHT π
Copyright Β© 2018-2019 OpenCFD Ltd.
okay that's the whole page, mwah π this was REFINEMESH(1) from the OpenFOAM Commands Manual, brought to you by www.openfoam.com and the OpenFOAM- version line β she's serving OpenFOAM, she's serving command-line manual realness, periodt. now go refine some cells, bestie π§β¨π
π¦ 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