pyelmer for matrix generation

General discussion about Elmer
Post Reply
relay
Posts: 1
Joined: 02 Sep 2022, 08:47
Antispam: Yes

pyelmer for matrix generation

Post by relay »

Hello,
I am new here. I am building my own FEM tool in python, where I need to generate a mesh (I use gmsh) and then I need to calculate stiffness and mass matrix for linear elasticity, and then do my own stuff with this matrices.
Is it possibble to use pyelmer interface to simply load the mesh and then generate an extract this matrices?
Thanks you,
Gorka
arved
Posts: 27
Joined: 06 Aug 2020, 15:05
Antispam: Yes

Re: pyelmer for matrix generation

Post by arved »

Hi Gorka,

I just found your post by chance. I don't think pyelmer is a good tool for that as it only helps to setup the inputs for Elmer. All computations including the setup of the matrices are performed internally in ElmerSolver. You can have a look at FEniCS, I think it fits better to your problem.

If you've got more pyelmer related questions please use the issue section on github: https://github.com/nemocrys/pyelmer/issues

Best regards
Arved
Post Reply