CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Was NASA-VOF2D code written in Fortran 77?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2010, 21:42
Default Was NASA-VOF2D code written in Fortran 77?
  #1
New Member
 
James Zhong
Join Date: Mar 2009
Posts: 25
Rep Power: 17
James is on a distinguished road
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
James is offline   Reply With Quote

Old   May 22, 2010, 19:11
Default
  #2
otd
Member
 
private
Join Date: Mar 2009
Posts: 74
Rep Power: 17
otd is on a distinguished road
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!
otd is offline   Reply With Quote

Old   May 24, 2010, 01:42
Default
  #3
New Member
 
James Zhong
Join Date: Mar 2009
Posts: 25
Rep Power: 17
James is on a distinguished road
otd,
Thank you for your explanation!

James
James is offline   Reply With Quote

Old   May 24, 2010, 05:15
Default
  #4
Senior Member
 
Rami Ben-Zvi
Join Date: Mar 2009
Posts: 155
Rep Power: 17
Rami is on a distinguished road
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.
Rami is offline   Reply With Quote

Old   August 30, 2010, 11:23
Default nasa vof
  #5
New Member
 
abbas dashti manesh
Join Date: Jul 2010
Posts: 9
Rep Power: 16
shipgod63 is on a distinguished road
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,
shipgod63 is offline   Reply With Quote

Old   August 31, 2010, 23:23
Default
  #6
New Member
 
Amir
Join Date: Mar 2009
Posts: 8
Rep Power: 17
Amiragha72 is on a distinguished road
Hi James
Hi Abbas
can i have a copy of code?
my email amiraga72@yahoo.com
thank you
Amiragha72 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 14:25.