In order to get the details about the volume, centre of gravity and inertia matrix from the STL file of the geometry, we use the numpy-stl python library. It is an efficient and simple library to make work with STL files. The installation of this library is done using command:pip install numpy-stlAfter installing this package, […]
Read MoreVector and Matrix Operations in PETSc (via petsc4py)
- September 30, 2021
- 1 Comment
Through this post, you will learn how to do basic vector and matrix operations through petsc4py and how to solve a small linear problem using petsc4py. In addition, FEniCS PETSc formats and conversions are also briefly mentioned.
Read More