Changeset 72 for trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2
- Timestamp:
- Feb 19, 2011, 5:36:31 PM (14 years ago)
- Location:
- trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/Registry/Registry.EM
r55 r72 81 81 #### 82 82 state real TSURF ij misc 1 - rhd "TSURF" "SURF TEMPERATURE" "K" #SAVEMARS2 tsurf 83 state real CO2ICE ij misc 1 - r d "CO2ICE" "CO2 GROUND ICE" "kg"#SAVEMARS2 co2ice83 state real CO2ICE ij misc 1 - rhd "CO2ICE" "CO2 GROUND ICE" "kg m-2" #SAVEMARS2 co2ice 84 84 state real EMISSIV ij misc 1 - rd "EMISSIV" "EMISSIVITY" "" #SAVEMARS2 emis 85 85 state real THETA ij misc 1 - rd "THETA" "SLOPE INCLINATION" "deg" #SAVEMARS2 theta_sl … … 90 90 state real SWUP ij misc 1 - rd "SWUP" "UPWARD SW FLUX AT TOP" "W m-2" #SAVEMARS2 fluxtop_sw_tot 91 91 state real LWUP ij misc 1 - rd "LWUP" "UPWARD LW FLUX AT TOP" "W m-2" #SAVEMARS2 fluxtop_lw 92 state real MTOT ij misc 1 - r d"MTOT" "TOTAL MASS WATER VAPOR" "kg m-2" #SAVEMARS2 mtot93 state real ICETOT ij misc 1 - r d"ICETOT" "TOTAL MASS WATER ICE" "kg m-2" #SAVEMARS2 icetot94 state real RAVE ij misc 1 - r d"RAVE" "MEAN ICE RADIUS" "m" #SAVEMARS2 rave92 state real MTOT ij misc 1 - rhd "MTOT" "TOTAL MASS WATER VAPOR" "kg m-2" #SAVEMARS2 mtot 93 state real ICETOT ij misc 1 - rhd "ICETOT" "TOTAL MASS WATER ICE" "kg m-2" #SAVEMARS2 icetot 94 state real RAVE ij misc 1 - rhd "RAVE" "MEAN ICE RADIUS" "m" #SAVEMARS2 rave 95 95 state real RICE ikj misc 1 - rd "RICE" "ICE RADIUS" "m" #SAVEMARS3 rice 96 96 state real HR_SW ikj misc 1 - rd "HR_SW" "HEATING RATE SW" "K/s" #SAVEMARS3 zdtsw 97 97 state real HR_LW ikj misc 1 - rd "HR_LW" "HEATING RATE LW" "K/s" #SAVEMARS3 zdtlw 98 98 state real HR_SH ikj misc 1 - rd "HR_SH" "HEATING RATE sens. heat" "K/s" #SAVEMARS3 zdtdif 99 state real QSURF ij misc 1 - rhd "QSURF" "TRACER AT SURFACE" "kg m-2" #SAVEMARS2 qsurflast 99 100 #### 100 101 #### … … 202 203 state real slpy ij misc 1 - i012rd "SLOPEY" "slope y direction" "rad" 203 204 state real mars_emiss ij misc 1 - i012rd "MARS_EMISS" "emissivity" "0 - 1 fraction" 204 state real mars_cice ij misc 1 - i012rd "MARS_CICE" "co2 ice" "kg" 205 state real mars_cice ij misc 1 - i012rd "MARS_CICE" "co2 ice" "kg/m2" 206 state real mars_wice ij misc 1 - i012rd "MARS_WICE" "h2o ice" "kg/m2" 205 207 state real mars_tsoil ilj misc 1 - i012rd "MARS_TSOIL" "soil temperatures" "K" 206 208 state real mars_isoil ilj misc 1 - i012rd "MARS_ISOIL" "soil thermal inertia" "tiu" -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/dyn_em/module_initialize_quarter_ss.F
r11 r72 429 429 grid%mars_emiss(i,j)=0.95 430 430 grid%mars_cice(i,j)=0. 431 grid%mars_wice(i,j)=0. 431 432 grid%slpx(i,j) = 0. 432 433 grid%slpy(i,j) = 0. -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/dyn_em/module_initialize_real.F
r63 r72 277 277 grid%mars_emiss(i,j)=grid%st000010(i,j) 278 278 grid%mars_cice(i,j)=grid%st010040(i,j) 279 grid%mars_wice(i,j)=grid%sm100200(i,j) 279 280 !! one more security ... co2ice cannot be negative 280 281 IF (grid%mars_cice(i,j) .lt. 0.) grid%mars_cice(i,j)=0. 282 IF (grid%mars_wice(i,j) .lt. 0.) grid%mars_wice(i,j)=0. 281 283 282 284 DO k = 1, config_flags%num_soil_layers … … 484 486 grid%mars_emiss(i,j) = 0.95 485 487 grid%mars_cice(i,j) = 0. 488 grid%mars_wice(i,j) = 0. 486 489 grid%mars_tsoil(i,:,j)=grid%mars_tsoil(its+1,:,jts+1) 487 490 -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/dyn_em/solve_em.F
r55 r72 853 853 & ,MARS_ALB=grid%albedo_gcm,MARS_TI=grid%therm_inert & 854 854 & ,MARS_CICE=grid%mars_cice,MARS_EMISS=grid%mars_emiss & 855 & ,MARS_WICE=grid%mars_wice & 855 856 & ,MARS_TSOIL=grid%mars_tsoil & 856 857 #ifdef NEWPHYS -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/mars_lmd/libf/phymars/meso_physiq.F
r54 r72 184 184 REAL ust(ngridmx) !! pour LES avec isfflx!=0 185 185 LOGICAL flag_LES !! pour LES avec isfflx!=0 186 REAL qsurflast(ngridmx) !! pour diagnostics 186 187 c ****WRF 187 188 REAL pday … … 1496 1497 wtsurf(ig) = tsurf(ig) !! surface temperature 1497 1498 wco2ice(ig) = co2ice(ig) !! co2 ice 1499 1500 !!! TEMP TEMP TEMP TEMP TEMP TEMP TEMP 1501 !!! specific to WRF WRF WRF 1502 !!! just to output water ice on surface 1503 !!! [it might not be water ice on surface but OK] 1504 !!! uncomment the Registry entry 1505 qsurflast(ig) = qsurf(ig,nqmx) 1506 1498 1507 enddo 1499 1508 c -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F
r70 r72 30 30 MARS_MODE, & 31 31 MARS_ALB,MARS_TI,MARS_CICE,MARS_EMISS, & 32 MARS_WICE, & 32 33 MARS_TSOIL, & 33 34 #ifdef NEWPHYS … … 109 110 XLAT,XLONG,HT, & 110 111 MARS_ALB,MARS_TI,MARS_EMISS,MARS_CICE, & 112 MARS_WICE, & 111 113 SLPX,SLPY 112 114 ! 3D arrays … … 440 442 !ENDIF 441 443 442 print *, 'check dynamics'443 !!! in some cases, weird values are displayed444 !!! despite the fact that outputs are OK...445 !print *, 'u', MAXVAL(u), MINVAL(u)446 !print *, 'v', MAXVAL(v), MINVAL(v)447 !print *, 'w', MAXVAL(w), MINVAL(w)448 !print *, 't', MAXVAL(t), MINVAL(t, MASK = t > 0)449 print *, 'u', u(10,1,10), u(10,15,10)450 print *, 'v', v(10,1,10), v(10,15,10)451 print *, 'w', w(10,1,10), w(10,15,10)452 print *, 't', t(10,1,10), t(10,15,10)444 !print *, 'check dynamics' 445 ! !!! in some cases, weird values are displayed 446 ! !!! despite the fact that outputs are OK... 447 ! !print *, 'u', MAXVAL(u), MINVAL(u) 448 ! !print *, 'v', MAXVAL(v), MINVAL(v) 449 ! !print *, 'w', MAXVAL(w), MINVAL(w) 450 ! !print *, 't', MAXVAL(t), MINVAL(t, MASK = t > 0) 451 !print *, 'u', u(10,1,10), u(10,15,10) 452 !print *, 'v', v(10,1,10), v(10,15,10) 453 !print *, 'w', w(10,1,10), w(10,15,10) 454 !print *, 't', t(10,1,10), t(10,15,10) 453 455 454 456 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 786 788 787 789 !-------------------! 790 ! Tracer at surface ! 791 !-------------------! 792 #ifdef NEWPHYS 793 !!! a faire !!! 794 PRINT *, 'WARNING WARNING no tracer at surface' 795 qsurf_val(:)=0. 796 #else 797 SELECT CASE (MARS_MODE) 798 CASE(0) !! NO TRACERS (mars=0) 799 qsurf_val(:)=0. 800 CASE(1) !! WATER CYCLE (mars=1) 801 qsurf_val(2)=MARS_WICE(i,j) !! attention... H2O ice is tracer nqmx in qsurf in LMD physics 802 qsurf_val(1)=0. 803 CASE(2) !! DUST CYCLE (mars=2) 804 qsurf_val(:)=0. 805 END SELECT 806 #endif 807 808 !-------------------! 788 809 ! Slope inclination ! 789 810 !-------------------! … … 832 853 PRINT *,'v_prof ',v_prof 833 854 PRINT *,'tsoil ',tsoil_val 855 PRINT *,'qsurf ',qsurf_val 834 856 #ifdef NEWPHYS 835 857 PRINT *,'isoil ',isoil_val … … 844 866 !-------------------------! 845 867 !-------------------------! 846 q2_val(:)=0 !PBL wind variance 847 qsurf_val(:)=0 !Tracer on surface 868 q2_val(:)=0. !PBL wind variance 848 869 849 870 !-----------------! … … 1167 1188 !!PRINT *, 'min',MINVAL(RUBLTEN, MASK=RUBLTEN/=0.),& 1168 1189 !! ' at',MINLOC(RUBLTEN, MASK=RUBLTEN/=0.) 1169 PRINT *, RUBLTEN(10,1,10), RUBLTEN(10,15,10)1190 !PRINT *, RUBLTEN(10,1,10), RUBLTEN(10,15,10) 1170 1191 PRINT *, 'v non-zero tendencies' 1171 1192 !!PRINT *, 'max',MAXVAL(RVBLTEN, MASK=RVBLTEN/=0.),& … … 1173 1194 !!PRINT *, 'min',MINVAL(RVBLTEN, MASK=RVBLTEN/=0.),& 1174 1195 !! ' at',MINLOC(RVBLTEN, MASK=RVBLTEN/=0.) 1175 PRINT *, RVBLTEN(10,1,10), RVBLTEN(10,15,10)1196 !PRINT *, RVBLTEN(10,1,10), RVBLTEN(10,15,10) 1176 1197 !!! STOP IF CRASH 1177 1198 !IF (MAXVAL(RUBLTEN, MASK=RUBLTEN/=0.) == 0.) STOP
Note: See TracChangeset
for help on using the changeset viewer.