To be honest the code works like a charm up to the writing stage as all the outputs are produced in the Abqus.
Having said that, for some reason it keeps writing the first set of results in the output file for 9 times rather than producing the 9 sets of U2&F2 !!!
I would really be grateful if someone could tell me where the problem is.