SURFACEADD(1)
β¨ SURFACEADD(1) β¨
okay bestie, welcome to the OpenFOAM Commands Manual π this one is surfaceAdd β part of OpenFOAM (The Open Source CFD Toolbox), and yes it's exactly as iconic as it sounds π
πΈ SYNOPSIS πΈ
surfaceAdd [OPTIONS] surface1 surface2 output
three little positional args and a whole buffet of options, let's get into it π¦
π«Ά ARGUMENTS π«Ά
surface1β the first input surface file, your OG πsurface2β the second input surface file, the plus-one πoutputβ the output surface file, where the merged masterpiece lands β¨
π DESCRIPTION π
So what does it actually do? It adds two surfaces together via a geometric merge on points. That's the whole vibe.
β οΈ bestie listen β it does not check for overlapping or intersecting triangles. no cap. it will simply not warn you. if your triangles are beefing, that's between you and the triangles π
π OPTIONS π
-casedir β specify the case directory to use, instead of the cwd (the current working directory, if you were wondering π)-mergeRegionsβ combine regions from both surfaces. yes, both of them. slay π«Ά-pointsfile β provide additional points β¨-scalefactor β geometry scaling factor applied on the input surfaces π-docβ display documentation in browser π-helpβ display short help and exit-help-fullβ display full help and exit
π ADVANCED OPTIONS π
this is the VIP section, iykyk π
-debug-switchname=val β specify the value of a registered debug switch. default is1if the value is omitted. (can be used multiple times π)-fileHandlerhandler β override the file handler type-info-switchname=val β specify the value of a registered info switch. default is1if the value is omitted. (can be used multiple times π)-libname β additional library or library list to load (can be used multiple times π)-noFunctionObjectsβ do not execute function objects π«-opt-switchname=val β specify the value of a registered optimisation switch (int/bool). default is1if the value is omitted. (can be used multiple times π)-doc-sourceβ display source code in browser π©βπ»-help-manβ display full help (manpage format) and exit-help-notesβ display help notes (description) and exit
π¦ SEE ALSO π¦
- online documentation at
https://www.openfoam.com/documentation/β go read it, it's giving resources π
π COPYRIGHT π
Copyright Β© 2018-2019 OpenCFD Ltd.
and that's the whole page, bestie π₯Ήπ this beauty lives over at www.openfoam.com, tagged as OpenFOAM- version (the version string is literally just hanging there, empty, mysterious, main character energy fr fr) under the name SURFACEADD(1) β mwah, periodt π
β¨πΈ
π¦ 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