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

πŸ’– REFINEWALLLAYER πŸ’–

okay bestie, welcome to refineWallLayer, one of the little command-line cuties that ships with OpenFOAM (aka The Open Source CFD Toolbox). it lives in the OpenFOAM Commands Manual and it is, genuinely, a vibe. let's get into it πŸŽ€


✨ NAME ✨

refineWallLayer β€” part of OpenFOAM (The Open Source CFD Toolbox). that's the whole name section, she's lowkey humble like that πŸ’…


🌸 SYNOPSIS 🌸

refineWallLayer [OPTIONS] patches edgeFraction

that's it. options first if you want 'em, then the two things she actually needs from you: patches and edgeFraction. no cap 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

Refine cells next to specified patches. that's the whole tea β˜• β€” she takes the cells hanging out right next to the patches you point at and she refines them. glow-up for your mesh, literally ✨


πŸ“ ARGUMENTS πŸ“

  • patches β€” the list of patch names or a regex, bestie. example given is '(top "Wall.")' so yes you can mix literal names and regex in one list, she's flexible like that πŸ’…
  • edgeFraction β€” the size of the refined cells as a fraction of the edge-length, on a (0,1) interval. so like, a fraction. between zero and one. keep it in the range, okay? πŸ™ˆ

πŸ‘‘ OPTIONS πŸ‘‘

  • -case dir β€” specify the case directory to use (instead of the cwd). basically "not here, over there" πŸ’
  • -decomposeParDict file β€” use the specified file for the decomposePar dictionary
  • -overwrite β€” overwrite existing mesh/results files. she will simply replace your files, no hesitation, so know what you're doing πŸ‘€
  • -parallel β€” run in parallel. this is a Parallel option ⚑
  • -useSet name β€” restrict the cells to refine based on the specified cellSet name. so instead of the whole patch neighbourhood, just your little curated set πŸŽ€
  • -doc β€” display documentation in browser
  • -help β€” display short help and exit
  • -help-full β€” display full help and exit

🌈 ADVANCED OPTIONS 🌈

  • -debug-switch name=val β€” specify the value of a registered debug switch. default is 1 if the value is omitted. (can be used multiple times)
  • -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 β€” specify the value of a registered info switch. default is 1 if the value is omitted. (can be used multiple times)
  • -lib name β€” additional library or library list to load (can be used multiple times)
  • -opt-switch name=val β€” specify 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 source code in 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. that's it. she's there, she does nothing, she's decorative πŸ’… (not me listing an option that literally does nothing, but bestie, completeness is the moment)

πŸ”₯ SEE ALSO πŸ”₯

online documentation, go read it, it's giving scholarly: https://www.openfoam.com/documentation/


Copyright Β© 2018-2019 OpenCFD Ltd.


okay that's the whole page, you ate it, you understood it, you're the main character of CFD now 🌟

and for the cute sign-off: this lil manual came from www.openfoam.com, version OpenFOAM-, and she's filed under REFINEWALLLAYER(1). mwah, go refine something πŸ§šπŸ’–