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

πŸ’… 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 πŸ’…

  • -case dir β€” 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 for union and intersection. don't come for me if you try it with difference. πŸ™ˆ
  • -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. πŸ”₯
  • -scale factor β€” 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. the volumeType can be:
    • inside β€” keep (parts of) edges that are inside
    • outside β€” keep (parts of) edges that are outside
    • mixed β€” 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-switch name=val β€” sets the value of a registered debug switch. if you omit the value, the default is 1. can be used multiple times. πŸ”
  • -fileHandler handler β€” overrides the file handler type. πŸ—‚οΈ
  • -info-switch name=val β€” sets the value of a registered info switch. omit the value and the default is 1. also can be used multiple times. πŸ”
  • -lib name β€” an additional library or library list to load. can be used multiple times. πŸ“š
  • -noFunctionObjects β€” do NOT execute function objects. they stay unexecuted. periodt. πŸ’€
  • -opt-switch name=val β€” sets the value of a registered optimisation switch (int/bool). omit the value and the default is 1. 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 Β© 2018-2019 OpenCFD Ltd.


🫢 cute sign-off time: this page lives at www.openfoam.com under the OpenFOAM- version tag, and it's filed as SURFACEBOOLEANFEATURES(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. πŸŒˆβœ¨πŸŽ€