PDA

View Full Version : Userhyper routine in Ansys v.11



felipestumpf
2009-01-26, 06:54
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

felipestumpf
2009-01-26, 06:55
I forgot to ask if is this easier to do in ANSYS or ABAQUS.
Do someone have experience in doing that?

thank you very much

Jorgen
2009-01-26, 18:57
It sounds like you are on the right track, I am not sure why it did not work for you, although I have to admit that I don't use Ansys that often anymore.

Any Ansys manager who wants to sponsor me with a copy of the latest version of the software ;)

It is quite easy to write a user subroutine for a hyperelastic material in Abaqus. I can walk you though that if you want.

-Jorgen

felipestumpf
2009-01-27, 09:49
Thank you very much, Professor.
I think I´ll end up moving from Ansys to Abaqus anyway, since I couldn´t get any solution from anybody about this issue. Searching in other Foruns it seems lots of people have the same problem and nobody knows how to get that right.
Once I start trying it on Abaqus I contact you back.
Thanks again.
Best regards
Felipe Stumpf, Brazil