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

πŸ’– SETFIELDS(1) β€” the OpenFOAM Commands Manual glow-up πŸ’–

okay bestie, sit down, hydrate, and let me tell you about setFields β€” it's part of OpenFOAM (aka The Open Source CFD Toolbox, aka the icon, the moment, the blueprint) πŸ¦‹


✨ SYNOPSIS ✨

setFields [OPTIONS]

🌸 DESCRIPTION 🌸

So basically: setFields sets values on a selected set of cells/patch-faces, and it does it via a dictionary. That's it. That's the whole vibe. You point it at a dictionary, it goes and stamps your values onto the cells and patch-faces you picked out. lowkey iconic behavior honestly πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • -case dir β€” tells it which case directory to use instead of the cwd (current working directory). like, "not here, bestie, there" πŸ’
  • -decomposeParDict file β€” use the file you name for the decomposePar dictionary. your dict, your rules 🫢
  • -dict file β€” use an alternative setFieldsDict. wanna swap the dictionary? go off πŸ‘‘
  • -parallel β€” run in parallel. [Parallel option] β€” yes it's tagged, yes it matters, no we do not skip it ✨
  • -region name β€” specify an alternative mesh region. different region, different energy 🌈
  • -doc β€” display documentation in browser. cute little docs pop-up πŸ“–
  • -help β€” display short help and exit. quick lil recap then bye πŸ‘‹
  • -help-full β€” display full help and exit. the whole lore, then exit πŸ’€

πŸ”₯ ADVANCED OPTIONS πŸ”₯

these are for when you're feeling brave, bestie. main character energy only.

  • -debug-switch name=val β€” specify the value of a registered debug switch. if you leave the value out, the default is 1. (Can be used multiple times β€” stack 'em, queen) πŸ›
  • -fileHandler handler β€” override the file handler type. take the wheel, choose your handler πŸŽ€
  • -hostRoots ((host1 dir1) .. (hostN dirN)) β€” per-host slave root directories for distributed running. the host specification can be a regex. [Parallel option] β€” yes the regex thing is real, do not come for me ✨
  • -info-switch name=val β€” specify the value of a registered info switch. value omitted? default is 1. (Can be used multiple times) πŸ“’
  • -lib name β€” additional library or library list to load (can be used multiple times). load up, babe πŸ“š
  • -noFunctionObjects β€” do not execute function objects. sometimes you just gotta say no πŸ™ˆ
  • -opt-switch name=val β€” specify the value of a registered optimisation switch (int/bool). omitted value defaults to 1. (Can be used multiple times) ⚑
  • -roots (dir1 .. dirN) β€” slave root directories for distributed running. [Parallel option] 🌐
  • -doc-source β€” display source code in browser. go read the actual source, nerd (affectionate) πŸ’œ
  • -help-man β€” display full help (manpage format) and exit. meta. we love a self-aware king πŸ“œ
  • -help-notes β€” display help notes (description) and exit. just the notes, no filler πŸ“

πŸ¦‹ SEE ALSO πŸ¦‹

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


Copyright Β© 2018-2019 OpenCFD Ltd.


πŸ’– ok that's the whole page, bestie β€” every flag, every default, every [Parallel option] tag, all of it. no cap.

and for the cute lil sign-off: this page comes to you from the OpenFOAM Commands Manual over at www.openfoam.com, and the version string is literally just OpenFOAM- (yes, with the dash and nothing after it, she's mysterious like that) β€” mwah, go set some fields πŸ’…βœ¨πŸŒΈ