Download Hyperion Manual Release 0.9.7 Thomas Robitaille
Transcript
Hyperion Manual, Release 0.9.7 Physics This group describes the input quantities such as the density and optionally the specific energy of the dust. In all cases where a density array should be specified, you may also give a specific_energy array with the same dimensions - this can be used as the initial temperature, or can be used as the temperature to use for the images/SED if the number of temperature iterations is set to zero. Cartesian The Physics group should contain a 4-d dataset array named density giving the density in c.g.s in each cell. The dimensions of the array should be (n_dust, n_z, n_y, n_x). Spherical Polar The Physics group should contain a 4-d dataset array named density giving the density in c.g.s in each cell. The dimensions of the array should be (n_dust, n_p, n_t, n_r). Cartesian The Physics group should contain a 4-d dataset array named density giving the density in c.g.s in each cell. The dimensions of the array should be (n_dust, n_p, n_z, n_w). AMR The Physics group should contain a structure similar to that used to represent the geometry. The nlevels and ngrids attributes are not needed, only the nested level_* and grid_* groups. Each grid_* group should then contain a 4-d dataset array named density giving the density in c.g.s in each cell. The dimensions of the array should be (n_dust, n_z, n_y, n_x). Octree The Physics group should contain a 1-d dataset array named density giving the density in c.g.s in each cell. Each cell in this array should match a cell in the refined array discussed in Geometry. Sources This should contain one group per source. The name of the groups is not important, and the Python code uses names such as source_00001. Each sub-group will contain certain attributes and datasets depending on the source type, as described below. Common attributes All sources should have the following attributes: • type: the type of the source, given as a string. This can be point (for point sources), sphere (for spherical sources), map (for diffuse sources), extern_sph (for external spherical illumination), extern_box (for external illumination from a box), or plane_parallel (for a plane-parallel beam). • luminosity: the luminosity of the source, as a floating point value, in c.g.s • peeloff: whether to include the source when computing images with peeling-off, as a string that should be either yes or no. • spectrum: the type of spectrum to use, as a string. This can be either: – spectrum, to indicate that a spectrum has been numerically specified. In this case, the group representing the source should also contain a tabular dataset with two columns: nu, the frequency in Hz, and fnu, the monochromatic flux per frequency (the exact units are not important, because the spectrum is renormalized). – temperature, to specify that a temperature has been specified. In this case, the temperature should be given as an attribute temperature, as a floating-point value. 4.1. Advanced topics 103