Skip to main content Skip to navigation

Code

For the Fortran compile command, please visit Research Tool/Fortran Compiler webpage.

As I told you before, change RESTRT=1 to RESTRT=0 in the program, when you start the simulation. - YMC 18/07/06.

Flow Chart

You need to plot the flow chart here. I hope it does not take more than a couple of days. - YMC 25/07/06.

  1. First, list all the subroutines in the code.
  2. Read 'para.f' program to see the basic setting of the simulations (For example, NX, NY, NZ, etc).
  3. Read the code to see where the code starts and ends. (Main program, which is usually the first a couple of hundred lines of the code.)
  4. Follow which subroutines the main program calls.
  5. Describe the main function of each subroutine.
  6. Write down which variables can be set in each subroutines. (For example, in Subroutine INITIA, parameters like RESTRT, NSTEP, RE and MA numbers can be set).
  7. List what are imputs and outputs of the code (and also which Subroutine are involved in).
  8. Plot a flow chart including all the above information. You can use any editor (for example, MS Word) for this.

How to Run the COde

Here are simple procedure about the running of the code. - YMC 1/08/06

  1. Change the number of grid points NX, NY & NZ from para.f
  2. Change RE, MA & PR from Subroutine INITIA.
  3. Initial jet profile from Subroutine INITIA.
  4. Choose number of iterations, NSTEP, and restart flag, RESTRT, such as RESTRT=1 (restart), RESTRT=0 (new simulation).
  5. Output file from Subroutine TECPLOT.
  6. Plot the output *.plt files using TECPLOT software.