Changeset 953
- Timestamp:
- Apr 21, 2008, 6:46:08 PM (17 years ago)
- Location:
- LMDZ4/trunk/libf/phylmd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/calwake.F
r940 r953 1 1 SUBROUTINE CALWAKE(paprs,pplay,dtime 2 : ,t,q,omgb ,ibas_con2 : ,t,q,omgb 3 3 : ,dt_dwn,dq_dwn,M_dwn,M_up 4 4 : ,dt_a,dq_a,sigd … … 43 43 REAL paprs(klon,klev+1),pplay(klon,klev) 44 44 REAL t(klon,klev), q(klon,klev), omgb(klon,klev) 45 INTEGER ibas_con(klon)46 45 REAL dt_dwn(klon,klev), dq_dwn(klon,klev),M_dwn(klon,klev) 47 46 REAL M_up(klon,klev) … … 73 72 REAL p(klev),ph(klev+1),pi(klev) 74 73 REAL te(klev),qe(klev),omgbe(klev),dtdwn(klev),dqdwn(klev) 75 INTEGER ibas76 74 REAL dta(klev),dqa(klev) 77 75 REAL wdtPBL(klev),wdqPBL(klev) … … 121 119 c print*, 'sigd0,sigd', sigd0, sigd(i) 122 120 ph(klev+1)=0. 123 cIM bug indice ibas_con: ibas = ibas_con(1)124 ibas = ibas_con(i)125 121 126 122 ktopw = wake_k(i) … … 156 152 157 153 call WAKE(p,ph,pi,dtime,sigd0 158 $ ,te,qe,omgbe ,ibas154 $ ,te,qe,omgbe 159 155 $ ,dtdwn,dqdwn,amdwn,amup,dta,dqa 160 156 $ ,wdtPBL,wdqPBL,udtPBL,udqPBL -
LMDZ4/trunk/libf/phylmd/physiq.F
r952 r953 2207 2207 ccalcul caracteristiques de la poche froide 2208 2208 call calWAKE (paprs,pplay,dtime 2209 : ,t_seri,q_seri,omega ,ibas_con2209 : ,t_seri,q_seri,omega 2210 2210 : ,dt_dwn,dq_dwn,M_dwn,M_up 2211 2211 : ,dt_a,dq_a,sigd -
LMDZ4/trunk/libf/phylmd/wake.F
r940 r953 1 1 Subroutine WAKE (p,ph,ppi,dtime,sigd_con 2 : ,te0,qe0,omgb ,ibas2 : ,te0,qe0,omgb 3 3 : ,dtdwn,dqdwn,amdwn,amup,dta,dqa 4 4 : ,wdtPBL,wdqPBL,udtPBL,udqPBL … … 61 61 C qe0 : humidite dans l'environnement (kg/kg) 62 62 C omgb : vitesse verticale moyenne sur la maille (Pa/s) 63 C ibas : cloud base level number64 63 C dtdwn: source de chaleur due aux descentes (K/s) 65 64 C dqdwn: source d'humidite due aux descentes (kg/kg/s) … … 116 115 #include "YOMCST.h" 117 116 #include "cvthermo.h" 117 #include "iniprint.h" 118 118 119 119 c Arguments en entree … … 124 124 REAL te0(klev),qe0(klev) 125 125 REAL omgb(klev+1) 126 INTEGER ibas127 126 REAL dtdwn(klev), dqdwn(klev) 128 127 REAL wdtPBL(klev),wdqPBL(klev) … … 198 197 REAL epaisseur1(klev), epaisseur2(klev) 199 198 200 REAL pbase201 202 199 REAL the(klev), thu(klev) 203 200 … … 264 261 265 262 delta_t_min = 0.2 266 267 268 C Cloud base269 c-------------------------------------------------------------------------270 271 Pbase = P(ibas)272 263 273 264 … … 544 535 545 536 IF ( wape .LT. 0.) THEN 546 print*,'wape<0'537 if(prt_level.ge.10) print*,'wape<0' 547 538 wape = 0. 548 539 hw = hwmin … … 555 546 ENDDO 556 547 ELSE 557 print*,'wape>0'548 if(prt_level.ge.10) print*,'wape>0' 558 549 Cstar = stark*sqrt(2.*wape) 559 550 ENDIF … … 1012 1003 1013 1004 IF ( wape2 .LT. 0.) THEN 1014 print*,'wape2<0'1005 if(prt_level.ge.10) print*,'wape2<0' 1015 1006 wape2 = 0. 1016 1007 hw = hwmin … … 1023 1014 ENDDO 1024 1015 ELSE 1025 print*,'wape2>0'1016 if(prt_level.ge.10) print*,'wape2>0' 1026 1017 Cstar2 = stark*sqrt(2.*wape2) 1027 1018
Note: See TracChangeset
for help on using the changeset viewer.