zcat 595.tar.Z | tar xvf -
The assignment is also located on the m38 system in my home directory under "/usr/people/dnwillia/595". To copy the assignment for your group:
1. login to m38 2. Change to your /scratch directory 3. Type "cp -R /usr/people/dnwillia/595/ ."You now have the necessary files to run the assignment problem in a directory called "595" that should be in your root directory.
nohup oblique &
which runs the program in the background, and makes it so that the program will keep running when you log out.
This file contains the input data for the oblique shock wave program.
The program reads the data that defines the free stream properties, wedge
geometry, and the variables that control the simulation behaviour.
An example of this file is as follows:
***** INPUT DATA ********** # Free-Stream Mach number (Nozzle exit mach number) 1.5 # Atmospheric Temperature (degrees C) 22.0 # Atmospheric Pressure (kilopascals, kPa) 90.0 # Wedge or Cone Angle (degrees) 23.0 # Wedge or Cone simulation (1 = Wedge, 2 = Cone) 1 ***** SIMULATION CONTROL DATA ************ # Initial data control ( 0 = uniform, 1 = start with restart file ) 0 # Number of timesteps 10000 # Control for output of Fieldview files (0 = no, 1 = yes) 1 # Interval between Fieldview files 20 # Output control ( 0 = no restart files, 1 = write restart files ) 1 # Interval between output (restart) files (In timesteps) 200 # File name for input restart file (max 80 characters) restart.00200 |
|
|
1. The free stream Mach number, ahead of the wedge or cone.
2. Atmospheric temperature, which must be in degrees celcius.
3. Atmospheric pressure, which must be in kPa.
4. The angle of deflection of the wedge or cone.
5. Flag controlling whether you want to simulate the flow over a wedge or cone (1,2).
6. Flag that controls the initial startup condition (0,1)
0: Sets up the simulation with a uniform condition throughout the computational domain. 1: Start with a restart file. The name of the restart file is specified at the end of the input file.7. Number of time steps to run
Number of the timesteps that you want to run, range (0 to whatever). This changes if you use a restart file. For example, if your restart file is from time step 200 and you put 100 here, nothing will run. It will just read the restart file then exit. However, if you put something higher than 200, like say 210. Then the calculation will run until timestep 210 starting at timestep 200.8. Control of output for Fieldview files(0,1)
0: no Fieldview files will be output 1: Fieldview files will be output9. Interval between Fieldview files
10. Flag for saving restart files or not
If you set this to 0, the program will not save any restart files. If you set this to 1, the program will save them. The restart file names have the following format: restart.xxxxx where xxxxx is the time step number.11. Interval between successive restart files.
This number sets the interval between writing restart files. For example, if you set this to 200, then the restart files will be written at steps 200, 400, 600, ... etc.