POROUSSIMPLEFOAM(1)
π POROUSSIMPLEFOAM π
okay bestie, welcome to the porousSimpleFoam page β it's part of OpenFOAM (aka The Open Source CFD Toolbox, you already knew that tho). this is from the OpenFOAM Commands Manual and it's genuinely one of the good ones, so let's get into it π«Ά
β¨ SYNOPSIS β¨
porousSimpleFoam [OPTIONS]
that's it. that's the whole vibe. options only, no positional args, no drama π
πΈ DESCRIPTION πΈ
okay so, steady-state solver for incompressible, turbulent flow with implicit/explicit porosity treatment. yes, porosity β the whole "stuff is flowing through a porous medium" situation. it's giving sponge energy fr fr π§
and it has MRF support too, so rotating zones? handled. iconic.
π OPTIONS π
the standard lineup, no cap:
-casedir β tell it which case directory to use instead of just vibing in the current working directory (cwd).-decomposeParDictfile β use a specific file for thedecomposePardictionary. you're the one picking the file, bestie.-dry-runβ just check the case set-up, using a single time step. no full run, just a little peek π-dry-run-writeβ check the case set-up and write, still only using a single time step.-parallelβ run in parallel.[Parallel option]β this one's a whole category, iykyk.-postProcessβ executefunctionObjectsonly. nothing else, just the function objects, main character energy.-docβ pops the documentation open in your browser π-helpβ short help, then exit. quick lil snack.-help-fullβ full help, then exit. the whole meal π
π« ADVANCED OPTIONS π«
this is where the real ones hang out:
-debug-switchname=val β set the value of a registered debug switch. if you leave the value off, it defaults to1. (can be used multiple times, stack 'em up)-fileHandlerhandler β override the file handler type. you're overriding, periodt.-hostRoots((host1 dir1) .. (hostN dirN)) β per-host slave root directories for distributed running. the host specification can be a regex, so go wild.[Parallel option]-info-switchname=val β set the value of a registered info switch. value omitted? defaults to1. (can be used multiple times)-libname β load an additional library or a library list. (can be used multiple times)-listFunctionObjectsβ lists thefunctionObjects.-listFvOptionsβ lists thefvOptions.-listRegisteredSwitchesβ lists switches registered for run-time modification (go peek at the-listUnsetSwitchesoption too).-listScalarBCsβ lists scalar field boundary conditions, akafvPatchField<scalar>.-listSwitchesβ lists switches declared in libraries (again, see the-listUnsetSwitchesoption).-listTurbulenceModelsβ lists theturbulenceModels.-listUnsetSwitchesβ modifies the switch listing so it displays values not set inetc/controlDict.-listVectorBCsβ lists vector field boundary conditions, akafvPatchField<vector>.-noFunctionObjectsβ do not execute function objects. it said what it said.-opt-switchname=val β set 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β displays the source code in your browser. code reading hour πβ¨-help-manβ full help in manpage format, then exit.-help-notesβ help notes (the description) and exit.
π SEE ALSO π
online documentation, bestie: https://www.openfoam.com/documentation/
π COPYRIGHT π
Copyright Β© 2018-2019 OpenCFD Ltd.
okay that's the whole page! go forth and solve those porous flows, you absolute legend π¦π
and that's a wrap from www.openfoam.com, source/version OpenFOAM- β the OpenFOAM Commands Manual, page POROUSSIMPLEFOAM(1). mwah, bye 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