×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

User subroutines
2

User subroutines

User subroutines

(OP)
Hello all,

I am new to using subroutines and would really appreciate some help.  I am trying to submit this step in the sequence of input files (with a user subroutine):

"abaqus job=treadwear_wear_straight user=treadwear oldjob=treadwear_roll"

I recieve an error message say:

"Abaqus error: The following file(s) could not be located:treadwear.for, treadwear.obj
Abaqus/Analysis exited with error(s)"

The file I have in the folder is the "treadwear.f" file.

Am I having this problem because I don't have a fortran compiler? If so, where can I get a suitable (freeware if possible) compiler?

Thanks in advance

RE: User subroutines

I don't think you can do this if you don't have a Fortran compiler, unless you have a c++ compiler and re-write the code.

The only compiler that is recommended by Simulia is the Intel compiler (which is not free). I think somewhere on this site there is someone talking about using a freeware one but I can't remember which it was or how to set it up. It might have been discussed at www.polymerfem.com though.

Assuming you get the compiler to work (intel or otherwise) you need to rename your subroutine "treadwear.for". For some reason I haven't been able to get Abaqus to recognize .f files but they run fine when you change extension to .for .

RE: User subroutines

abaqus 6.9 runs just fine with the .f suffix here.
you can get the free GCC compiler, it also has the fortran compiler embedded. there is also a version for windows, but i am not sure if that'll work with abaqus (in win).

RE: User subroutines

(OP)
Thanks for your input.

Loki3000 am I right in saying you use UNIX rather than Windows  to run abaqus? and is a GCC comiler different to "IFORT" or something like "G95 Fortran"?

Abaqus produce some fantastic manuals, but I feel a little lost with the User Subroutines stuff especially as I don't have much experience with programming or Fortran.

Also, once I have the compiler installed, I am not sure how I get it to interface with Abaqus.

Thanks again.

RE: User subroutines

Hi,
 Linking Fortran to Abaqus solution is posted on the simulia technical support threads.

Good Luck
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources