|
[Sponsors] |
November 20, 2007, 12:27 |
Why the subroutine can not be passed through
|
#1 |
Guest
Posts: n/a
|
Hi
I write my own user fortran code, the compile process is correct, but when I use the cfx solver there are some error information, the information is as the following: Unable to load symbol user_uprofile_uy from C:\ShiyanInletProfile, \winnt\user_uprofile_ux.dll: The specified procedure could not be found. | USER ROUTINE: u profile ux | Library Path, Library Name and Calling Name. For FORTRAN user routines, the Calling Name should be in lower case. | is there any one meets this problems before, hope any guys can help me to deal with it, thanks a lot |
|
December 4, 2007, 06:49 |
Re: Why the subroutine can not be passed through
|
#2 |
Guest
Posts: n/a
|
Hello Did you compile the subroutine with cfx5mkext?
|
|
December 5, 2007, 09:20 |
Re: Why the subroutine can not be passed through
|
#3 |
Guest
Posts: n/a
|
yes, I had compiled the subroutine with cfx5mkext
|
|
December 6, 2007, 09:21 |
Re: Why the subroutine can not be passed through
|
#4 |
Guest
Posts: n/a
|
Can you give the name and first line of your routine and what did you put in calling name, and libray
|
|
December 7, 2007, 04:56 |
Re: Why the subroutine can not be passed through
|
#5 |
Guest
Posts: n/a
|
the following is uy:
#include "cfx5ext.h" dllexport(user_uprofile_uy) !C================================================ =========================== SUBROUTINE USER_UPROFILE_UY ( TIME_STEP, NLOC, NRET, & NARG, RET, ARGS, CRESLT, CZ, DZ, IZ, LZ, RZ) ! Y direction this is ux: #include "cfx5ext.h" dllexport(user_uprofile_ux) !C================================================ ======================= SUBROUTINE USER_UPROFILE_UX (TIME_STEP, NLOC, NRET, & NARG, RET, ARGS, CRESLT, CZ, DZ, IZ, LZ, RZ ) ! X direction this is the main: #include "cfx5ext.h" dllexport(user_input) SUBROUTINE USER_INPUT ( CZ,DZ,IZ,LZ,RZ ) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fortran Subroutine Error | sergiorbrett | CFX | 12 | September 3, 2012 08:40 |
Errorin subroutine appeared when applying cavitation model | pitisrisuk | CFX | 1 | July 2, 2012 04:36 |
FIDAP subroutine: USRBDY | Shuwen Tzeng | FLUENT | 0 | September 3, 2004 04:40 |
Help! Subroutine can't work! | Miko | CFX | 6 | June 4, 2003 22:04 |
How to active USRMST subroutine? | Thitikorn | FLUENT | 1 | October 19, 2002 05:23 |