DRIFTFLUXFOAM(1)
π DRIFTFLUXFOAM π
okay bestie, so this one lives in the OpenFOAM Commands Manual (that's the Open Source CFD Toolbox, no cap) and it's a whole solver. let's get into it π«Ά
β¨ NAME β¨
driftFluxFoam β part of OpenFOAM (The Open Source CFD Toolbox). that's the whole name, she's lowkey mysterious like that π
β¨ SYNOPSIS β¨
driftFluxFoam [OPTIONS]
β¨ DESCRIPTION β¨
okay so picture this: it's a solver for two incompressible fluids using the mixture approach, with the drift-flux approximation handling the relative motion of the phases. it's giving physics but make it β¨relativeβ¨
it's used for simulating the settling of the dispersed phase and other similar separation problems. so like, when stuff separates out and one phase settles β that's her moment, that's her main character energy π
β¨ OPTIONS β¨
-casedir β tell her which case directory to use instead of the cwd. (the cwd is so last season, we love a specified directory π)-decomposeParDictfile β use the specified file for thedecomposePardictionary. custom dict? iconic.-dry-runβ check the case set-up only, using a single time step. a little vibe check before the real thing π¦-dry-run-writeβ check the case set-up and write, only using a single time step. vibe check + actually commit to the bit.-parallelβ run in parallel. [Parallel option] she's bringing the whole friend group π«-postProcessβ executefunctionObjectsonly. no solving, just the little extras β¨-docβ display documentation in browser. reading is fundamental bestie π-helpβ display short help and exit. the quick version, for when you're in a rush π-help-fullβ display full help and exit. the deluxe version, all the tea β
πΈ ADVANCED OPTIONS πΈ
-debug-switchname=val β specify the value of a registered debug switch. the default is1if the value is omitted. (can be used multiple times β go off, stack them π )-fileHandlerhandler β override the file handler type. you're in charge of the handler now, queen.-hostRoots((host1 dir1) .. (hostN dirN)) β per-host slave root directories for distributed running. the host specification can be a regex. [Parallel option] so fancy β¨-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). collect them all π-listFunctionObjectsβ listfunctionObjects. a little show-and-tell.-listFvOptionsβ listfvOptions. same energy, different list π-listRegisteredSwitchesβ list switches registered for run-time modification (see the-listUnsetSwitchesoption). iykyk.-listScalarBCsβ list scalar field boundary conditions (fvPatchField<scalar>). scalars say hi π-listSwitchesβ list switches declared in libraries (see the-listUnsetSwitchesoption). library switches, the whole crew π«Ά-listUnsetSwitchesβ modifies switch listing to display values not set inetc/controlDict. the ones that didn't show up to the party π-listVectorBCsβ list vector field boundary conditions (fvPatchField<vector>). now the vectors get their turn β-noFunctionObjectsβ do not execute function objects. sorry girlies, they're not coming π-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]. roots, but make them distributed π±-doc-sourceβ display source code in browser. going straight to the source, ngl.-help-manβ display full help (manpage format) and exit. hi, that's literally what you're reading π-help-notesβ display help notes (description) and exit. the notes version, for the lore π
β¨ SEE ALSO β¨
online documentation, bestie: https://www.openfoam.com/documentation/
β¨ COPYRIGHT β¨
Copyright Β© 2018-2019 OpenCFD Ltd.
just a heads up:-parallel,-hostRootsand-rootsare all tagged as [Parallel option], and both-listRegisteredSwitchesand-listSwitchespoint you at-listUnsetSwitchesfor the full picture. also-debug-switch,-info-switch,-opt-switchand-libcan each be used multiple times. don't forget it π«Ά
and that's the whole page, bestie π source and version, as promised: www.openfoam.com, OpenFOAM- β that's the version string, she's a little cryptic but we love her anyway πβ¨ go simulate something gorgeous, mwah π
π¦ 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