PDA

View Full Version : question regarding the coding in python


vinnuram
2005-08-17, 10:41
hello all,
i planned to write the subroutine in Python.I want to know if any particular points to be followed and also i want to know whether abaqus GUI tool is required for this.
I also want to know about the interface subroutine to be written if you write the subroutine in python.
Thank you
vinnu s.arige

Jorgen
2005-08-23, 14:48
Hi Vinnu,

Well, I believe that you will have to write your subroutine in 2 parts: the first part is probably easiest to write in the language C. This purpose of this part is to be an interface between fortran (which is what ABAQUS is written in) and the 'Python' script (which is what you want to use). The interface routine shouldn't be too hard to write and will be quite short. The second part is the actual subroutine that you can write 'Python' as usual.

I don't think there are any GUI tools that can be used.

Best of luck,
Jorgen