SURFACEINERTIA(1)
π SURFACEINERTIA(1) β OpenFOAM Commands Manual
okay bestie, sit down, hydrate, because we're about to calculate some inertia π this one lives in the OpenFOAM Commands Manual (that's The Open Source CFD Toolbox, no cap) and it's genuinely so iconic.
β¨ NAME β¨
surfaceInertia β part of OpenFOAM (The Open Source CFD Toolbox). yes that's the whole name section, she's lowkey mysterious like that π
π¦ SYNOPSIS π¦
surfaceInertia [OPTIONS] input
πΈ DESCRIPTION πΈ
So the way that this works is: it calculates the inertia tensor plus the principal axes and moments of whatever surface you hand it. main character math fr fr.
And here's the cute part β the inertia can either be of the solid body or of a thin shell. two vibes, one tool. you get to pick β¨
π«Ά ARGUMENTS π«Ά
inputβ the input surface file. that's it, that's the whole argument, she's simple and she knows it π
π OPTIONS π
-case dirβ specify the case directory to use, instead of the cwd. like, use this folder please, not wherever you happen to be standing π-density scalarβ specify density. it's inkg/m3for solid properties andkg/m2for shell properties. units matter bestie, don't come for me π-referencePoint vectorβ inertia relative to this point, not the centre of mass. so you're choosing your own little origin moment, periodt.-shellPropertiesβ inertia of a thin shell. the shell girlies stay winning π¦-docβ display documentation in browser. cute little tab opens, very demure.-helpβ display short help and exit. in and out, no small talk.-help-fullβ display full help and exit. the extended cut, director's version π
β 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. you're in charge now.-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. stack 'em up π§-noFunctionObjectsβ do not execute function objects. respectfully, not today.-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 π₯-doc-sourceβ display source code in browser. go read the lore directly, iykyk π-help-manβ display full help (manpage format) and exit. yes queen, help in the manpage format specifically.-help-notesβ display help notes (description) and exit. the tl;dr but make it a flag π
π SEE ALSO π
- Online documentation: https://www.openfoam.com/documentation/ β go, be nosy, it's encouraged π«Ά
π COPYRIGHT π
Copyright Β© 2018-2019 OpenCFD Ltd. all rights reserved, all slay reserved π
ngl, that's the whole page. every flag, every default, every unit, all present and accounted for. no details were harmed in the making of this rewrite πΈ
okay byeeee, this came from the OpenFOAM Commands Manual at www.openfoam.com, version OpenFOAM-, and honestly? she ate. β¨ππ
π¦ 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