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

Why the subroutine can not be passed through

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 20, 2007, 12:27
Default Why the subroutine can not be passed through
  #1
Liu
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
  Reply With Quote

Old   December 4, 2007, 06:49
Default Re: Why the subroutine can not be passed through
  #2
macdidi@caramail.com
Guest
 
Posts: n/a
Hello Did you compile the subroutine with cfx5mkext?
  Reply With Quote

Old   December 5, 2007, 09:20
Default Re: Why the subroutine can not be passed through
  #3
Liu
Guest
 
Posts: n/a
yes, I had compiled the subroutine with cfx5mkext
  Reply With Quote

Old   December 6, 2007, 09:21
Default Re: Why the subroutine can not be passed through
  #4
mac
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
  Reply With Quote

Old   December 7, 2007, 04:56
Default Re: Why the subroutine can not be passed through
  #5
Liu
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 )
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fortran Subroutine Error sergiorbrett CFX 12 September 3, 2012 07:40
Errorin subroutine appeared when applying cavitation model pitisrisuk CFX 1 July 2, 2012 03:36
FIDAP subroutine: USRBDY Shuwen Tzeng FLUENT 0 September 3, 2004 03:40
Help! Subroutine can't work! Miko CFX 6 June 4, 2003 21:04
How to active USRMST subroutine? Thitikorn FLUENT 1 October 19, 2002 04:23


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