Ignore:
Timestamp:
Jul 24, 2024, 1:17:08 PM (2 months ago)
Author:
abarral
Message:

Rename modules in misc from *_mod > lmdz_*
Put cbrt.f90, ch*.f90, pch*.f90 in new lmdz_libmath_pch.f90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/inlandsis/inlandsis.f90

    r5105 r5113  
    336336
    337337  data      Z0mBS0 /   0.5e-6/            ! MINimum Snow Roughness Length
    338                                           ! ! for Momentum if Blowing Snow
    339                                           ! ! Gallee et al. 2001 BLM 99 (19)
     338                                          ! for Momentum if Blowing Snow
     339                                          ! Gallee et al. 2001 BLM 99 (19)
    340340  data      Z0m_S0/    0.00005/           ! MINimum Snow Roughness Length
    341                                           ! ! MegaDunes    included
     341                                          ! MegaDunes    included
    342342  data      Z0m_S1/    0.030  /           ! MAXimum Snow Roughness Length
    343                                           ! !        (Sastrugis)
     343                                          !        (Sastrugis)
    344344  ! #GL data      Z0_GIM/    0.0013/            ! Ice Min Z0 = 0.0013 m (Broeke)
    345                                           ! ! Old Ice Z0 = 0.0500 m (Bruce)
    346                                           ! !              0.0500 m (Smeets)
    347                                           ! !              0.1200 m (Broeke)
     345                                          ! Old Ice Z0 = 0.0500 m (Bruce)
     346                                          !              0.0500 m (Smeets)
     347                                          !              0.1200 m (Broeke)
    348348  data      Z0_ICE/    0.0010/            ! Sea-Ice Z0 = 0.0010 m (Andreas)
    349                                           ! !    (Ice Station Weddel -- ISW)
     349                                          !    (Ice Station Weddel -- ISW)
    350350  ! for aerolian erosion
    351351  data      SblPom/ 1.27/   ! Lower Boundary Height Parameter
     
    436436
    437437    rCd10n =  1. / 26.5 ! Vt / u*t = 26.5
    438                  ! ! Budd et al. 1965, Antarct. Res. Series Fig.13
    439                  ! ! ratio developped during assumed neutral conditions
     438                 ! Budd et al. 1965, Antarct. Res. Series Fig.13
     439                 ! ratio developped during assumed neutral conditions
    440440
    441441
     
    554554        ! sss__G      =  0.27417     * gravit
    555555
    556   ! ! ______________               _____
    557   ! ! Newton-Raphson (! Iteration, BEGIN)
    558   ! ! ~~~~~~~~~~~~~~               ~~~~~
     556  ! ______________               _____
     557  ! Newton-Raphson (! Iteration, BEGIN)
     558  ! ~~~~~~~~~~~~~~               ~~~~~
    559559        ! DO iit=1,nit
    560560        ! sss__K      =  gravit      * r_Turb * A_Turb *za__SV(ikl)
     
    580580   !      us__SV(ikl)= max(us__SV(ikl),epsi  )
    581581   !      rCDmSV(ikl)=     us__SV(ikl)/VVa_OK
    582   ! ! #AE     sss__F     =     vonkar     /rCDmSV(ikl)
     582  ! #AE     sss__F     =     vonkar     /rCDmSV(ikl)
    583583   !      ENDDO
    584584
    585   ! ! ______________               ___
    586   ! ! Newton-Raphson (! Iteration, END  )
    587   ! ! ~~~~~~~~~~~~~~               ~~~
     585  ! ______________               ___
     586  ! Newton-Raphson (! Iteration, END  )
     587  ! ~~~~~~~~~~~~~~               ~~~
    588588
    589589   !      us_127      =  exp(    SblPom *log(us__SV(ikl)))
    590590   !      us_227      =  us_127         *    us__SV(ikl)
    591591
    592   ! ! Momentum            Turbulent Scale  u*: 0-Limit in case of no Blow. Snow
    593   ! ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     592  ! Momentum            Turbulent Scale  u*: 0-Limit in case of no Blow. Snow
     593  ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    594594   !      dusuth      =  us__SV(ikl) - usthSV(ikl)       ! u* - uth*
    595595   !      signus      =  max(sign(unun,dusuth),zero)     ! 1 <=> u* - uth* > 0
     
    664664        if (is_ok_density_kotlyakov) then
    665665            tt_tmp = TaT_SV(ikl)-TfSnow
    666             ! !vv_tmp = VV10SV(ikl)
     666            !vv_tmp = VV10SV(ikl)
    667667            vv_tmp=VV__SV(ikl) ! Etienne: use wind speed at first model level instead of 10m wind
    668668  ! + ...         [ A compromise between
     
    10041004
    10051005        e_pRad = 2.5   *  coszSV(ikl)       ! exponential argument,
    1006                                             ! ! V/nIR radiation partitioning,
    1007                                             ! ! DR97, 2, eqn (2.53) & (2.54)
     1006                                            ! V/nIR radiation partitioning,
     1007                                            ! DR97, 2, eqn (2.53) & (2.54)
    10081008        e1pRad = 1.-exp(-e_pRad)            ! exponential, V/nIR Rad. Part.
    10091009        exdRad= 1.
     
    11861186
    11871187      TBr_sv(ikl) =sqrt(sqrt(IRu_SV(ikl)/StefBo))      ! Brightness
    1188                                                        ! ! Temperature
     1188                                                       ! Temperature
    11891189      uts_SV(ikl) =     (HSv_sv(ikl) +HSs_sv(ikl)) & ! u*T*
    11901190            /(rhT_SV(ikl) *cp)          !
     
    13181318  ! +  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    13191319      A_Fact      =  1.0000        ! Andreas et al., 2004, p.4
    1320                                    ! ! ams.confex.com/ams/pdfpapers/68601.pdf
     1320                                   ! ams.confex.com/ams/pdfpapers/68601.pdf
    13211321
    13221322  ! Parameterization of z0 dependance on Temperature (C. Amory, 2017)
     
    13411341        Z0_obs = exp(coefa*TaT_SV(ikl) + coefb)
    13421342      else if (TaT_SV(ikl)>=ta2 .and. TaT_SV(ikl)<ta3) then
    1343         ! ! if st > 0, melting induce smooth surface
     1343        ! if st > 0, melting induce smooth surface
    13441344        Z0_obs = exp(coefc*TaT_SV(ikl) + coefd)
    13451345      else
Note: See TracChangeset for help on using the changeset viewer.