Archives

Norm and condition number of a matrix

In a numerical analysis with a vector involvement, norms are essential to predict the various errors involved in the numerical analysis. A norm is a function ||.|| in a vector space V. If A is a n*n matrix, then its norm is a real number and denoted by ||A||. A norm satisfies the following properties: […]

Read More

Dolfin-x: An upgraded version of Dolfin

  FEniCSx is the new version of FEniCS that is currently actively developed. Dolfin-x is the computational environment of FEniCS and implements the FEniCS problem-solving environment in Python and C++. New features in Dolfin-x in addition to existing features of Dolfin include: Variational formulations with complex numbers support Support for quadrilateral and hexahedral elements Higher-order […]

Read More

Calculus with Sympy

Sympy is a python package through which we can perform calculus operations in mathematics like differentiation, integration, limits, infinite series, and so on. It is a python library used mainly for symbolic mathematics. The installation of this library is simple by using the following command: pip install sympy In order to write any symbolic expressions, […]

Read More

Obtaining volume, centre of gravity and inertia matrix from STL file

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 More