- Timestamp:
- Mar 5, 2012, 2:34:44 AM (13 years ago)
- Location:
- trunk/MESOSCALE/LMD_MM_MARS
- Files:
-
- 13 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SIMU/DEF/newphys_THARSIS_WATER/callphys.def.mars11_radact_therm
r515 r559 54 54 callnlte = .false. 55 55 # call CO2 NIR absorption ? matters only if callrad=T 56 callnirco2 = . true.56 callnirco2 = .false. 57 57 # call turbulent vertical diffusion ? 58 58 calldifv = .true. -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/dyn_em/module_initialize_quarter_ss.F
r143 r559 264 264 grid%cosa(i,j) = 1. 265 265 grid%e(i,j) = 0. 266 grid%f(i,j) = 0. !! MARS: put coriolis here if needed266 grid%f(i,j) = 0. 267 267 268 268 END DO … … 401 401 ! grid%ht(i,j) = hm1*exp(-(( float(i-icm)/xa1)**2)) & 402 402 ! *( (cos(pii*float(i-icm)/xal1))**2 ) 403 write(6,*) '3D hill or crater ' 404 write(6,*) 'height, width ',hm,xa 405 grid%ht(i,j) = alt_input + hm/(1.+(float(i-icm)/xa)**2+(float(j-jcm)/xa)**2) 403 IF (hm .gt. 0.) THEN 404 write(6,*) '3D hill. height, width: ',hm,xa 405 write(6,*) 'input sounding is out of the mountain' 406 grid%ht(i,j) = alt_input + hm/(1.+(float(i-icm)/xa)**2+(float(j-jcm)/xa)**2) 407 ELSE IF (hm .lt. 0.) THEN 408 write(6,*) '3D crater. height, width: ',hm,xa 409 write(6,*) 'input sounding is at the bottom of crater' 410 grid%ht(i,j) = (alt_input - hm) + hm/(1.+(float(i-icm)/xa)**2+(float(j-jcm)/xa)**2) 411 !! AS: cannot use same formula as hill because it would force ideal.exe to extrapolate 412 !! which is not possible given how interp_0 is written 413 ELSE 414 write(6,*) 'Nothing. Height is 0. Flat topography' 415 grid%ht(i,j) = alt_input 416 ENDIF 406 417 ELSE 407 418 write(6,*) 'linear slope ' 408 419 write(6,*) 'height ',hm 409 grid%ht(i,j) = alt_input + hm * float(i) 420 IF (hm .gt. 0.) THEN 421 grid%ht(i,j) = alt_input + hm * float(i) 422 ELSE IF (hm .lt. 0.) THEN 423 !! see above, crater case 424 grid%ht(i,j) = (alt_input - hm) + hm * float(i) 425 ELSE 426 write(6,*) 'Nothing. Height is 0. Flat topography' 427 grid%ht(i,j) = alt_input 428 ENDIF 410 429 ENDIF 411 430 !!!3D crater … … 437 456 grid%mars_cice(i,j)=0. 438 457 grid%mars_wice(i,j)=0. 458 write(6,*) 'NOTE TO SELF. slpx and slpy set to 0 which means no slope insolation.' 439 459 grid%slpx(i,j) = 0. 440 460 grid%slpy(i,j) = 0. 461 !!! COMMENT THE LINES BELOW IF YOU DON'T WANT CORIOLIS TERMS 462 !!! cf. doc WRF2008 page 11 for e and f expressions 463 grid%e(i,j) = 2. * EOMEG * COS(pi*lat_input/180.) 464 grid%f(i,j) = 2. * EOMEG * SIN(pi*lat_input/180.) 465 write(6,*) 'CALCULATE CORIOLIS TERM', grid%f(i,j),grid%e(i,j) 441 466 !!MARS 442 467 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.