00001 subroutine IO_input_converged_solution_fluid_3D
00002 use phys_constant, only : long, nnrg, nntg, nnpg
00003 use def_matter, only : emd, rs
00004 use def_matter_parameter, only : ome, ber, radi
00005 use coordinate_grav_r, only : rg
00006 use coordinate_grav_theta, only : thg
00007 use coordinate_grav_phi, only : phig
00008 implicit none
00009 integer :: ir, it, ip, nrtmp, nttmp, nptmp
00010 real(long) :: rgtmp(0:nnrg), thgtmp(0:nntg), phigtmp(0:nnpg)
00011
00012
00013 open(12,file='rnsflu_3D.las',status='old')
00014 read(12,'(5i5)') nrtmp, nttmp, nptmp
00015 do ip = 0, nptmp
00016 do it = 0, nttmp
00017 do ir = 0, nrtmp
00018 read(12,'(1p,6e20.12)') emd(ir,it,ip), rs(it,ip)
00019 end do
00020 end do
00021 end do
00022 read(12,'(1p,6e20.12)') ome, ber, radi
00023 close(12)
00024
00025
00026 open(14,file='rnsgrids_3D.las',status='old')
00027 read(14,'(5i5)') nrtmp, nttmp, nptmp
00028 do ir = 0, nrtmp
00029 read(14,'(1p,6e20.12)') rgtmp(ir)
00030 end do
00031 do it = 0, nttmp
00032 read(14,'(1p,6e20.12)') thgtmp(it)
00033 end do
00034 do ip = 0, nptmp
00035 read(14,'(1p,6e20.12)') phigtmp(ip)
00036 end do
00037 close(14)
00038
00039 end subroutine IO_input_converged_solution_fluid_3D