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 MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

exchanging values

Status
Not open for further replies.

PQF

Automotive
Joined
Jun 23, 2008
Messages
13
Location
DE
Hallo Everyone,

I would like to exchange values between Abaqus and Simulink/Matlab during a simuation. Is that possible?

best regards,
PQF
 
When you say "exchange", what do you really mean? If you wish to extract data from an .odb, you may need to write a python script unless you have data in a .dat or .fil files, which you can import in to MATLAB using regular file and text commands.

 
For instance. I have a static step time = 5 seconds. I would like to export the maximum Von Mises value of a given section at t= 2.4s to Matlab, work the value there and bring it back to Abaqus at step time=2.5 s.

kind regards
 
PQF said:
bring it back to Abaqus at step time=2.5 s.

What do you mean by that?

In any case, you'll need a Python script to extract the max. von Mises stress. ABAQUS has a scripting manual. If you are comfortable with Python, it won't take long before you have a working script. Besides, you may not even have to write an entire script because .rpy files record everything that you are doing in ABAQUS/CAE. More often than not, you can simply copy the contents of the .rpy file to get your Python code.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top