Changeset 126
- Timestamp:
- May 23, 2011, 8:40:24 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 6 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/000-USERS
r91 r126 6 6 Ehouarn Millour LMD [CNRS] start All GCMs 7 7 Sebastien Lebonnois LMD [CNRS] start Venus and Titan GCMs 8 Aymeric Spiga LMD [UPMC] 17 - 11 - 2011 Mars GCM, MMM and LES 8 Aymeric Spiga LMD [UPMC] 17 - 11 - 2010 Mars GCM, MMM and LES 9 Arnaud Colaitis LMD [CNRS] 23 - 05 - 2011 Mars GCM, MMM and LES 9 10 10 11 ------------------------------------------------------------------------------------------------------------------------ -
trunk/mars/libf/phymars/callradite.F
r118 r126 263 263 c PLEASE MAKE SURE that you set up the right number of 264 264 c scatterers in dimradmars.h (naerkind); 265 cname_iaer(1) = "dust_conrath" !! poussiere classique266 name_iaer(1) = "dust_doubleq"265 name_iaer(1) = "dust_conrath" !! poussiere classique 266 c name_iaer(1) = "dust_doubleq" 267 267 cc name_iaer(2) = "dust_submicron" !! JB: experimental 268 268 c name_iaer(2) = "h2o_ice" -
trunk/mars/libf/phymars/dimradmars.h
r118 r126 27 27 ! (ex: naerkind=2 if you use one dust mode and active ice ...) 28 28 integer naerkind 29 parameter (naerkind=1)29 parameter (naerkind=1) 30 30 ! parameter (naerkind=2) 31 !!!!!! CHANGE CHANGE nsizemax BELOW BELOW 31 32 32 33 ! Reference wavelengths used to compute reference optical depth (m) … … 76 77 ! the radiative calculations. 77 78 78 INTEGER, PARAMETER :: nsizemax = 6079 !INTEGER, PARAMETER :: nsizemax = 179 ! INTEGER, PARAMETER :: nsizemax = 60 80 INTEGER, PARAMETER :: nsizemax = 1 80 81 81 82 ! Various initialisation for LW radiative code -
trunk/mesoscale/LMD_LES_MARS/modif_mars/Registry.EM
r96 r126 118 118 state real QH2O_ICE ikjftb scalar 1 - i01rhusdf=(bdy_interp:dt) "QH2O_ICE" "Water ice mixing ratio" "kg kg-1" 119 119 state real QDUST ikjftb scalar 1 - i01rhusdf=(bdy_interp:dt) "QDUST" "Dust mixing ratio" "kg kg-1" 120 state real qtrac1 ikjftb scalar 1 - i01rhusdf=(bdy_interp:dt) "qtrac1" "Decaying tracer 1" "kg kg-1" 120 121 #### 121 122 #### … … 1488 1489 package water mars==1 - moist:qv;scalar:qh2o,qh2o_ice 1489 1490 package dust mars==2 - moist:qv;scalar:qdust 1491 package radioac mars==20 - scalar:qtrac1 1490 1492 ##### MARS OPTIONS 1491 1493 ##### MARS OPTIONS -
trunk/mesoscale/LMD_LES_MARS/modif_mars/module_initialize_les.F
r92 r126 798 798 real h_input(n), th_input(n), qv_input(n), u_input(n), v_input(n) 799 799 800 ! input therm data (element 0 is the ground so it's n+1 but n is 1000 anyway so...) 801 802 real r_therm(n),cp_therm(n),p_therm(n),rho_therm(n),t_therm(n) 803 800 804 ! diagnostics 801 805 … … 816 820 call read_sounding( p_surf, th_surf, qv_surf, & 817 821 h_input, th_input, qv_input, u_input, v_input,n, nl, debug ) 822 823 ! and the therm : 824 825 call read_therm(r_therm,cp_therm,p_therm,rho_therm,t_therm,n) 826 827 ! To use r/cp as defined above, one has to recompute teta from T (default MCD computes 828 ! teta for a variable r/cp) 829 830 do k=1,nl 831 th_input(k) = t_therm(k)*(p1000mb/p_therm(k))**(r/cp) 832 enddo 833 th_surf = t_therm(1)*(p1000mb/p_therm(1))**(r/cp) 834 ! ----- 818 835 819 836 if(dry) then … … 957 974 end subroutine read_sounding 958 975 976 subroutine read_therm(r,cp,p,rho,t,n) 977 implicit none 978 integer n 979 real r(n),cp(n),p(n),rho(n),t(n) 980 logical end_of_file 981 982 integer k 983 984 ! first element is the surface 985 986 open(unit=11,file='input_therm',form='formatted',status='old') 987 rewind(11) 988 end_of_file = .false. 989 k = 0 990 do while (.not. end_of_file) 991 992 read(11,*,end=101) r(k+1), cp(k+1), p(k+1), rho(k+1), t(k+1) 993 write(*,*) k, r(k+1), cp(k+1), p(k+1), rho(k+1), t(k+1) 994 k = k+1 995 go to 112 996 101 end_of_file = .true. 997 112 continue 998 enddo 999 1000 close(unit=11,status = 'keep') 1001 1002 end subroutine read_therm 1003 959 1004 END MODULE module_initialize_ideal -
trunk/mesoscale/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F
r118 r126 155 155 INTEGER :: i,j,k,its,ite,jts,jte,ij 156 156 INTEGER :: subs,iii 157 REAL :: tau_decay 157 158 158 159 ! *** for LMD physics … … 620 621 621 622 SELECT CASE (MARS_MODE) !! ONLY ALLOW FOR MODES DEFINED IN Registry.EM 622 CASE(4-10,12 :) !! -- CHANGE THIS if YOU ADDED CASES in REGISTRY.EM623 CASE(4-10,12-19,21:) !! -- CHANGE THIS if YOU ADDED CASES in REGISTRY.EM 623 624 PRINT *, 'NOT SUPPORTED, to be done' 624 625 STOP … … 630 631 !package dust2eq mars==3 - scalar:qdust,qdustn 631 632 !package newwater mars==11 - scalar:qh2o,qh2o_ice,qdust,qdustn 633 !package radioac mars==20 - scalar:qtrac1 632 634 !!!!!!!!!!!!!!!!!!! FOR REFERENCE 633 635 … … 652 654 wtnom(3) = 'dust_mass' 653 655 wtnom(4) = 'dust_number' 656 CASE(20) 657 wtnom(1) = 'qtrac1' 654 658 END SELECT 655 659 #endif … … 696 700 IF ( wtnom(iii) .eq. 'co2' ) q_prof(:,iii) = 0.95 697 701 ENDDO 702 703 !! Mars mode 20 : add a passive tracer with radioactive-like decay 704 !! INIT HERE 705 IF (firstcall .EQV. .true.) THEN 706 IF (MARS_MODE .EQ. 20) THEN 707 q_prof(:,:) = 0.95 708 ENDIF 709 ENDIF 710 698 711 #else 699 712 SELECT CASE (MARS_MODE) … … 840 853 qsurf_val(2)=MARS_WICE(i,j) !! logique avec wtnom(2) = 'h2o_ice' defini ci-dessus 841 854 qsurf_val(3)=0. !! not coupled with lifting for the moment [non remobilise] 855 CASE(20) 856 qsurf_val(:)=0. 842 857 #else 843 858 CASE(3:) … … 1195 1210 #ifdef NEWPHYS 1196 1211 SCALAR(i,kps:kpe,j,1)=0. 1197 SCALAR(i,kps:kpe,j,2:nq+1)=SCALAR(i,kps:kpe,j,2:nq+1)+pdq(subs,kps:kpe,1:nq)*dt !!! here dt is needed 1212 !! Mars mode 20 : add a passive tracer with radioactive-like decay 1213 IF (MARS_MODE .EQ. 20) THEN 1214 print *, 'RADIOACTIVE-LIKE TRACER WITH SOURCE AT SURFACE LAYER.' 1215 tau_decay=60.*10. !! why not make it a namelist argument? 1216 SCALAR(i,kps:kpe,j,2) = SCALAR(i,kps:kpe,j,2)*exp(-dt/tau_decay) 1217 SCALAR(i,1,j,2) = SCALAR(i,1,j,2) + 1. !! this tracer is emitted in the surface layer 1218 ELSE 1219 SCALAR(i,kps:kpe,j,2:nq+1)=SCALAR(i,kps:kpe,j,2:nq+1)+pdq(subs,kps:kpe,1:nq)*dt !!! here dt is needed 1220 ENDIF 1198 1221 #else 1199 1222 SELECT CASE (MARS_MODE) -
trunk/mesoscale/TESTS/newphys_tracers/callphys.def.mars0.ideal
r125 r126 1 1 ##General options 2 2 ##~~~~~~~~~~~~~~~ 3 #Directory where external input files are 4 datadir = /san/work/colaitis/datafile/ 5 3 6 #Run with or without tracer transport ? 4 7 tracer=.false. … … 26 29 # =25 Mars Year 25 from TES assimilation (ie: a year with a global dust storm) 27 30 # =26 Mars Year 26 from TES assimilation 28 iaervar = 2631 iaervar = 1 29 32 # Dust opacity at 700 Pa (when constant, i.e. for the iaervar=1 case) 30 tauvis =0.233 tauvis = 0.5 31 34 # Dust vertical distribution: 32 35 # (=0: old distrib. (Pollack90), =1: top set by "topdustref", … … 43 46 callnlte = .false. 44 47 # call CO2 NIR absorption ? matters only if callrad=T 45 callnirco2 = . true.48 callnirco2 = .false. 46 49 # call turbulent vertical diffusion ? 47 50 calldifv = .true. 48 51 # call convective adjustment ? 49 calladj = . true.52 calladj = .false. 50 53 # call CO2 condensation ? 51 54 callcond =.true. … … 55 58 calllott = .false. 56 59 # Impose polar cap surface albedos as observed by TES? 57 TESicealbedo = . true.60 TESicealbedo = .false. 58 61 59 62 ## Radiative transfer options :
Note: See TracChangeset
for help on using the changeset viewer.