CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Error occurs when compiling Fortran in CFX-4.4 (https://www.cfd-online.com/Forums/cfx/76945-error-occurs-when-compiling-fortran-cfx-4-4-a.html)

zhaoyangly259 June 9, 2010 03:05

Error occurs when compiling Fortran in CFX-4.4
 
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!

ghorrocks June 9, 2010 06:28

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?


All times are GMT -4. The time now is 17:38.