-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ND_R2D visualization with glvis fails #291
Comments
I noticed that loading an H1^3 space also causes glvis to crash. To be clear, the header of the solution file contains:
The errors are different from the ones reported above (no segfault), so this might be different / unrelated issue. But I thought I'd report anyway. I get various errors, like:
and
|
Can you post the mesh and the grid function you are trying to load? |
Of course. Please find attached 1 mesh and 3 grid functions for that mesh. (1x ND_R2D and 2x H1^3) |
Oh, currently you can't visualize 3D vector field on a 2D mesh. One way to do that will be to make the 2D mesh into a surface mesh embedded in 3D -- see this version. That worked for me with the first two examples. |
Ahh!! And with the changes in MFEM suggested in mfem/mfem#4403, the ND_R2D vector field also loads on this surface mesh. What would be the "proper" way of generating such a surface mesh from an existing 2D mesh? I found the following to work, but I am not sure if this is the right way to go: mfem::Mesh surf_mesh(m_mesh);
surf_mesh.SetCurvature(m_element_order,false,3);
surf_mesh.Save("surf-mesh.mesh"); Sorry for not catching this earlier; the error messages generated by glvis did not really indicate that the mesh being 2D was the problem. By the way: I noted that the visualization of the results on this surface mesh seems a bit restricted compared to equivalent visualizations of 2D vector fields on 2D meshes:
Is this by design? |
Yep, |
|
This is a companion issue to the identically-named issue in MFEM: mfem/mfem#4403
Loading a solution that is expressed in terms of ND_R1D, ND_R2D, RT_R1D and RT_R2D elements gives an error that looks like:
This error is caused by missing code in MFEM (see the linked issue for more information). Adding the missing code resolves things on the MFEM side, but now glvis throws a segmentation fault. This is the trace obtained with gdb:
The text was updated successfully, but these errors were encountered: