MAGNETICFOAM(1)
π MAGNETICFOAM π
okay bestie, sit DOWN, because we're about to talk about magneticFoam, a certified icon of the OpenFOAM Commands Manual, part of OpenFOAM (The Open Source CFD Toolbox). yes, that OpenFOAM. the CFD toolbox. she's giving legend behaviour and honestly? deserved. π«Ά
β¨ SYNOPSIS β¨
magneticFoam [OPTIONS]
like. that's it. that's the whole vibe. you run the thing, you hand it options, she goes. π
π§² DESCRIPTION π§²
magneticFoam is the solver for the magnetic field generated by permanent magnets. that's her whole job. she looks at your permanent magnets and she tells you what the magnetic field is doing. no cap, she ate. π₯
π OPTIONS π
every single one, in order, no skips, because we do not gatekeep here:
-HdotGradHβ writes the paramagnetic particle force field. yes bestie, the H-dot-grad-H one. say it with me.-casedir β tells her which case directory to use instead of the cwd (current working directory). very "i brought my own folder" of you. π-decomposeParDictfile β use the specified file for thedecomposePardictionary. custom dict, custom energy.-dry-runβ check the case set-up only, using a single time step. a lil peek, no commitment. π-dry-run-writeβ check the case set-up and write, still only using a single time step. so she checks AND she writes. main character behaviour fr fr.-noBβ do not write the magnetic flux density field. B? we don't know her. π-noHβ do not write the magnetic field intensity field. H? also not invited.-parallelβ run in parallel. [Parallel option] multiple cores, multiple vibes, same solve. β‘-docβ display the documentation in your browser. learn the lore.-helpβ display short help and exit. the quick lil recap.-help-fullβ display full help and exit. the whole entire saga.
π ADVANCED OPTIONS π
this is the vip section. the options for when you're lowkey a wizard. π§
-debug-switchname=val β specify the value of a registered debug switch. default is1if you leave the value out. (can be used multiple times, she's flexible like that)-fileHandlerhandler β override the file handler type. you pick the handler, you hold the aux.-hostRoots((host1 dir1) .. (hostN dirN)) β per-host slave root directories for distributed running. the host specification can be a regex. [Parallel option] the host spec being a regex is so slay of her.-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) bring your friends, the more the merrier π-listFunctionObjectsβ listsfunctionObjects. boom. there they are.-listRegisteredSwitchesβ list switches registered for run-time modification (see the-listUnsetSwitchesoption).-listScalarBCsβ list scalar field boundary conditions, akafvPatchField<scalar>. keep that type exactly as written, bestie, it's load-bearing.-listSwitchesβ list switches declared in libraries (see the-listUnsetSwitchesoption).-listUnsetSwitchesβ modifies the switch listing to display values not set inetc/controlDict. the deep lore edition.-listVectorBCsβ list vector field boundary conditions, akafvPatchField<vector>. same deal, exact spelling, no shortcuts.-noFunctionObjectsβ do not execute function objects. they're off the guest list. π«-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 the source code in your browser. go read the actual code, nerd (affectionate) π₯°-help-manβ display full help (manpage format) and exit. it's giving recursive, it's giving meta.-help-notesβ display help notes (description) and exit.
π«Ά tiny reminder bestie: a bunch of these are [Parallel option], so they only make sense in the parallel girlie lifestyle.
π SEE ALSO π
the online documentation, obviously: https://www.openfoam.com/documentation/
go. read. absorb. iykyk. β¨
πΈ COPYRIGHT πΈ
Copyright Β© 2018-2019 OpenCFD Ltd.
periodt. π
that's the whole page, bestie β brought to you by the OpenFOAM Commands Manual over at www.openfoam.com, and the version stamp reads OpenFOAM- with the version bit literally blank, which is honestly so mysterious of her π. mwah, go solve some magnets. π§²ππ¦
π¦ 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