Reading S22 stress for a specific element from *.fil file
Reading S22 stress for a specific element from *.fil file
(OP)
Hello everyone,
I am using FORTRAN to read the *.fil file and I have this question:
How can I read S22 stress (record 11) for a specific element number
Best Regards,
A.K.
I am using FORTRAN to read the *.fil file and I have this question:
How can I read S22 stress (record 11) for a specific element number
Best Regards,
A.K.





RE: Reading S22 stress for a specific element from *.fil file
RE: Reading S22 stress for a specific element from *.fil file
So if I am looking for say element no. 333, the code will be like this:
IF (KEY.EQ.1) THEN
'Save the index no. of the element
ElementNo=JRRAY(1,3)
DO i=1,JRRAY(1,2)
IF (ElementNo(i) .EQ. 333) THEN
Index=i
END IF
ENDDO
END IF
'Extract the S22 stress for the element
IF (KEY.EQ.11) THEN
Sarray= JRRAY(1,3)
Stress22=Sarray(Index)
END IF
Is that Correct,
Thank you,
A.K.