Changeset 2591 for trunk/ICOSA_LMDZ/src


Ignore:
Timestamp:
Dec 6, 2021, 9:19:50 AM (3 years ago)
Author:
emillour
Message:

Venus GCM:
Add proper handling of "cpofT" case in the dynamico interface.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICOSA_LMDZ/src/phyvenus/interface_icosa_lmdz.f90

    r2330 r2591  
    199199
    200200  ! For Cp(T)
     201  LOGICAL :: cpofT
    201202  REAL(rstd) :: nu_venus
    202203  REAL(rstd) :: t0_venus
     
    415416! with constant Cp.
    416417! Conversion Theta/T takes this into account (see below)
    417 ! IF CP(T)
    418 !    nu_venus=0.35
    419 !    t0_venus=460.
    420 ! IF CP CONSTANT
    421     nu_venus=0.
    422     t0_venus=0.
     418    cpofT=.false. ! default, assume Cp to be constant in physics
     419    CALL getin('cpofT',cpofT)
     420
     421    IF (cpofT) THEN
     422      nu_venus=0.35
     423      t0_venus=460.
     424    ELSE
     425      nu_venus=0.
     426      t0_venus=0.
     427    ENDIF
     428
    423429    CALL init_cpdet_phy(cpp,nu_venus,t0_venus)
    424430 
Note: See TracChangeset for help on using the changeset viewer.