You are here
Abaqus Script Manual/Tutorial
Mon, 2011-05-09 08:45 - Johannes T.B. O...
I have written a introduction manual/tutorial on Abaqus Scripting. I got some good feedback from my colleagues. Therefore, I would like to share the manual.The manual should give a short introduction (it will not take more than one hour) to Abaqus script in Python.
You can find the manual here:
Via the same link you can also find more information on the connection between Matlab and Abaqus
Good luck!
»
- Johannes T.B. Overvelde's blog
- Log in or register to post comments
- 24728 reads
![Subscribe to Comments for "Abaqus Script Manual/Tutorial"](https://imechanica.org/misc/feed.png)
Comments
Dear Johannes , your work
Dear Johannes , your work is admirable and a great help for us to learn , unfortunately in the Sample files , to run abaqus from Matlab , there is a module named : Numerical , that I think you have constructed it , but abaqus doesn't know it , I think it is not defined somewhere in your files right ? I tried to run the files according to the help file :
First the Matlab file with MainBrutePois.m is called. This will call for the other Matlab files.
The matlab files will create the variables used in Abaqus. These variables are written to a text file in MakeVar.m.
Next Modelcalc.m will call Abaqus and runs the Python script files.
The Python script files will first read the variables from the text file and create the model according to these variables.
After the simulation is done, Abaqus writes the interesting data to an output files (I create the output file myself, it is not a standard Abaqus output file).
Then Abaqus quites and Matlab will continue by reading the output text file from Abaqus.
and I got this error :
Error using cd
Cannot CD to ./AbaqusFiles (Name is nonexistent or not a directory).
Error in FileNameSave (line 6)
cd('./AbaqusFiles');
Error in MainBrutePois (line 7)
FileNameSave
it is not very clear to me what the first line is doing , I appreciate very much your guide
Hi Farzad
I agree with you about the Nummerical modul import error. I met this error too. Delete it and run again.
Thank you very much
<p>Hi Johannes. Thank you so much. You did a great job.<\p> <p>I'm new to ABAQUS scripting, so your sample code helps me a lot. </p><p>As far as I am concerned, there are two methods of scripting which are writing job file (.inp) and writing journal code (.py)Let's call the former job-method and the later journal-method. I think each method has their own advantage and difficulty.</p>
<p>I have just tried scripting for one day so I just make a snap judgment. It may be wrong. Could you give me your opinion about the advantage and difficulty of the two methods? Which one is better? In addition, could you give me some good reference for ANSYS-Matlab connection and ANSYS scripting? </p> <p>Best regards,</p> <p>Nhan</p>
Hi Johannes. Thank you so
Hi Johannes. Thank you so much. You did a great job.
I'm new to ABAQUS scripting, so your sample code helps me a lot.
As far as I am concerned, there are two methods of scripting which are writing job file (.inp) and writing journal code (.py)
Let's call the former job-method and the later journal-method. I think each method has their own advantage and difficulty.
I have just tried scripting for one day so I just make a snap judgment. It may be wrong. Could you give me your opinion about the advantage and difficulty of the two methods? Which one is better? In addition, could you give me some good reference for ANSYS-Matlab connection and ANSYS scripting?
Best regards,
Nhan