6,输出到默认的输出文件*.out
60,输出到*.run文件中。
84~89,输出到指定文件中
例:
IF (INTFLG(1).EQ.0.AND.MASTER) THEN
OPEN(85,FILE=’posdat.out’,STATUS=’UNKNOWN’)
IF (STEADY) THEN
WRITE(85,5)
5 FORMAT(6X,’ITER’,11X,’TOTPH1’,10X,’TOTVOL’,10X,’TOTPH2’,10X,
& ‘HWALL ‘,10X,’FORCEX’,10X,’FORCEY’,10X,’FORCEZ’)
ELSE
WRITE(85,6)
6 FORMAT(6X,’TIME’,11X,’TOTPH1’,10X,’TOTVOL’,10X,’TOTPH2’,10X,
& ‘HWALL ‘,10X,’FORCEX’,10X,’FORCEY’,10X,’FORCEZ’)
ENDIF
INTFLG(1) = 1
ENDIF |