×
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

a question about Fortran subroutines and python scripts
2

a question about Fortran subroutines and python scripts

a question about Fortran subroutines and python scripts

(OP)
Hi
This question might be absurd to some of you guys,i know but i wanted to know in which cases a python script should be written and when a Fortran subroutine?what are the applications of a Fortran subroutine and what is the difference?
thank you so much

RE: a question about Fortran subroutines and python scripts

2
-The user subroutines (FORTRAN) are called by the solver to perform user defined tasks, e.g. user defined constitutive response.
- On the other hand ABAQUS Scripting Interface (Python/C++)is for pre-processing (Python) and post-processing (Python/C++) tasks.

RE: a question about Fortran subroutines and python scripts

(OP)
thank you Xerf,too short but very helpful

RE: a question about Fortran subroutines and python scripts

I am sorry for being short. There are a couple of manuals in the documentation dealing with ABAQUS Scripting Interface and another one dedicated to user subroutines.

I am afraid that I could not possibly answer your question better than the introductory chapters in these manuals.

To make a long story short, considering the information flux:

1. You define you model with ABAQUS/CAE (i.e. post-processing tasks). For advanced modeling tasks you can use ABAQUS Scripting Interface (Python-based).

2.Once you completed model definition, you submit the model to be computed by the solver. The solver can use the FORTRAN user subroutines for advanced tasks, for which the ABAQUS/CAE is not sufficient. For example, one can define a new material response in UMAT or new element type in UEL, can supply a coordinate dependent load in DLOAD or can prescribe sophisticated displacement field in DISP and so on. The solver typically calls the subroutine each iteration for each node or integration point.  As the computation advances the results are output in the results database.

3. Having obtained the results, the analyst's most important task is to assess these results. This part is called "post-processing" and can be done in ABAQUS/CAE Visualization Module. For advanced tasks, ABAQUS Scripting Interface either Python-based or C++-based can be used.

  



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