SMAPTOFOAM(1)
π 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 π
-casedir β 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-switchname=val β sets the value of a registered debug switch. if you leave the value out, the default is1. and yes, you can use this multiple times β stack 'em up π₯-fileHandlerhandler β overrides the file handler type. just straight-up saying "no, use this one" π§-info-switchname=val β sets the value of a registered info switch. default is1if you omit the value. (can be used multiple times) π-libname β load an additional library, or a whole list of libraries. (can be used multiple times) π-noFunctionObjectsβ do not execute function objects. periodt. π«-opt-switchname=val β sets the value of a registered optimisation switch, and it takes anint/bool. default is1if 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 π
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 πβ¨
π¦ 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