gmsh + python: how to access mesh information from scripts
HTML-код
- Опубликовано: 16 сен 2024
- In this video, I teach you to read gmsh .msh files from python using the gmsh library. With this we can build finite element codes or run other programs that use the mesh information. Later we can visualize the results in gmsh again.
------
www.joseabell.com
Thank you so much, I started to learn both of gmsh & python recently, the video is so helpful. I aim to use gmsh with python to model electromagnetic problems.
Glad it helped!
Amazing! It would be great if could make another video on how to formulate element and global stiffness matrix.
Great suggestion! What elements are you thinking about?
Soon we will write our own FEA and CFD codes.
Later, the IA will learn how to do FEA and CFD jobs using all the information, videos and equations on the Internet.
Few years more and the IA will do theses analysis instantaneously without using a single equation or code.
can I use thos code to clean mesh file to single node entity needed to run in mujoco deformable body flexcomp simulation?
nice tutorials. could you point me to any similar gmesh library or toolbox for visualizing gmesh meshes in MATLAB?
Hola. Como podría generar una matriz sparse de esa malla? Y cómo podria hacer un grafo a partir de algunos puntos elementos de la malla? Gracias
scipy.sparse tiene todo lo que necesitas. Para grafos recomiendo networkx donde dependiendo lo que quieras puedes asignar cosas a los arcos y a los nodos del grafo.
Muchas gracias
@@JoseAbell
Can gmsh used for frame analysis openseespy Sir?
Yes you can. Just use lines as a geometry on gmsh.
there is a difference between teaching and showing skils .