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

✨ SETEXPRFIELDS(1) ✨

okay bestie, gather round 🫢 this is setExprFields, and it's part of OpenFOAM (The Open Source CFD Toolbox). yes, that OpenFOAM. the CFD one. she's an icon, she's a legend, and this page is literally just about her.


🌸 SYNOPSIS 🌸

setExprFields [OPTIONS]

that's it. that's the whole vibe check. options go in, magic comes out πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

ngl, the original is out here giving us nothing:

No description available

that's the whole description, bestie. no notes. no lore. we move 😭


πŸ’– OPTIONS πŸ’–

here's the full menu, no skips, no skimming, we read every single one fr fr ✨

  • -case dir β€” point at the case directory you wanna use, instead of just vibing in the cwd 🏠
  • -decomposeParDict file β€” use this specific file for the decomposePar dictionary
  • -dict file β€” an alternative dictionary for setExprFieldsDict
  • -dry-run β€” evaluate everything but don't write anything. all the thinking, zero of the commitment πŸ’€
  • -latestTime β€” grab the latest time, obviously πŸ‘‘
  • -noZero β€” kick the '0/' dir out of the times list 🚫
  • -parallel β€” run it in parallel. [Parallel option] πŸ”₯
  • -region name β€” specify an alternative mesh region
  • -time ranges β€” list of ranges. like ':10,20 40:70 1000:', 'none', etc. yes those are literal, copy them exactly bestie πŸ“‹
  • -doc β€” pop the documentation open in your browser 🌈
  • -help β€” short help, then exit
  • -help-full β€” the full help, then exit

πŸ’… ADVANCED OPTIONS πŸ’…

this is where the real ones live. main character energy only πŸŽ€

  • -condition logic β€” the logical condition for when to apply the expression (command-line operation)
  • -create β€” create a new field (command-line operation) ✨
  • -debug-parser β€” extra debugging info, for when you need to see everything
  • -debug-switch name=val β€” set the value of a registered debug switch. default is 1 if you leave the value out. (can be used multiple times, go off)
  • -dimension dims β€” the dimensions to apply for created fields (command-line operation)
  • -dummy-phi β€” (command-line operation)
  • -expression expr β€” the expression to evaluate (command-line operation)
  • -field name β€” The field to overwrite command-line operation)
  • -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 β€” set the value of a registered info switch. default is 1 if the value is omitted. (can be used multiple times)
  • -keepPatches β€” leave patches unaltered (command-line operation) 🫢
  • -lib name β€” additional library or library list to load (can be used multiple times)
  • -no-variable-cache β€” disable caching of expression variables
  • -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]
  • -value-patches (patches) β€” a list of patches that receive a fixed value (command-line operation)
  • -verbose β€” extra verbosity, for the girlies who need the tea β˜•
  • -withFunctionObjects β€” execute functionObjects
  • -doc-source β€” display the source code in your browser πŸ‘©β€πŸ’»
  • -help-compat β€” display compatibility options and exit
  • -help-man β€” display full help (manpage format) and exit
  • -help-notes β€” display help notes (description) and exit

🧚 COMPATIBILITY OPTIONS 🧚

  • -noFunctionObjects β€” This option is ignored. literally nothing happens. it's giving decorative πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Online documentation: https://www.openfoam.com/documentation/


Copyright Β© 2018-2019 OpenCFD Ltd.


and that's the whole page, bestie!! πŸ’– this gem ships with OpenFOAM over at www.openfoam.com, version-tagged as OpenFOAM- on the footer, and dated... well, the date field is empty, so we're leaving it blank like a mystery πŸŽ€ mwah, bye!! πŸ¦‹βœ¨