NekBox / nekpy

Nek workflows in dask
MIT License
1 stars 5 forks source link

Basic visualization of elements of a mesh (not including the GLL points) - pyplot/matplotlib #3

Open lcarasik opened 8 years ago

lcarasik commented 8 years ago

The current process to visualize the mesh using Nek5000 in postprocessing with VisIT is a bit cumbersome and can be a bit obtuse when rapidly prototyping a mesh. I think there would be value in adding a very simple mesh visualization tool of the elements (which does not include the GLL points) using python.

Thoughts?

maxhutch commented 8 years ago

This is what I use nek-analyze for, and that's already called in nekpy. I don't think the default analysis is very good (or even functional), so we could work on that. What kinds of visualizations are you interested in? 2D slices/projections are really easy; 3D is substantially harder (and in some cases impossible).

maxhutch commented 7 years ago

I think a good start here would be 2D slices through the x, y, and z mid-planes. That is, if the box was origin centered with edge length 2, [(-1,1), (-1,1), (-1,1)], then the x=0, y=0, and z=0 planes.

lcarasik commented 7 years ago

I think 2-D slices would be all that is really needed. At least for basic shapes and a good first objective.