Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Subroutine needs fixing

Status
Not open for further replies.

khalchris

Technical User
Jul 5, 2013
2
GB
I am trying to implement a subroutine which I found freely available online to use with my FEM model , I put in Microsoft visual studio 2008 and tried to fix it and arrange its lines but I think it is still incorrect,

I have attached the file for your review , could you please advise me on how to make sure there are no syntax or programming errors inside it , which things I can do to to detect if the code have any problems.

Kind Regards

 
Unless you have installed something like IVF, VS2008 will not detect any errors. If you don't have IVF installed, try installing Silverfrost Express on top of VS2008. If you name it as .for, it will build it as an F77 program

Alternatively, if you are using gcc, try using something like geany. If you give the file a .for or .f extension, it will assume F77.
 
Sorry, I just read your comment on eng-tips. Haven't been there for some time.
 
Hi xwb,

I managed to fix the subroutine and cleared out all the syntax errors and its working fine with my FE model but it turned out that this subroutine is a bit old and doesn't work with the newer versions of the abaqus FE software :( , it seems some of the defined parameters used in are not anymore used in the newer versions of Abaqus and hence I will need to find a way to get over this problem.

Thanks a lot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top