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

Error occurs when compiling Fortran in CFX-4.4

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2010, 04:05
Question Error occurs when compiling Fortran in CFX-4.4
  #1
New Member
 
Join Date: Jun 2010
Posts: 5
Rep Power: 16
zhaoyangly259 is on a distinguished road
Hi, I am a user of CFX-4.4 to model the subcooled water boiling in verticle annular tube.

In the main window of CFX4.4, I press the pre-processing button, and type in the number of command file, the number of geometry file. But nothing happened after I press "edit command file" and "open command file". The same thing happen when I use the botton "Edit Fortran file". But the CFX-Pre can read them.

then I solve it, then I find the error file:

ERROR:
USER ROUTINE USRPRT HAS BEEN SET UNDER >>USER FORTRAN
BUT EITHER THE ROUTINE HAS NOT BEEN INCLUDED IN THE RUN
OR THE FLAG 'IUSED' HAS NOT BEEN SET IN THE ROUTINE ITSELF
ERROR:
USER ROUTINE USRSRC HAS BEEN SET UNDER >>USER FORTRAN
BUT EITHER THE ROUTINE HAS NOT BEEN INCLUDED IN THE RUN
OR THE FLAG 'IUSED' HAS NOT BEEN SET IN THE ROUTINE ITSELF
THE CFX-4 SOLVER HAS BEEN STOPPED BY SUBROUTINE CUSR

I suppose that the FORTRAN file may not be read by the CFX solver.

So who can tell me how can I do?

Thanks!
zhaoyangly259 is offline   Reply With Quote

Old   June 9, 2010, 07:28
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,858
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
This is very old software, well and truly superseded by CFX12. You should consider updating.

But I think the error message is clear - did you include the routine in the run definition and set the IUSED flag?
ghorrocks 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 for CFX 12 painterwolf CFX 9 July 2, 2009 23:29
help in installing cfx 4.4 sammyak CFX 0 April 9, 2009 15:46
Intel Fortran and CFX 11.0 Rogerio Fernandes Brito CFX 4 November 11, 2008 01:27
Fortran Compilers to write routines in CFX Luiz CFX 1 February 11, 2008 14:02
how to use USER FORTRAN with CFX cfd_99 Main CFD Forum 1 June 4, 1999 06:42


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