Adding a function to calculate the moment of inertia of a triangle to
triangle, from: http://en.wikipedia.org/wiki/Inertia_tensor_of_triangle Adding the ability to calculate the inertia tensor of a polygon face by summing the triangle inertias. Added a test application to draw a test face with its principal axes and moments of inertia.
Showing
- applications/test/momentOfInertia/Make/files 3 additions, 0 deletionsapplications/test/momentOfInertia/Make/files
- applications/test/momentOfInertia/Make/options 5 additions, 0 deletionsapplications/test/momentOfInertia/Make/options
- applications/test/momentOfInertia/momentOfInertiaTest.C 112 additions, 0 deletionsapplications/test/momentOfInertia/momentOfInertiaTest.C
- src/OpenFOAM/meshes/meshShapes/face/face.C 38 additions, 1 deletionsrc/OpenFOAM/meshes/meshShapes/face/face.C
- src/OpenFOAM/meshes/meshShapes/face/face.H 9 additions, 0 deletionssrc/OpenFOAM/meshes/meshShapes/face/face.H
- src/OpenFOAM/meshes/primitiveShapes/triangle/triangle.H 10 additions, 1 deletionsrc/OpenFOAM/meshes/primitiveShapes/triangle/triangle.H
- src/OpenFOAM/meshes/primitiveShapes/triangle/triangleI.H 36 additions, 0 deletionssrc/OpenFOAM/meshes/primitiveShapes/triangle/triangleI.H
Please register or sign in to comment