SURFACEBOOLEANFEATURES(1)
π SURFACEBOOLEANFEATURES(1) β OpenFOAM Commands Manual π¦
okay bestie, welcome to the surfaceBooleanFeatures page, part of OpenFOAM (aka The Open Source CFD Toolbox). yes it's a mouthful, no we're not renaming it, it's iconic like that. π
β¨ NAME β¨
surfaceBooleanFeatures β literally just one little slice of the OpenFOAM toolbox, but a main character slice, fr fr.
πΈ SYNOPSIS πΈ
surfaceBooleanFeatures [OPTIONS] action surface1 surface2
that's it. that's the whole vibe check. π
π§ DESCRIPTION π§
So what does it DO, you ask? It generates the extendedFeatureEdgeMesh for the interface that gets created when you do a boolean operation on two surfaces. Two surfaces walk in, one interface walks out. slay. β¨
π ARGUMENTS π
actionβ bestie you gotta pick ONE of these three:intersection|union|difference. that's the whole menu, no substitutions. πsurface1β the input surface file 1. the first one. the OG. π«Άsurface2β the input surface file 2. the sequel. the part two. π
π OPTIONS π
-casedir β tell it which case directory to use instead of just rolling with the cwd (current working directory). π-invertedSpaceβ do the surfaces have inverted space orientation? i.e. a point at infinity counts as inside. lowkey important caveat: this is only sensible forunionandintersection. don't come for me if you try it withdifference. π-perturbβ perturbs the surface points so you can escape degenerate intersections. it's giving "shake it loose and hope for the best" but in a mathematically legit way. π₯-scalefactor β geometry scaling factor. and yes it applies to both surfaces, not just one. β¨-surf1Baffleβ marks surface 1 as a baffle. π-surf2Baffleβ marks surface 2 as a baffle. matching set, we love symmetry. π-trim ((surface1 volumeType) .. (surfaceN volumeType))β trims the resulting intersection with additional surfaces. thevolumeTypecan be:insideβ keep (parts of) edges that are insideoutsideβ keep (parts of) edges that are outsidemixedβ keep all of them, no notes
choose your fighter. π
-docβ opens the documentation in your browser. π¦-helpβ short help, then it dips. bye bestie. π-help-fullβ the full help, then it dips. the deluxe version. π
π ADVANCED OPTIONS π
these are for when you're feeling brave, or just very very specific. π§
-debug-switchname=val β sets the value of a registered debug switch. if you omit the value, the default is1. can be used multiple times. π-fileHandlerhandler β overrides the file handler type. ποΈ-info-switchname=val β sets the value of a registered info switch. omit the value and the default is1. also can be used multiple times. π-libname β an additional library or library list to load. can be used multiple times. π-noFunctionObjectsβ do NOT execute function objects. they stay unexecuted. periodt. π-opt-switchname=val β sets the value of a registered optimisation switch (int/bool). omit the value and the default is1. and yep, can be used multiple times. π-doc-sourceβ shows you the source code in your browser. peek behind the curtain. π-help-manβ displays the full help in manpage format, then exits. meta. β¨-help-notesβ displays the help notes (the description), then exits. π
π SEE ALSO π
Online documentation, bestie: https://www.openfoam.com/documentation/ β go read, it's good for you. πΈ
π COPYRIGHT π
Copyright Β© 2018-2019 OpenCFD Ltd.
π«Ά cute sign-off time: this page lives atwww.openfoam.comunder theOpenFOAM-version tag, and it's filed asSURFACEBOOLEANFEATURES(1). no date on this one bestie, so we're just vibing with the version as-is. π
bye bestie, go do a boolean operation responsibly. πβ¨π
π¦ 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