MHDFOAM(1)
π MHDFOAM(1) π
okay bestie, welcome to mhdFoam β she's part of OpenFOAM (The Open Source CFD Toolbox), and she is so much cooler than her plain little name suggests. this is the page for the mhdFoam command in the OpenFOAM Commands Manual, and we're gonna go through every single flag together, no skipping, no scrolling past the "boring" bits. periodt. β¨
β¨ SYNOPSIS β¨
mhdFoam [OPTIONS]
π¦ DESCRIPTION π¦
so basically: mhdFoam is a solver for magnetohydrodynamics (MHD). it does incompressible, laminar flow of a conducting fluid under the influence of a magnetic field. that's the whole vibe. fluid + magnets + laminar + incompressible, and the solver handles it. main character energy fr fr π₯
π OPTIONS π
-casedir β tell her which case directory to use, instead of just assuming you mean the cwd (current working directory). π-decomposeParDictfile β use the file you specify for thedecomposePardictionary.-dry-runβ check the case set-up only, using a single time step. like a lil rehearsal, no commitment. π-dry-run-writeβ check the case set-up and write, still only using a single time step.-parallelβ run in parallel. [Parallel option] πββοΈπββοΈπββοΈ-postProcessβ executefunctionObjectsonly. nothing else, just the functionObjects.-docβ display documentation in your browser. π-helpβ display short help and exit. (the quick lil snack version)-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) π-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 you omit the value. (can be used multiple times) βΉοΈ-libname β additional library or library list to load (can be used multiple times). π-listFunctionObjectsβ listfunctionObjects.-listRegisteredSwitchesβ list switches registered for run-time modification (see the-listUnsetSwitchesoption).-listScalarBCsβ list scalar field boundary conditions (fvPatchField<scalar>).-listSwitchesβ list switches declared in libraries (see the-listUnsetSwitchesoption).-listUnsetSwitchesβ modifies the switch listing to display values not set inetc/controlDict. π-listVectorBCsβ list vector field boundary conditions (fvPatchField<vector>).-noFunctionObjectsβ do not execute function objects. π ββοΈ-opt-switchname=val β specify the value of a registered optimisation switch (int/bool). default is1if you omit the value. (can be used multiple times)-roots(dir1 .. dirN) β slave root directories for distributed running. [Parallel option]-doc-sourceβ display source code in your browser. π€-help-manβ display full help (manpage format) and exit.-help-notesβ display help notes (description) and exit.
π SEE ALSO π
online documentation, bestie: https://www.openfoam.com/documentation/ β go, slay, read. π«Ά
π COPYRIGHT π
Copyright Β© 2018-2019 OpenCFD Ltd.
and that's the whole thing!! written by the OpenFOAM crew at www.openfoam.com, from the OpenFOAM- source, and this page is dated like a classic manpage footer because that's just how she rolls. mwah π stay conducting, babe β¨π
π¦ 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