CREATEBOXTURB(1)
π CREATEBOXTURB π
okay bestie, welcome to the createBoxTurb page β it's a lil tool that's part of OpenFOAM (aka The Open Source CFD Toolbox), and it's genuinely so fun once you know what it does. this is from the OpenFOAM Commands Manual, section 1 (that's the user-commands girlies), and we're gonna go through every single flag together, no skipping, no cap. β¨
πΈ SYNOPSIS πΈ
createBoxTurb [OPTIONS]
that's it, that's the whole vibe. you run it, you give it some options, it does its thing. π«Ά
π¦ DESCRIPTION π¦
okay so here's the tea: createBoxTurb makes you a box of isotropic turbulence β and it builds it based on an energy spectrum that you specify. that's the whole entire job. it's giving "let me just spin up some turbulence real quick" and honestly? iconic. π
β¨ OPTIONS β¨
every flag, every one, here we go:
-casedir β tell it which case directory to use, instead of just rolling with the current working directory (cwd). π-createBlockMeshβ build the block mesh, then dip. exit right after. that's it, that's all she does. π-decomposeParDictfile β use the file you hand it for thedecomposePardictionary. you pick, she obeys. π-parallelβ run it in parallel. this one's a Parallel option, so iykyk. π₯-docβ pops the documentation open in your browser. study buddy mode. π-helpβ shows you the short help, then exits. quick lil hello. π-help-fullβ shows you the FULL help, then exits. the whole lore drop. π
π ADVANCED OPTIONS π
these are for when you're feeling fancy. main character energy only.
-debug-switchname=val β set the value of a registered debug switch. if you leave the value off, the default is1. (Can be used multiple times) so go off. π-fileHandlerhandler β override the file handler type. bossy, but make it yours. ποΈ-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 β set the value of a registered info switch. value omitted? default is1. (Can be used multiple times) π¬-libname β load an additional library, or a whole library list. (can be used multiple times) π-noFunctionObjectsβ do NOT execute function objects. nope. not today. π-opt-switchname=val β set the value of a registered optimisation switch (int/bool). omit the value and you get1by default. (Can be used multiple times) βοΈ-roots(dir1 .. dirN) β slave root directories for distributed running. [Parallel option] π³-doc-sourceβ shows the source code in your browser. peek behind the curtain, bestie. π-help-manβ displays the full help in manpage format, then exits. meta. π-help-notesβ displays the help notes (aka the description), then exits. ποΈ
π reminder bestie: the parallel-flavoured ones (-parallel,-hostRoots,-roots) are Parallel options, so they're living their best life in distributed-running land. don't be surprised when they act like it.
π SEE ALSO π
- Online documentation β
https://www.openfoam.com/documentation/
go read it, it's right there. π¦
π COPYRIGHT π
Copyright Β© 2018-2019 OpenCFD Ltd.
okay that's the whole page, you ate it, you understood it, you're basically a turbulence girlie now. π
signing off from www.openfoam.com, version OpenFOAM-, under the manual section CREATEBOXTURB(1) β periodt. β¨ππ«Ά
π¦ 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