Meshes from Pointwise? #3585
-
Hi, I use Pointwise for meshing, which has a native MFEM exporter, but the actual meshes from it have always been quite incorrect. For example, here is a very simple mesh I made in Pointwise: After exporting it, the mesh file (with extension .mesh changed to .txt so I may paste it here) is attached: rectangle.txt After running with it and outputting to Paraview (on a purely just thermal conduction simulation run), the output looks like this: Is this an issue others have dealt with before? Is there any way around this? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Hi @j-signorelli, I opened your file in |
Beta Was this translation helpful? Give feedback.
-
Ping @dbgarlisch |
Beta Was this translation helpful? Give feedback.
-
In a debug MFEM build, this mesh triggers an error:
The source code locations from the backtrace are:
This means that there are some elements in the mesh that use vertex indices larger than the declared number of vertices -- specifically some elements uses index 2500 and there are 2500 vertices. |
Beta Was this translation helpful? Give feedback.
-
Looking at the mesh file, I suspect that the vertex indices describing the elements and the boundary need to be shifted down by 1 to be in the range 0-2499 instead of 1-2500. |
Beta Was this translation helpful? Give feedback.
Looking at the mesh file, I suspect that the vertex indices describing the elements and the boundary need to be shifted down by 1 to be in the range 0-2499 instead of 1-2500.