Tensors.jl — Tensor Computations in Julia
Artikel i vetenskaplig tidskrift, 2019

Tensors.jl is a Julia package that provides efficient computations with symmetric and non-symmetric tensors. The focus is on the kind of tensors commonly used in e.g. continuum mechanics and fluid dynamics. Exploiting Julia’s ability to overload Unicode infix operators and using Unicode in identifiers, implemented tensor expressions commonly look very similar to their mathematical writing. This possibly reduces the number of bugs in implementations. Operations on tensors are often compiled into the minimum assembly instructions required, and, when beneficial, SIMD-instructions are used. Computations involving symmetric tensors take symmetry into account to reduce computational cost. Automatic differentiation is supported, which means that most functions written in pure Julia can be efficiently differentiated without having to implement the derivative by hand. The package is useful in applications where efficient tensor operations are required, e.g. in the Finite Element Method.

fluid dynamics

constitutive modeling


continuum mechanics

finite element method


Kristoffer Carlsson

Chalmers, Industri- och materialvetenskap, Material- och beräkningsmekanik

Fredrik Ekre

Chalmers, Industri- och materialvetenskap, Material- och beräkningsmekanik

Journal of Open Research Software

20499647 (eISSN)

Vol. 7 1 7

Variationskonsistent selektiv homogenisering av flerfältsproblem med tillämpning på gradientformulerad modellering av polykristallina material

Vetenskapsrådet (VR) (2013-3901), 2014-01-01 -- 2016-12-31.

Numerisk modellreduktion vid beräkningsbaserad homogenisering av deformation och strömning i porösa medier

Vetenskapsrådet (VR) (2015-05422), 2016-01-01 -- 2019-12-31.


Teknisk mekanik





Mer information

Senast uppdaterat