REFINEWALLLAYER(1)
π 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 thedecomposePardictionary-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 specifiedcellSetname. 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 is1if 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 is1if 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 is1if 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 π
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 π§π
π¦ 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