Month: January 2019
-
Vector Calculus in Bash Scripts
When performing preparatory operations for e.g. CFD or FEM analyses, it is often necessary to specify vector parameters. Vector constants are easy to handle: DIR=“1 0 0″ myMesh –direction „$DIR“ However, it quickly becomes complicated if the vectors have to be manipulated, e.g. multiplied by scalars or rotated. A powerful solution is to use the…