|
[Sponsors] |
May 20, 2010, 21:42 |
Was NASA-VOF2D code written in Fortran 77?
|
#1 |
New Member
James Zhong
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
What is the language of NASA-VOF2D/3D? I am confused with some syntax in the code, like "*COMDECK, COMMON 1". Is this Fortran 77? Thanks!
James |
|
May 22, 2010, 19:11 |
|
#2 |
Member
private
Join Date: Mar 2009
Posts: 74
Rep Power: 17 |
I guess you're looking at p. 86 of the Los Alamos report 10612-MS, the documentation for NASA-VOF2D.
The statement *COMDECK.COMMON1 starts the fortran for a group of common blocks to be used throughout the code. The utility of typing the common block specifications only once should be obvious. Look at page 90, for example. The statement *CALL.COMMON1 inserts lines defining the common blocks into SUBROUTINE ASET before the program is presented to the compiler. The *CALL ..." line should appear in every subroutine where the common variables are needed. So this is a feature of the programming editor - perhaps not a part of a programming language? The coding itself is - once the commons are in place - pretty much Fortran 77. There will likely be some system routines, such as timers and graphics instructions, specific to Los Alamos computers. Good luck! |
|
May 24, 2010, 01:42 |
|
#3 |
New Member
James Zhong
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
otd,
Thank you for your explanation! James |
|
May 24, 2010, 05:15 |
|
#4 |
Senior Member
Rami Ben-Zvi
Join Date: Mar 2009
Posts: 155
Rep Power: 17 |
These *COMDECK and *CALL looks like directives of an ancient source code maintenance package called UPDATE of CDC (see how old I am?). I did some archeologic digging, and found a manual:
http://www.mirrorservice.org/sites/w..._Ref_Mar80.pdf On the practical side - I am not familiar with NASA-VOF2D, but it seems the former suggestions you got are correct. |
|
August 30, 2010, 11:23 |
nasa vof
|
#5 |
New Member
abbas dashti manesh
Join Date: Jul 2010
Posts: 9
Rep Power: 16 |
Dear Freinds
I have nasa vof 2d-3d code and document but i can not run them. I think that I must run them in ancient version of fortran, am I right? whould you please help me? Can you send me corrected source codes? Best regards, |
|
August 31, 2010, 23:23 |
|
#6 |
New Member
Amir
Join Date: Mar 2009
Posts: 8
Rep Power: 17 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fortran code needed | HaKu | Main CFD Forum | 2 | February 15, 2010 13:02 |
Need NASA VOF-2d code and report | liu.zhen | Main CFD Forum | 0 | May 18, 2009 02:52 |
fortran code - boundary layer - frank white | Ed | Main CFD Forum | 1 | February 12, 2009 18:30 |
Fortran code beautifier | Praveen C | Main CFD Forum | 3 | December 1, 2004 01:41 |
seeking fortran code for LEE | ahmed m.abdulla | Main CFD Forum | 0 | January 14, 1999 12:16 |