Changeset 3468 for trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
- Timestamp:
- Oct 24, 2024, 9:18:07 AM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
r3404 r3468 6 6 7 7 SUBROUTINE vdifc(ngrid,nlay,nsoil,nq,nqsoil,ppopsk, 8 $ ptimestep,pcapcal, lecrit,8 $ ptimestep,pcapcal, 9 9 $ pplay,pplev,pzlay,pzlev,pz0, 10 10 $ pu,pv,ph,pq,ptsrf,ptsoil,pemis,pqsurf,qsoil, … … 85 85 c Argument added for condensation: 86 86 REAL,INTENT(IN) :: ppopsk(ngrid,nlay) 87 logical,INTENT(IN) :: lecrit88 87 REAL,INTENT(IN) :: pcondicea_co2microp(ngrid,nlay)! tendency due to CO2 condensation (kg/kg.s-1) 89 88 … … 341 340 ENDDO 342 341 343 c ** diagnostique pour l'initialisation344 c ----------------------------------345 346 IF(lecrit) THEN347 ig=ngrid/2+1348 PRINT*,'Pression (mbar) ,altitude (km),u,v,theta, rho dz'349 DO ilay=1,nlay350 WRITE(*,'(6f11.5)')351 s .01*pplay(ig,ilay),.001*pzlay(ig,ilay),352 s pu(ig,ilay),pv(ig,ilay),ph(ig,ilay),za(ig,ilay)353 ENDDO354 PRINT*,'Pression (mbar) ,altitude (km),zb'355 DO ilev=1,nlay356 WRITE(*,'(3f15.7)')357 s .01*pplev(ig,ilev),.001*pzlev(ig,ilev),358 s zb0(ig,ilev)359 ENDDO360 ENDIF361 362 342 c ----------------------------------- 363 343 c Potential Condensation temperature: … … 503 483 end do 504 484 end if 505 506 c ** diagnostique pour le schema de turbulence507 c -----------------------------------------508 509 IF(lecrit) THEN510 PRINT*511 PRINT*,'Diagnostic for the vertical turbulent mixing'512 PRINT*,'Cd for momentum and potential temperature'513 514 PRINT*,zcdv_tmp(ngrid/2+1),zcdh_tmp(ngrid/2+1)515 PRINT*,'Mixing coefficient for momentum and pot.temp.'516 DO ilev=1,nlay517 PRINT*,zkv(ngrid/2+1,ilev),zkh(ngrid/2+1,ilev)518 ENDDO519 ENDIF520 485 521 486 c----------------------------------------------------------------------- … … 1465 1430 & *ptimestep))/ptimestep 1466 1431 1467 c ** diagnostique final1468 c ------------------1469 1470 IF(lecrit) THEN1471 PRINT*,'In vdif'1472 PRINT*,'Ts (t) and Ts (t+st)'1473 WRITE(*,'(a10,3a15)')1474 s 'theta(t)','theta(t+dt)','u(t)','u(t+dt)'1475 PRINT*,ptsrf(ngrid/2+1,:),ztsrf2(ngrid/2+1)1476 DO ilev=1,nlay1477 WRITE(*,'(4f15.7)')1478 s ph(ngrid/2+1,ilev),zhs(ngrid/2+1,ilev),1479 s pu(ngrid/2+1,ilev),zu(ngrid/2+1,ilev)1480 1481 ENDDO1482 ENDIF1483 1484 1432 END SUBROUTINE vdifc 1485 1433
Note: See TracChangeset
for help on using the changeset viewer.