include 'Global_variables.f90'
integer ix
character*30 fileppr
fileppr ='pro_xxxxxxxxx.dat'
write(fileppr(5:13),90000)it
open(19,file=fileppr,status='unknown')
write(19,*) 'TITLE="Macro quatities"'
write(19,*) 'VARIABLES="x","rho","Ux","T","P"'
do ix=1,NX
write(19,260) ix*dx,rho1(ix),ux(ix),Theta1(ix),PP1(ix)
end do
close(19)
260 format(5(5x,f25.15))
90000 format(i9.9)
return
end subroutine output
欢迎光临 Fortran Coder (http://bbs.fcode.cn/) | Powered by Discuz! X3.2 |