×
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

How to link Abaqus subroutine (written in Fortran) to Matlab in every increment during running

How to link Abaqus subroutine (written in Fortran) to Matlab in every increment during running

How to link Abaqus subroutine (written in Fortran) to Matlab in every increment during running

(OP)
I've modeled a process in ABAQUS and have wrote a subroutine for that. It is Ok and it runs. now i want to make some change in my model when the process is running by the use of matlab. for this purpose it is required to link fortran and matlab, I really appreciate any help.

RE: How to link Abaqus subroutine (written in Fortran) to Matlab in every increment during running

Python post-processing will let you do this. And if you really need Matlab for some reason, then you can embed a piece of Python in your Matlab script.

*********************************************************
Are you new to this forum? If so, please read these FAQs:

http://www.eng-tips.com/faqs.cfm?fid=376
http://www.eng-tips.com/faqs.cfm?fid=1083

RE: How to link Abaqus subroutine (written in Fortran) to Matlab in every increment during running

(OP)
well, you are talking about post processing but I want to in line processing of job, have you any idea?

RE: How to link Abaqus subroutine (written in Fortran) to Matlab in every increment during running

While online forums can be beneficial in certain situations, right now, I think it would be good if you spend an hour reading the Scripting User's Guide. To answer your question, yes, that is possible with Python.

However, you will have to be careful i.e., you do not want to end up tweaking the model (while it is still converging to a solution - assuming an implicit run) in such a way that is becomes non-physical (by violating laws of physics). With Explicit, you may have to be even more careful.

*********************************************************
Are you new to this forum? If so, please read these FAQs:

http://www.eng-tips.com/faqs.cfm?fid=376
http://www.eng-tips.com/faqs.cfm?fid=1083

RE: How to link Abaqus subroutine (written in Fortran) to Matlab in every increment during running

(OP)
i have spend a week in abaqus documentation and still found nothing, would you please help me more in detail!?
it would be so helpful if I find an example like as my problem...
thank you

RE: How to link Abaqus subroutine (written in Fortran) to Matlab in every increment during running

There are example scripts in the Scripting User's Guide that do something like that but if you will keep running into problems and end up wasting your time if you skip a bunch of baby steps.

So, here is my suggestion (as a suggested strategic breakdown of the workflow):

Python scripting (no Abaqus) -> Python script + (1 element) Abaqus/CAE OR Python script + (1 element) ODB -> -> Same as previous with a little more complexity -> Reading in your ODB -> Reading in incremental values.

*********************************************************
Are you new to this forum? If so, please read these FAQs:

http://www.eng-tips.com/faqs.cfm?fid=376
http://www.eng-tips.com/faqs.cfm?fid=1083

RE: How to link Abaqus subroutine (written in Fortran) to Matlab in every increment during running

(OP)
Hello again,
After struggling with documentation I've found that If I want to reach an output in a specific increment I have to refer to odb file,
So If I haven't any odb file I can't read any output till that time sad
I want to do this:
A=read S11
B=make a change in CAE if it is required
increment1>>>A>>>B>>>...continue...increment2>>>A>>>B>>>...continue...increment3>>>A>>>B>>>...

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