Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiling and Linking UPFs

Status
Not open for further replies.

ansysUPF

Civil/Environmental
Mar 22, 2005
10
on UNIX Systems
I can compile the UPFs successfully, but I have problem in Activating UPFs.
each time after compiling I have to restart ANSYS, before I apply my customized user element.
I have tried by
Issuing the USRCAL command as UPF Guide says, and
~restart
Well,this command is not recognized by ANSYS, but I heard it is useful, anyway I should try, but still no effect.

on WINDOWS Systems
I can't compile them successfully after I copy all needed df*.lib to the dictated directory. All I got is such message:

Creating library ANSYS.lib and object ANSYS.exp
ansys2.lib(sysrwr.obj) : error LNK2001: unresolved external symbol _for_write_dir_i8
ansys2.lib(sysrrd.obj) : error LNK2001: unresolved external symbol _for_read_dir_i8
ANSYS.exe : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
d:\Programme\Ansys Inc\v80\ANSYS\custom\user\Intel>goto end


Could anybody give me any kind of help information?
Thank you very much!!!
 
Replies continue below

Recommended for you

Mistake above:
~restart is wrong,
the right command should be:
~reset
after using this ~reset command, message reads:
~RESET was processed: The external command buffers have been cleared.

I used to use USRCAL, and it worked at least once. I've no idea why it now doesn't work anymore, since I never changed any config. files.

Anybody has simillar problems? how could solve it?
Thanks again.
 
I want use a modified material subroutine in ANSYS, however the procedure seems not really straigthforward to a beginner as I am. I try to be as much precise as possible in order to have a help from who of you had succesfully passed this problem.

I have installed Ansys 8.0 on my PC mounting Windows XP (2002, sp1). As indicated by the ansys customer service, I have also installed Compaq Visual Fortran 6.6 update A along with Microsoft Visual C++ 6.0, sp5. I saved ANSCUST.BAT in the working directory "c:\temp" along with the file "MAKEFILE".
Then, I make a test by saving the file usermat3d.f supplied in \ansys\custom\user\intel in the working direcotry c:\temp, however when I run ANSCUST.BAT, I obtain a file of error f_comp.err (simply reporting "usermat3d.i") along with a usermat3d.obj.

I did not obtain the customized file ANSYS.exe. What can be my mistake?

Please, any helps is very appreciated.

Thanks
Luca Sorelli
BERG, Dublin
Ireland
 
I have problems to compile the archives of the FORTRAN. I copied archives ANSCUST.BAT and MAKEFILE of the folder inside the working directory. When I go to execute the ANS_ADMIN.EXE of the following the error:

********************************
Creating library ANSYS.lib and object ANSYS.exp
ansys2.lib(sysrwr.obj) : error LNK2001: unresolved external symbol _for_write_di
r_i8
ansys2.lib(sysrrd.obj) : error LNK2001: unresolved external symbol _for_read_dir
_i8
ANSYS.exe : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.

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

When I execute the ANSCUST.BAT it generates archive ANSYS.EXE to put when the archive closes the window of the MSDOS adds and appears one f_comp.err with log of the errors. I have instaled in my computer version 7.0 of the Ansys and FORTRAN 6.6. I am having problems tb to install Ansys 9.0. If some will be able to help, is thanks me since the moment.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor