| 4 | As we know very well, AstroBEAR generates simulations in HDF5 (Hierarchical Data Format), i.e. Chombo, files. As far as we know Shape has not yet been developed to import HDF5. Currently it accepts ASCII files. Therefore the simulations you want to visualize will need to be in ASCII form. |
| 5 | |
| 6 | Shape can read and visualize 3D simulations. However make sure that the columns in your ASCII file are converted to a 3D Cartesian coordinate system. You will need a minimum of 7 columns, of the form: {{{px, py, pz, vx, vy, vz, n}}}. Where all {{{pi}}} are the positions in {{{(x, y, z)}}}, all {{{vi}}} are the respective velocities, and {{{n}}} is the density. One can also have a column for temperature {{{T}}}. See the '''Before Starting''' section for more on this. |
| 7 | |
| 8 | Remember that Shape's goal is to be a software that reduces restrictions on physical assumptions so that astronomers can make a realistic reconstruction of an astrophysical object's morphology. Thus the software is useful for defining 3D structural elements to create a model that can be optimized to fit an observation. Here, by importing external data, we are approaching from the opposite angle. We are using a code to generate a simulation of an astrophysical object, or phenomena, that we can then visualize and compare with observation. Expect the animations you make with Shape to not look as defined as those one could make in VisIt with the same simulation, as they are meant to look like emission maps. |
| 9 | |
| 10 | '''Links''' |
| 11 | |
| 12 | * [http://www.astrosen.unam.mx/shape/v5/TUTORIALS/external_data.html Shape Developers' Documentation on External Data Visualization] |
| 13 | |
| 14 | * [https://www.youtube.com/watch?v=ckfQ2RBQ7NI Shape Developers' YouTube Tutorial on External Data Visualization] |
| 15 | |