Ignore:
Timestamp:
Jun 18, 2020, 5:12:08 PM (5 years ago)
Author:
lrossi
Message:

MARS GCM

HDO
Correction of an error in newstart for inihdo.
Other minor corrections for HDO cycle.
Transition from fractionation coefficients from Merlivat et al. 1967 to Lamb et al. 2017

LR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/newstart.F

    r2312 r2378  
    10101010        !D/H (SMOW) = 155.76e-6 so HDO/H2O is twice that
    10111011
    1012           DO l=1,llm
    1013             DO j=1,jjp1
    1014               DO i=1,iip1-1
    1015               q(i,j,l,igcm_hdo_vap)= q(i,j,l,igcm_h2o_vap) * DoverH
    1016               q(i,j,l,igcm_hdo_ice)= q(i,j,l,igcm_h2o_ice) * DoverH
    1017               ENDDO
    1018               ! We want to have the very same value at lon -180 and lon 180
    1019               q(iip1,j,l,igcm_hdo_vap) = q(1,j,l,igcm_hdo_vap)
    1020               q(iip1,j,l,igcm_hdo_ice) = q(1,j,l,igcm_hdo_ice)
    1021             ENDDO
    1022           ENDDO
    1023 
    10241012           do ig=1,ngridmx
    10251013           qsurf(ig,igcm_h2o_ice)=max(0.,qsurf(ig,igcm_h2o_ice))
    1026            qsurf(ig,igcm_hdo_ice)= DoverH * qsurf(ig,igcm_h2o_ice)
    10271014           end do
     1015
     1016        ! Update the hdo tracers
     1017         q(1:iip1,1:jjp1,1:llm,igcm_hdo_vap)
     1018     &      =q(1:iip1,1:jjp1,1:llm,igcm_h2o_vap)* DoverH
     1019         q(1:iip1,1:jjp1,1:llm,igcm_hdo_ice)
     1020     &      =q(1:iip1,1:jjp1,1:llm,igcm_h2o_ice)* DoverH
     1021
     1022         qsurf(1:ngridmx,igcm_hdo_ice)
     1023     &      =qsurf(1:ngridmx,igcm_h2o_ice)*DoverH
    10281024
    10291025
Note: See TracChangeset for help on using the changeset viewer.