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

πŸ’– SMAPTOFOAM πŸ’–

okay bestie, sit DOWN, because this one is genuinely part of OpenFOAM (The Open Source CFD Toolbox) and it's here to do one very specific little job. it's in the OpenFOAM Commands Manual, section 1, and it eats STARCD SMAP files for breakfast and spits out OpenFOAM fields. iconic behavior, honestly.


✨ SYNOPSIS ✨

smapToFoam [OPTIONS] SMAP fileName

🌸 DESCRIPTION 🌸

bestie. listen. it translates a STARCD SMAP data file into OpenFOAM field format. that's the whole vibe. that's the mission. no cap.


πŸŽ€ ARGUMENTS πŸŽ€

  • SMAP fileName β€” the actual file you're handing over. the SMAP data file. the main character. give it what it wants 🫢

πŸ’… OPTIONS πŸ’…

  • -case dir β€” tell it which case directory to use, instead of just vibing in the cwd (the current working directory). use this when you're not already standing in the right place πŸ¦‹
  • -doc β€” pops the documentation open in your browser. cozy. ✨
  • -help β€” shows the short help and then dips immediately. quick lil hello πŸ‘‹
  • -help-full β€” shows the FULL help and exits. the whole lore, every crumb πŸ’€

⭐ ADVANCED OPTIONS ⭐

these are the deep cuts. iykyk.

  • -debug-switch name=val β€” sets the value of a registered debug switch. if you leave the value out, the default is 1. and yes, you can use this multiple times β€” stack 'em up πŸ”₯
  • -fileHandler handler β€” overrides the file handler type. just straight-up saying "no, use this one" 🧚
  • -info-switch name=val β€” sets the value of a registered info switch. default is 1 if you omit the value. (can be used multiple times) πŸ’œ
  • -lib name β€” load an additional library, or a whole list of libraries. (can be used multiple times) πŸ“š
  • -noFunctionObjects β€” do not execute function objects. periodt. 🚫
  • -opt-switch name=val β€” sets the value of a registered optimisation switch, and it takes an int/bool. default is 1 if you omit the value. (can be used multiple times) βš™οΈ
  • -doc-source β€” opens the source code in your browser. go look at the actual guts, bestie πŸ‘€
  • -help-man β€” displays the full help in manpage format and exits πŸŽ€
  • -help-notes β€” displays the help notes (aka the description) and exits πŸ“

🌈 SEE ALSO 🌈

online documentation is right here, go be nosy: https://www.openfoam.com/documentation/


Copyright Β© 2018-2019 OpenCFD Ltd.


and that's the whole page, bestie!! tysm for reading, you ate πŸ’– this one lives over at www.openfoam.com, it's tagged OpenFOAM- (version and all, exactly as written, no edits from me), and yeah β€” you're literally reading the SMAPTOFOAM(1) page. mwah πŸŽ€βœ¨