On Aug 31, 2012, at 8:48 AM, Chiraag Nataraj wrote: > I'm trying to figure out exactly how 3D stuff works with respect to the > post-processing. Yeah, MEEP does the 3D simulation and all, but where do > you go from there? I'm not exactly sure how you're supposed to use the > data given by MEEP.
Ah, sorry, I didn't read your subsequent emails. Meep allows you to export the data as HDF5 files, which are a standard data format for scientific dataset that stored 3d arrays. There are many, many programs that you can use to visualize these. e.g. Matlab can read in HDF5 files and then you can use Matlab's plotting tools. My own h5utils programs allow you to convert HDF5 files into various formats and to visualize 2d slices. e.g. h5topng allows you to plot 2d slices in a simple way, but for more complicated visualization you could use an fancier tool. e.g. you can use h5tovtk to convert the file into VTK format and then plot it using a free program like MayaVi or ParaView (both of which allow you to do lots of fancy 3d plots). HDF5 itself comes with a command "h5ls" that allows you to see the dimensions of the datasets inside any HDF5 file. --SGJ _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

