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

πŸ’– NAME πŸ’–

okay so bestie, welcome to FOAMTOENSIGHT(1) β€” it's a page from the OpenFOAM Commands Manual, and foamToEnsight is literally part of OpenFOAM, aka The Open Source CFD Toolbox. yes. the whole toolbox. she contains multitudes πŸ’…


✨ SYNOPSIS ✨

foamToEnsight [OPTIONS]

that's it. that's the whole vibe. you give her options, she gives you Ensight files πŸ¦‹


🌸 DESCRIPTION 🌸

So what does she actually do, you ask? She translates your OpenFOAM data into Ensight format β€” and not as one big blob, no no. She makes a part for the internalMesh, plus a part for each patch. Every patch gets its own little moment on stage. main character energy for each one, fr fr πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • -ascii β€” write everything in ASCII format instead of the default 'C Binary'. human-readable queen, but bigger files, just saying πŸ“
  • -case dir β€” tell her which case directory to use, instead of the cwd (current working directory, iykyk)
  • -cellZone word β€” pick which cellZone to write
  • -constant β€” include the 'constant/' dir in the times list. she's coming along too 🫢
  • -faceZones wordRes β€” specify one faceZone, or a whole lil list of them, to write. Eg, 'cells' or '( slice "mfp-.*" )'
  • -fields wordRes β€” pick one field or a whole list of fields to write (all of them by default, she's generous like that). Eg, 'T' or '( "U.*" )'
  • -latestTime β€” just grab the latest time. no thoughts, only now ✨
  • -name subdir β€” sub-directory name for the Ensight output. default is 'EnSight'
  • -no-boundary β€” suppress writing any patches. silence them all πŸ’€
  • -no-internal β€” suppress writing the internal mesh. she said not today
  • -no-lagrangian β€” suppress writing lagrangian positions and fields
  • -noZero β€” exclude the '0/' dir from the times list
  • -nodeValues β€” write the values at the nodes
  • -parallel β€” run it in parallel πŸ”₯ [Parallel option]
  • -patches wordRes β€” pick a single patch or multiple patches to write. Eg, 'inlet' or '(outlet "inlet.*")'
  • -region name β€” specify an alternative mesh region
  • -time ranges β€” a whole list of ranges, bestie. Eg, ':10,20 40:70 1000:', 'none', etc
  • -width n β€” width of the Ensight data subdir
  • -doc β€” pop the documentation open in your browser 🌈
  • -help β€” short help, then exit. lil snack πŸŽ€
  • -help-full β€” full help, then exit. the whole meal 😭

πŸ‘‘ ADVANCED OPTIONS πŸ‘‘

  • -debug-switch name=val β€” set the value of a registered debug switch. default is 1 if you omit the value. (can be used multiple times, go off)
  • -decomposeParDict file β€” use the specified file for the decomposePar dictionary
  • -fileHandler handler β€” override the file handler type
  • -hostRoots ((host1 dir1) .. (hostN dirN)) β€” per-host slave root directories for distributed running. the host spec can be a regex, she's flexible like that πŸ’… [Parallel option]
  • -info-switch name=val β€” set the value of a registered info switch. default is 1 if the value is omitted. (can be used multiple times)
  • -lib name β€” an additional library, or a whole list of libraries, to load (can be used multiple times)
  • -noFunctionObjects β€” do not execute function objects
  • -opt-switch name=val β€” set 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 the source code in your browser πŸ‘€
  • -help-compat β€” display compatibility options, then exit
  • -help-man β€” display full help (manpage format), then exit
  • -help-notes β€” display help notes (the description), then exit

πŸ¦‹ COMPATIBILITY OPTIONS πŸ¦‹

okay so these are the old ones. they're giving vintage. still listed, still real, but like β€” they're legacy, bestie.
  • -noLagrangian (now -no-lagrangian) β€” the option was last used in 1806.
  • -noPatches (now -no-boundary) β€” the option was last used in 1806.

🌟 SEE ALSO 🌟

Online documentation, go read it, it's iconic: https://www.openfoam.com/documentation/


Copyright Β© 2018-2019 OpenCFD Ltd.


okay that's the whole page, and now the cute sign-off: this lil masterpiece lives at www.openfoam.com, carries the source/version tag OpenFOAM-, and answers to the manual name FOAMTOENSIGHT(1) β€” so if you ever need her again, that's where to find her 🫢✨ slay, go translate some data, mwah πŸ’–