137 | | == An Example Problem == |
| 140 | == An Example Problem: Clump in an ambient == |
| 141 | |
| 142 | In this section we will introduce an example "fly-through" or how to make a visualization using CameraObjects. All associated .data files, along with the problem.f90 for this problem are attached below. This example involves a clump in an ambient as you can see in the movie below (click the [https://astrobear.pas.rochester.edu/trac/attachment/wiki/CameraObjects/nowind_justclump1.gif movie] link): |
| 143 | |
| 144 | || [[Image(nowind_justclump1_0000.png, width=500)]] || [[Image(mesh0000.png, width=500)]] || || |
| 145 | || '''Image 2.''' The first frame of the clump-ambient problem. || '''Image 3.''' The first frame of the clump-ambient problem with the mesh implemented in the problem.data. || '''Image 4.''' Image of the problem.data attached file || |
| 146 | |
| 147 | === Steps === |
| 148 | |
| 149 | 1. ssh or login to one of the local machines. Download the code and "checkout" development in the directory space where you would like to carry out this problem. Do this with the following commands: |
| 150 | |
| 151 | {{{ |
| 152 | git clone ssh://orda@botwin.pas.rochester.edu/astrobear |
| 153 | }}} |
| 154 | |
| 155 | You should now have a copy of astrobear, cd into the directory and execute: |
| 156 | |
| 157 | |
| 158 | {{{ |
| 159 | git checkout development |
| 160 | }}} |
| 161 | |
| 162 | and now your code is up-to-date. Make sure you do this with the newest version of the code. From there cd into modules and create a new directory for your problem. In that directory scp the attached .data and problem.f90 for this example. From there sym link your problem directory to "Problem" and the Makefile.inc for the machine you are going to "make" your executable (i.e. astrobear code) on. Then in your astrobear directory, make your code. |
| 163 | |
| 164 | 2. |
| 165 | |
| 166 | |
| 167 | === Problem for the reader === |