INTERFOAM(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

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

  • -case dir β€” tell her which case directory to use (instead of the cwd, which is where she'd look by default).
  • -decomposeParDict file β€” use the specified file for the decomposePar dictionary.
  • -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 β€” execute functionObjects only.
  • -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-switch name=val β€” specify the value of a registered debug switch. default is 1 if the value is omitted. (Can be used multiple times)
  • -fileHandler handler β€” 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-switch name=val β€” specify the value of a registered info switch. default is 1 if the value is omitted. (Can be used multiple times)
  • -lib name β€” additional library or library list to load (can be used multiple times).
  • -listFunctionObjects β€” list functionObjects.
  • -listFvOptions β€” list fvOptions.
  • -listRegisteredSwitches β€” list switches registered for run-time modification (see -listUnsetSwitches option).
  • -listScalarBCs β€” list scalar field boundary conditions (fvPatchField<scalar>).
  • -listSwitches β€” list switches declared in libraries (see -listUnsetSwitches option).
  • -listTurbulenceModels β€” list turbulenceModels.
  • -listUnsetSwitches β€” modifies switch listing to display values not set in etc/controlDict.
  • -listVectorBCs β€” list vector field boundary conditions (fvPatchField<vector>).
  • -noFunctionObjects β€” do not execute function objects.
  • -opt-switch name=val β€” specify the value of a registered optimisation switch (int/bool). default is 1 if 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-switch and -lib can all be used multiple times β€” stack them like accessories. πŸ’…

🌟 SEE ALSO 🌟

go read it, it's giving knowledge. πŸ“šβœ¨


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. πŸ¦‹πŸ’–πŸŒΈ