- Timestamp:
- Nov 15, 2024, 3:39:29 PM (6 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.VENUS/libf/phyvenus/dyn1d/rcm1d.F
r3255 r3519 96 96 real :: dummy 97 97 98 character*8 specname(40)99 real mmol(40)100 101 98 c======================================================================= 102 99 c INITIALISATION … … 108 105 call init_parallel 109 106 #endif 110 111 mmol = (/44., 28., 2., 18., 16.,112 & 16., 32., 32., 48., 1.,113 & 17., 33., 34., 35., 51.,114 & 71., 36., 52., 63., 95.,115 & 99., 32., 48., 64., 80.,116 & 96., 60., 81., 98., 64.,117 & 99., 83., 28., 4., 46.,118 & 30., 14., 14., 18., 98./)119 120 specname = (/"co2", "co", "h2", "h2o", "o1d",121 & "o" , "o2", "o2dg", "o3", "h",122 & "oh" , "ho2", "h2o2", "cl", "clo",123 & "cl2", "hcl", "hocl", "clco", "clco3",124 & "cocl2", "s", "so", "so2", "so3",125 & "s2o2", "ocs", "hso3", "h2so4", "s2",126 & "clso2", "oscl", "n2", "he", "no2", "no",127 & "n", "n2d", "h2oliq", "h2so4liq"/)128 107 129 108 c ------------------------------------------------------ … … 155 134 c dans fichier traceur.def 156 135 call infotrac_init 136 iflag_trac=0 157 137 if (nqtot.gt.1) iflag_trac=1 158 138 … … 360 340 ENDDO 361 341 342 if (iflag_trac.eq.1) then 362 343 print*,"rcm1d: Loading chemistry profiles from init_1D.txt" 363 344 ! check if the file is indeed there … … 376 357 stop 377 358 endif ! of if(file_is_present) 359 endif ! iflag_trac 378 360 379 361 c Initialisation des parametres d'oro … … 422 404 c======================================================================= 423 405 c 424 !TEMPO AIRE406 !TEMPORAIRE 425 407 426 408 firstcall=.true. 427 409 lastcall=.false. 428 429 c Ouverture du fichier d'écriture des VMR430 431 OPEN(15,file='chem.txt',form = 'formatted')432 WRITE(15,'(2x,100a12)')'hpa',(specname(i), i=1,nqtot)433 410 434 411 ! debut de boucle temporelle … … 471 448 , presnivs, 472 449 , u,v,temp,q, 473 c , plev,temp, ! "planetary mean" plev and temperature474 450 , w, 475 451 C - sorties … … 535 511 play(ilayer)=aps(ilayer)+psurf*bps(ilayer) 536 512 ENDDO 537 538 c ------------------------------------------------------------ 539 c sortie des VMR tous les 20% d'une journée vénusienne dans le 540 c fichier chem.txt 541 c ------------------------------------------------------------ 542 543 if (mod(idt,9600)==0) then 544 DO ilayer=1,nlayer 545 write (15,'(100e12.4)')play(ilayer)/100., q(ilayer,:) 546 $ *mmean(1,ilayer)/mmol(:) 547 ENDDO 548 end if 513 549 514 ENDDO ! fin de la boucle temporelle 550 515
Note: See TracChangeset
for help on using the changeset viewer.