1
1
Quickstart Guide to Enzo
2
2
========================
3
3
4
- This is an unofficial quickstart guide to using Enzo, starting from
4
+ This is the quickstart guide to using Enzo, starting from
5
5
checking out the Enzo and YT sources, through to building them, then
6
6
to running an example problem and looking at its output.
7
7
@@ -10,7 +10,7 @@ useful information or useful tools:
10
10
11
11
* `github.com/enzo-project/enzo-dev <http://github.com/enzo-project/enzo-dev >`_
12
12
* `yt-project.org <http://yt-project.org >`_
13
- * ` jacques.enzotools.org < http://jacques.enzotools.org >`_
13
+
14
14
15
15
If you ever get stuck, please email `enzo-users
16
16
<https://groups.google.com/forum/#!forum/enzo-users> `_. This is not
@@ -21,7 +21,15 @@ interlocking modules, unusual combinations of parameters may require
21
21
some care, and the individual developers that have created those
22
22
modules will be able to discuss them with you.
23
23
24
-
24
+ Getting YT
25
+ ------------
26
+ YT was initially developed to allow fast and easy analysis of Enzo output. Since it's
27
+ original inception YT has grown to be a powerful tool capable of analysing
28
+ many different astrophysical simulation code outputs and also non-astro
29
+ simulation outputs too.
30
+ To get your hands on YT (which you will need to complete this quickstart tutorial)
31
+ then go to the `YT installation page <https://yt-project.org/doc/installing.html >`_
32
+ and install YT locally.
25
33
26
34
Getting Enzo
27
35
------------
@@ -240,20 +248,55 @@ script, you should be able to execute this command:
240
248
241
249
This will take three slices through the center of the domain along
242
250
each axis, as sliced through the very first output. The images will be
243
- saved to the subdirectory frames .
251
+ saved to the subdirectory frames. Here is a plot of the outputs that can be
252
+ expected from the DD0000 snapshots:
244
253
245
- Now let's take a look at DD0010 :
254
+ .. image :: ../../../../run/Hydro/Hydro-3D/CollapseTestNonCosmological/frames/DD0000_Slice_x_density.png
255
+ :width: 30%
256
+
246
257
258
+ .. image :: ../../../../run/Hydro/Hydro-3D/CollapseTestNonCosmological/frames/DD0000_Slice_y_density.png
259
+ :width: 30%
247
260
261
+ .. image :: ../../../../run/Hydro/Hydro-3D/CollapseTestNonCosmological/frames/DD0000_Slice_z_density.png
262
+ :width: 30%
263
+
264
+
265
+
266
+
267
+ Now let's take a look at DD0010 :
268
+
248
269
::
249
270
250
271
$ yt plot DD0010/DD0010
251
272
252
273
274
+ .. image :: ../../../../run/Hydro/Hydro-3D/CollapseTestNonCosmological/frames/DD0010_Slice_x_density.png
275
+ :width: 30%
276
+
277
+
278
+ .. image :: ../../../../run/Hydro/Hydro-3D/CollapseTestNonCosmological/frames/DD0010_Slice_y_density.png
279
+ :width: 30%
280
+
281
+ .. image :: ../../../../run/Hydro/Hydro-3D/CollapseTestNonCosmological/frames/DD0010_Slice_z_density.png
282
+ :width: 30%
283
+
284
+
253
285
By this point the simulation has not collapsed very far. Feel free to
254
- check later outputs.
286
+ check later outputs (e.g. the yt output from DD0070 shown below)
287
+
288
+ .. image :: ../../../../run/Hydro/Hydro-3D/CollapseTestNonCosmological/frames/DD0070_Slice_x_density.png
289
+ :width: 30%
290
+
291
+
292
+ .. image :: ../../../../run/Hydro/Hydro-3D/CollapseTestNonCosmological/frames/DD0070_Slice_y_density.png
293
+ :width: 30%
294
+
295
+ .. image :: ../../../../run/Hydro/Hydro-3D/CollapseTestNonCosmological/frames/DD0070_Slice_z_density.png
296
+ :width: 30%
297
+
255
298
256
- Another handy command is yt stats , which will describe the current
299
+ Another handy command is yt stats, which will describe the current
257
300
state of the simulation in a couple metrics.
258
301
259
302
0 commit comments