POROUSSIMPLEFOAM(1)

πŸ“¦
version 1912.200626 Β· 2 versions
  • 1912.200626 Β· debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu stonking (latest)
  • 2512 Β· nixpkgs unstable
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu stonking

πŸ’– 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:

  • -case dir β€” tell it which case directory to use instead of just vibing in the current working directory (cwd).
  • -decomposeParDict file β€” use a specific file for the decomposePar dictionary. 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 β€” execute functionObjects only. 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-switch name=val β€” set the value of a registered debug switch. if you leave the value off, it defaults to 1. (can be used multiple times, stack 'em up)
  • -fileHandler handler β€” 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-switch name=val β€” set the value of a registered info switch. value omitted? defaults to 1. (can be used multiple times)
  • -lib name β€” load an additional library or a library list. (can be used multiple times)
  • -listFunctionObjects β€” lists the functionObjects.
  • -listFvOptions β€” lists the fvOptions.
  • -listRegisteredSwitches β€” lists switches registered for run-time modification (go peek at the -listUnsetSwitches option too).
  • -listScalarBCs β€” lists scalar field boundary conditions, aka fvPatchField<scalar>.
  • -listSwitches β€” lists switches declared in libraries (again, see the -listUnsetSwitches option).
  • -listTurbulenceModels β€” lists the turbulenceModels.
  • -listUnsetSwitches β€” modifies the switch listing so it displays values not set in etc/controlDict.
  • -listVectorBCs β€” lists vector field boundary conditions, aka fvPatchField<vector>.
  • -noFunctionObjects β€” do not execute function objects. it said what it said.
  • -opt-switch name=val β€” set the value of a registered optimisation switch (int/bool). omit the value and it defaults to 1. (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 Β© 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 πŸ’–β­