You are here
infinite loop when using subroutine in ABAQUS
Tue, 2013-05-28 09:39 - bqw
infinite loop when using subroutine in ABAQUS
I added my subroutine in job/general tab in ABAQUS CAE. When I submit my job, it showed" The file has been submitted for analysis" and never stop, it starts an infinite loop. The job can not be killed, too. I tried some examples from user manual, it is the same problem. Anyone know something about this? The manual examples are .f file and my Windows ABAQUS required .for file. I used Notebook to save .for file. Does this make any difference?
Thanks
Forums:
Did your Fortran compiler
Did your Fortran compiler and visual studio instal properly?
I don't know about the way u save fortran file .for but i used Plato ID for writing my code and save it with .for or .f
Hi, Shzangeneh, thanks
Hi, Shzangeneh, thanks for comments. I have microsoft visual studio 2013 and simply fortran,they had been tested and work no problem. The ABAQUS6.12-1 I used just need .for and do not accept .f . What ABAQUS version you use that accept .f ?
bqw
For windows, the user
For windows, the user subroutine should be ended as .for, for linux machine, it is .f instead.
hi 6.11
hi
6.11
Use the following sequence
Use the following sequence of testing your code:
1. Write a small calling subroutine (analogous to, for example, main in C) from which you can test your subroutine outside of Abaqus.
2. Use write statements to debug your code when testing *very* simple models (a few 1D elements, if possible; otherwise just a few elements in 2D/3D).
3. Only then should you proceed with using your code with your model.