eueu
Mechanical
- Dec 11, 2008
- 2
Hi everyone
I´m using Ansys v.11.0 and I´m trying to use my own hyperelastic law through Fortran sub-routines. I´ve written my sub-routine and I´m absolutely sure it´s correct.
My problem begins at the compiling process. According to Ansys Manual, what I have to do is write my sub-routine and put my Userhyper.f file into "intel" folder where ansys was installed.
Then I have to, through ANS_ADMIN utility, Relink Ansys and an ansys.exe file will be created. That´s where my problem begins. No ansys.exe file is created and more, after doing this "relinkage" I have two Fatal errors:
"fatal error LNK1181: cannot open input file "htmlhelp.lib""
"fatal error U1077: 'link' : return code '0x49D' "
and as I said, no ansys.exe file is created.
Reading other foruns around the internet I´ve found some who have tried to copy ANSCUS.BAT and MAKEFILE together with the sub-routine file Userhyper.f files to the working directory and run that BAT file there, but all I get is an empty f_comp.log file with 0 bytes and no ansys.exe is created as well.
I´m pretty lost about this issue and I hope you could help me out with it.
By the way, I have Compaq Visual Fortran 6.0. Do I have to compile userhyper.f before relinking? Can I do this with this version of CVF?
Thank you very much
Best regards
Felipe Stumpf, Brazil
I´m using Ansys v.11.0 and I´m trying to use my own hyperelastic law through Fortran sub-routines. I´ve written my sub-routine and I´m absolutely sure it´s correct.
My problem begins at the compiling process. According to Ansys Manual, what I have to do is write my sub-routine and put my Userhyper.f file into "intel" folder where ansys was installed.
Then I have to, through ANS_ADMIN utility, Relink Ansys and an ansys.exe file will be created. That´s where my problem begins. No ansys.exe file is created and more, after doing this "relinkage" I have two Fatal errors:
"fatal error LNK1181: cannot open input file "htmlhelp.lib""
"fatal error U1077: 'link' : return code '0x49D' "
and as I said, no ansys.exe file is created.
Reading other foruns around the internet I´ve found some who have tried to copy ANSCUS.BAT and MAKEFILE together with the sub-routine file Userhyper.f files to the working directory and run that BAT file there, but all I get is an empty f_comp.log file with 0 bytes and no ansys.exe is created as well.
I´m pretty lost about this issue and I hope you could help me out with it.
By the way, I have Compaq Visual Fortran 6.0. Do I have to compile userhyper.f before relinking? Can I do this with this version of CVF?
Thank you very much
Best regards
Felipe Stumpf, Brazil