CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Trouble in using subroutine (FIDAP) (http://www.cfd-online.com/Forums/fluent/34113-trouble-using-subroutine-fidap.html)

Sindy July 5, 2004 07:07

Trouble in using subroutine (FIDAP)
 
Dear all:

Now I have met a problem using FIDAP. After I key the command as follows:

user_sub fisolv test fisolv_user

I got a response like below:

************************************************** *****************

USER_SUB: INCORPORATE A USER SUBROUTINE INTO FISOLV

THE FOLLOWING PARAMETERS WERE SPECIFIED:

PROGRAM NAME: FISOLV

NEW EXECUTABLE NAME: test.EXE

USER SUBROUTINE FILE NAME: fisolv_user.F

************************************************** *****************

BEGINNING REBUILD OF FISOLV AT Mon Jul 05 17:48:48 2004 ------------------------------

'df' is not internal or external command can be done.

LINK : fatal error LNK1181: cannot open input file "fisolv_user.obj" LINK : fatal error LNK1181: cannot open input file "fisolv_user.obj" -------------------------------- FINISHED REBUILDIND OF FISOLV AT

And the subroutine I set is

********************************

SUBROUTINE USRBDY (NELT,NE,NG,BDYF,VARI,DVARI,NDFCD,LDOFU,SHP,

1 DSDX,XYZL,PROP,TIME,NPTS,ndp,MNDP,IERR,IOPT)

DIMENSION BDYF(3,NPTS)

DO 100 N=1,NPTS

BDYF(1,N)=10.*SIN(X)

BDYF(2,N)=0.0

BDYF(3,N)=0.0 100 CONTINUE

RETURN RETURN

END ************************************* I didn't set the 'df' command. And I don't know why it will have the link fatal. Therefore, I need some advise to solve the problem.

Thanks in advance,

Shuwen


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