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

Комментарии • 14

  • @Amgad_Abdrabou
    @Amgad_Abdrabou Год назад +3

    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.

  • @GhufranullahKhan-tc2pi
    @GhufranullahKhan-tc2pi Год назад +2

    Amazing! It would be great if could make another video on how to formulate element and global stiffness matrix.

    • @JoseAbell
      @JoseAbell  Год назад +1

      Great suggestion! What elements are you thinking about?

    • @ajarivas72
      @ajarivas72 7 месяцев назад

      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.

  • @ronaldjoseph2925
    @ronaldjoseph2925 20 дней назад

    can I use thos code to clean mesh file to single node entity needed to run in mujoco deformable body flexcomp simulation?

  • @austineadah2843
    @austineadah2843 Месяц назад

    nice tutorials. could you point me to any similar gmesh library or toolbox for visualizing gmesh meshes in MATLAB?

  • @oscarmorello1
    @oscarmorello1 6 месяцев назад +1

    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

    • @JoseAbell
      @JoseAbell  5 месяцев назад +1

      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.

    • @oscarmorello1
      @oscarmorello1 5 месяцев назад

      Muchas gracias
      @@JoseAbell

  • @antonsurviyanto5896
    @antonsurviyanto5896 Год назад +2

    Can gmsh used for frame analysis openseespy Sir?

    • @JoseAbell
      @JoseAbell  Год назад +1

      Yes you can. Just use lines as a geometry on gmsh.

  • @mohamedelmatal6820
    @mohamedelmatal6820 4 месяца назад

    there is a difference between teaching and showing skils .