SJ(7744,93)
DO i1=1,7744,1
DO j=4,93,1
DO i2=0,900,10
IF (i1==NOEL)THEN
SJ(i1,1)=COORDS(1)-115.5
SJ(i1,2)=COORDS(2)
SJ(i1,3)=COORDS(3)
ENDIF
IF (i2==TIME(1))THEN
SJ(i1,j)=STATEV(10)
ENDIF
ENDDO
ENDDO
ENDDO
open(unit=1, file='example.txt', status='replace', action='readwrite', iostat=errorLevel)
do i = 1, size(SJ, 1)
write(1, *) SJ(i, :)
end do
欢迎光临 Fortran Coder (http://bbs.fcode.cn/) | Powered by Discuz! X3.2 |