Changeset 4650 for LMDZ6/trunk/libf


Ignore:
Timestamp:
Aug 28, 2023, 8:17:17 AM (15 months ago)
Author:
evignon
Message:

petite correction de l'initialisation de la Ts forcee dans les cas au format standard

Location:
LMDZ6/trunk/libf/phylmd/dyn1d
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/dyn1d/1DUTILS.h

    r4603 r4650  
    266266!Config  Def  = 0.
    267267!Config  Help =
    268        tsurf = 0.
     268       time_ini = 0.
    269269       CALL getin('time_ini',time_ini)
    270270
  • LMDZ6/trunk/libf/phylmd/dyn1d/1D_read_forc_cases.h

    r4297 r4650  
    7373
    7474! initial and boundary conditions :
     75      ! initial pressure
    7576      psurf = ps_prof_cas
    76       if (tskin_prof_cas .NE. 0.) THEN
     77
     78      !initial surface temperature
     79      if (tskin_prof_cas .NE. 0.) then
     80      ! we take the first value of the prescribed ts
    7781          tsurf=tskin_prof_cas
     82      else if (ts_prof_cas .NE. 0) then
     83      ! if an initial ts value is present, we take it
     84          tsurf=ts_prof_cas
    7885      endif
    7986
     87      ! ts forcing during the run (if any)
    8088      tg = ts_prof_cas
    8189      if ((tg .eq. 0.) .and. (tskin_prof_cas .NE. 0.)) THEN
Note: See TracChangeset for help on using the changeset viewer.