CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Fortran77 or Fortran 90

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2002, 18:32
Default Fortran77 or Fortran 90
  #1
Swapnil
Guest
 
Posts: n/a
Hi all,

1) Does CFX support Fortran 90 and if yes please mention the name of the Fortran 90 compiler?

2)What changes one has to make in the template fortran file provided by CFX ( i guess it's written in fortran 77)

3) What changes one has to make in the cfx5mkext.ccl so as to use Fortran 90

Thanks,

Swapnil.

P.S I am a C language user. CFX is forcing me to learn Fortran.
  Reply With Quote

Old   November 26, 2002, 05:32
Default Re: Fortran77 or Fortran 90
  #2
Michael Schwinne
Guest
 
Posts: n/a
Hi,

I am using CFX-5.5.1. AEA recommends the use of Fortran77, but you can also use Fortran90. We use the Portland Group Compiler. I had to change the .h-files attached to CFX (MMS.h cfx5ext.h), as annotation starts with "!" instead of "C" in F90. There are no changes required in the ccl-file.

Michael
  Reply With Quote

Old   November 26, 2002, 15:16
Default Re: Fortran77 or Fortran 90
  #3
Robin
Guest
 
Posts: n/a
Hi Swapnil,

Actually, you can write your user functions in any language you choose, C, C++, Fortran, etc. The only difference is that the Memory Management System (MMS) is only available to Fortran code, thus Fortran is the language of choice.

Robin
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Compiler-CFX12.1 Araz CFX 13 March 27, 2017 05:37
memory ms visual fortran 6 vadim Main CFD Forum 0 December 20, 2008 13:01
Intrinsic Procedure 'ISNAN' in GNU FORTRAN 77 hawk Main CFD Forum 1 April 12, 2005 22:13
visual fortran Monica Main CFD Forum 1 August 28, 2004 20:45
Why Favoring Fortran over C/C++? Zi-Wei Chiou Main CFD Forum 35 September 26, 2001 09:34


All times are GMT -4. The time now is 04:06.