INTERFOAM(1)
π interFoam π
okay bestie, sit down, hydrate, because we're about to talk about interFoam β and yes, it's part of OpenFOAM (The Open Source CFD Toolbox), and yes, it is that girl. This whole thing lives in the OpenFOAM Commands Manual, so likeβ¦ you already know it's iconic. π«Ά
β¨ NAME β¨
interFoam β part of OpenFOAM (The Open Source CFD Toolbox). she's a solver. she's a legend. periodt. π
πΈ SYNOPSIS πΈ
interFoam [OPTIONS]
that's it. that's the whole summoning ritual. no positional args, just options, bestie. π
π¦ DESCRIPTION π¦
okay so, what does she actually do? interFoam is a solver for two incompressible, isothermal immiscible fluids using VOF phase-fraction based interface capturing. two fluids. not mixing. not blending. literally refusing to combine, and we respect that energy fr fr. π
and the plot twist? she comes with optional mesh motion and mesh topology changes including adaptive re-meshing. so the mesh can move, the topology can change, and she can re-mesh adaptively on top of that. main character behaviour honestly. πβ¨
π OPTIONS π
here's the whole menu, no skips, no cuts. every single one. π
-casedir β tell her which case directory to use (instead of the cwd, which is where she'd look by default).-decomposeParDictfile β use the specified file for thedecomposePardictionary.-dry-runβ just check the case set-up, using a single time step. a little vibe check before the real thing. π§-dry-run-writeβ check the case set-up and write, using a single time step.-parallelβ run in parallel. [Parallel option]-postProcessβ executefunctionObjectsonly.-docβ display documentation in the browser. π-helpβ display short help and exit.-help-fullβ display full help and exit.
π ADVANCED OPTIONS π
these are the deep cuts, iykyk. π₯
-debug-switchname=val β specify the value of a registered debug switch. default is1if the value is omitted. (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 the value is omitted. (Can be used multiple times)-libname β additional library or library list to load (can be used multiple times).-listFunctionObjectsβ listfunctionObjects.-listFvOptionsβ listfvOptions.-listRegisteredSwitchesβ list switches registered for run-time modification (see-listUnsetSwitchesoption).-listScalarBCsβ list scalar field boundary conditions (fvPatchField<scalar>).-listSwitchesβ list switches declared in libraries (see-listUnsetSwitchesoption).-listTurbulenceModelsβ listturbulenceModels.-listUnsetSwitchesβ modifies 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 the value is omitted. (Can be used multiple times)-roots(dir1 .. dirN) β slave root directories for distributed running. [Parallel option]-doc-sourceβ display source code in the browser. π-help-manβ display full help (manpage format) and exit.-help-notesβ display help notes (description) and exit.
bestie note: several of these bad boys are marked [Parallel option], so if you're not running parallel they're just sitting there looking cute. and remember-debug-switch,-info-switch,-opt-switchand-libcan all be used multiple times β stack them like accessories. π
π SEE ALSO π
- Online documentation:
https://www.openfoam.com/documentation/
go read it, it's giving knowledge. πβ¨
π COPYRIGHT π
Copyright Β© 2018-2019 OpenCFD Ltd.
and that's the whole page, bestie!! π the footer round here says www.openfoam.com, version stamp OpenFOAM-, and the date slot is just kinda vibing empty β so consider this your cute little sign-off. go run some two-phase flow, you're gonna slay. π¦ππΈ
π¦ 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