[yt-users] Unstructured grid yt support‏‏ -question

Ariadna Murguia doggies012 at hotmail.com
Tue Jul 15 09:58:18 PDT 2014


Hi!
My data has 3 coordinates (cylindrical), although the angle is cero (so it is a 2D simulation).  I changed it to 3, but still vals.size/3 is not an integer. Can you tell me the order of your data? In the simulations I'm using the first numbers correspond to the 3 coordinates of each of the cells vertex. Then, there is a number for the shape of the mesh (4 in the case of squares), followed by the list of vertex. After that, it has the values of the variables inside the square.
Thank you for your help,
Ariadna

> Are you doing 3D visualization?  The simulation I was using when I
> wrote that script was 2D -- if yours is 3D, you will likely need to
> change it to 3, rather than 2, in that line.  If you give a bit more
> info about the data (shape for instance) I can try replicating it
> here.
> 
> -Matt
> 
> On Mon, Jul 14, 2014 at 2:51 PM, Ariadna Murguia <doggies012 at hotmail.com> wrote:
> > Hi!
> > I wrote a while back asking to visualize a dataset in an unstructured grid
> > with AMR and a vtk output file. I was given a script that could do simple
> > visualizations: http://paste.yt-project.org/show/4879/ .
> > I tried altering it in order to visualize my data but (line 39), the number
> > of elements in my vals array is odd, making the reshape become an error. Is
> > there a way around it?
> > Thank you very much
> > Ariadna Murguia Berthier
> >
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140715/4a75faa2/attachment.html>


More information about the yt-users mailing list