Hi,
I am trying to write stress results using the GiDpost library (in FORTRAN).
The command for writing a Plain Deformation Result is:
Call GiD_WritePlainDefMatrix(id, sxx, syy, szz, sxy) which writes the
result in the following form (the stresses are being written on the nodes so
length of ‘sxx’ is 4*nelem ):
Sxx Syy Szz Sxy
1 x x x x
2 x x x x
3 x x x x
4 x x x x . and so on
However, this result causes an error when the post.res file is read, because
the stresses should be written in the form of for gauss points:
1 x x x x
x x x x
x x x x
x x x x
2 x x x x . and so on
I am also unable to write the results in between according to my format, as
the post.res file created by GiD is read only and I cannot write to it by
writing to the post.res. Else I could have written in the above manner. One
way I tried was to close the post.res file using GiD_Closeresult command and
write to it. It works, but if I open the post.res again to write more using
the library, then GiD_Openresult command opens a new post.res file and all
the contents are erased.
Let me know how to fix it.
Thanks,
Shriram
-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20100205/209e8d73/attachment.htm