27.11.2012 Views

FLOW AROUND A CYLINDER - istiarto

FLOW AROUND A CYLINDER - istiarto

FLOW AROUND A CYLINDER - istiarto

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

– B.10 –<br />

#2 dummy text<br />

A string of any number of characters; this line is not read.<br />

#3 i, j, x, y, zb, zs<br />

2 integer numbers: the (i,j) cell indices and<br />

4 real numbers: the (x, y) coordinates of the bed vertices, and the bed (zb) and the<br />

surface (zs) coordinates.<br />

The above input is to be repeated according to the number of vertices, (nx,ny), of the<br />

computational domain.<br />

B.3 Source code<br />

The source code of the program consists of 6 program files and 11 variable-declaration<br />

files:<br />

1. ke.f — the main program.<br />

2. keflow.f — the flow model.<br />

3. keturb.f — the k-� model.<br />

4. keinit.f — the initialization routines.<br />

5. keread.f — the routines that read the data from or write the results to a file.<br />

6. kegeom.f — the routines that construct the geometry of the computational<br />

domain.�<br />

7. ke_bound.inc — variable declarations: boundary conditions.<br />

8. ke_calcon.inc — variable declarations: computational control-parameters.�<br />

9. ke_coef.inc — variable declarations: variable coefficients.�<br />

10. ke_geo.inc — variable declarations: geometry.<br />

11. ke_grad.inc — variable declarations: gradients.�<br />

12. ke_index.inc — variable declarations: cell indices.�<br />

13. ke_logic.inc — variable declarations: logical variables.�<br />

14. ke_param.inc — variable declarations: space (memory) allocations.�<br />

15. ke_varflo.inc — variable declarations: flow variables.�<br />

16. ke_varold.inc — variable declarations: variables at the n time level.�<br />

17. ke_vartur.inc — variable declarations: k-� variables.�<br />

The program is written in the FORTRAN77 language and is suited for the MPW Absoft<br />

Version 6.2 compiler.<br />

The print out of all files is given in the next pages. The files can also be found in the<br />

accompanying CD.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!