next up previous
Next: About this document ... Up: Examples of Running athena1.0 Previous: The athena1.0 Benchmark

Running a test problem with athena1.0: The Brio & Wu shocktube

As an example of how to configure, compile and run athena1.0 and visualize the output, we show the steps required to run the Brio & Wu shocktube problem. Assuming the code has already been installed (see §2), the first step is to configure:

% cd athena1.0
% configure
The autoconf utility will print a variety of diagnostic statements during this step. Next, the code must be compiled:
% make all
The default compiler options will print diagnostic statements. Then the code can be run in the athena1.0/bin directory:
% cd bin
% athena -i ../tst/1D-mhd/athinput.brio+wu
The code will print information about every timestep as it executes. It should generate 40 binary (tabular) dumps named Brio_Wu.*.bin, as well as a history file Brio_Wu.hst. There are a variety of ways that the data in these files can be visulaized; one way is to use the IDL scipts included in athena1.0/vis/idl.
% idl
IDL> .run ../vis/idl/pltath.pro
IDL> readbin,'Brio_Wu.040.bin'
IDL> four_plot
The resulting plots which should now appear on the screen is shown in Figure 1.
Figure: Results from Brio & Wu shocktube test problem plotting using our IDL routine four_plot
\begin{figure}\centering\leavevmode \epsfxsize=\columnwidth \epsfbox{UsersGuide1Fig1.ps}
\end{figure}


next up previous
Next: About this document ... Up: Examples of Running athena1.0 Previous: The athena1.0 Benchmark
2003-03-05