Changeset 4396 for LMDZ6/trunk/libf/phylmd/thermcell_main.F90
- Timestamp:
- Jan 24, 2023, 2:16:46 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/thermcell_main.F90
r4381 r4396 479 479 endif 480 480 481 !------------------------------------------------------------------ 482 ! Calcul de la fraction de l'ascendance 483 !------------------------------------------------------------------ 484 do ig=1,ngrid 485 fraca(ig,1)=0. 486 fraca(ig,nlay+1)=0. 487 enddo 488 do l=2,nlay 489 do ig=1,ngrid 490 if (zw2(ig,l).gt.1.e-10) then 491 fraca(ig,l)=fm(ig,l)/(rhobarz(ig,l)*zw2(ig,l)) 492 else 493 fraca(ig,l)=0. 494 endif 495 enddo 496 enddo 497 481 498 !c------------------------------------------------------------------ 482 499 ! calcul du transport vertical … … 485 502 print*,'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' 486 503 print*,'WARNING !!! routine thermcell_down en cours de developpement' 487 CALL thermcell_updown_dq(ngrid,nlay,ptimestep,lmax,entr0,detr0,0.5*detr0,0.5*entr0,masse,zthl) 488 ENDIF 504 ! on veut transporter la temperature potentielle, l'eau totale, qté de mouvement 505 CALL thermcell_updown_dq(ngrid,nlay,ptimestep,lmax,entr0,detr0,0.5*detr0,0.5*entr0,masse,zthl,zdthladj) 506 CALL thermcell_updown_dq(ngrid,nlay,ptimestep,lmax,entr0,detr0,0.5*detr0,0.5*entr0,masse,po,pdoadj) 507 CALL thermcell_updown_dq(ngrid,nlay,ptimestep,lmax,entr0,detr0,0.5*detr0,0.5*entr0,masse,zu,pduadj) 508 CALL thermcell_updown_dq(ngrid,nlay,ptimestep,lmax,entr0,detr0,0.5*detr0,0.5*entr0,masse,zv,pdvadj) 509 ELSE 489 510 !-------------------------------------------------------------- 490 511 491 call thermcell_dq(ngrid,nlay,dqimpl,ptimestep,fm0,entr0,masse, &492 & zthl,zdthladj,zta,lev_out)493 call thermcell_dq(ngrid,nlay,dqimpl,ptimestep,fm0,entr0,masse, &494 & po,pdoadj,zoa,lev_out)512 call thermcell_dq(ngrid,nlay,dqimpl,ptimestep,fm0,entr0,masse, & 513 & zthl,zdthladj,zta,lev_out) 514 call thermcell_dq(ngrid,nlay,dqimpl,ptimestep,fm0,entr0,masse, & 515 & po,pdoadj,zoa,lev_out) 495 516 496 517 #ifdef ISO … … 534 555 535 556 536 537 !------------------------------------------------------------------538 ! Calcul de la fraction de l'ascendance539 !------------------------------------------------------------------540 do ig=1,ngrid541 fraca(ig,1)=0.542 fraca(ig,nlay+1)=0.543 enddo544 do l=2,nlay545 do ig=1,ngrid546 if (zw2(ig,l).gt.1.e-10) then547 fraca(ig,l)=fm(ig,l)/(rhobarz(ig,l)*zw2(ig,l))548 else549 fraca(ig,l)=0.550 endif551 enddo552 enddo553 554 557 !------------------------------------------------------------------ 555 558 ! calcul du transport vertical du moment horizontal … … 576 579 577 580 endif 581 ENDIF 578 582 579 583 ! print*,'13 OK convect8'
Note: See TracChangeset
for help on using the changeset viewer.