Example 36 - Nearly Incompressible Hyperelasticity: XDMF Export (Meshio Error)
See original GitHub issueHi,
in Example 36, line 256, I had to transpose the mesh points to be able to export the XDMF file.
Code as is
Mesh(mesh.p, cells={"tetra": mesh.t.T},
should be changed to
Mesh(mesh.p.T, cells={"tetra": mesh.t.T},
Best regards, Andreas
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
meshio fails when number of cells is too high #1008 - GitHub
Unfortunately I get an error when meshio is called to convert the gmsh file to XDMF. I simplified the mesh here so that...
Read more >Transitioning from mesh.xml to mesh.xdmf, from dolfin-convert ...
I have read that the support from dolfin-convert is almost nill and will soon be deprecated. This means I have to change the...
Read more >latest PDF - FEniCS hands-on tutorial
We leave as an exercise to add XDMF output for plotting in Paraview. Show/Hide Code. Download Code from dolfin import * import matplotlib.pyplot ......
Read more >2.4.3 Nearly-Incompressible Hyperelasticity
A material is considered incompressible if it shows no change in volume during deformation, or otherwise stated, if J=1 holds throughout the entire...
Read more >meshio - PyPI
meshio convert input.msh output.vtk # convert between two formats meshio info input.xdmf # show some info about the mesh meshio compress input.vtu ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I wonder why this example is not using
Mesh.save
…Makes sense,
meshio
usually expects one point per row. Thanks for pointing it out!