Ignore:
Timestamp:
Feb 11, 2014, 11:52:47 AM (11 years ago)
Author:
Laurent Fairhead
Message:

Correction de bug pour le cas Sandu.
Nudge au dessus de 700hpa à prendre en compte.
MPL

--This line, and those below, will be ignored--

M phy1d/1D_decl_cases.h
A phy1d/1D_nudge_sandu_astex.h
M phy1d/lmdz1d.F

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phy1d/lmdz1d.F

    r1960 r1966  
    133133      real :: pzero=1.e5
    134134      real :: play (llm),zlay (llm),sig_s(llm),plev(llm+1)
     135      real :: playd(llm),zlayd(llm),ap_amma(llm+1),bp_amma(llm+1),poub
    135136
    136137!---------------------------------------------------------------------
     
    154155      REAL, ALLOCATABLE, DIMENSION(:,:):: dq_dyn
    155156      REAL, ALLOCATABLE, DIMENSION(:,:):: d_q_adv
     157      REAL, ALLOCATABLE, DIMENSION(:):: d_th_adv
    156158
    157159!---------------------------------------------------------------------
     
    424426      allocate(dq_dyn(llm,nqtot))
    425427      allocate(d_q_adv(llm,nqtot))
     428      allocate(d_th_adv(llm))
    426429
    427430c
     
    869872!! Increment state variables
    870873!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     874! pour les cas sandu et astex, on reclacule u,v,q,temp et teta dans 1D_nudge_sandu_astex.h
     875! au dessus de 700hpa, on relaxe vers les profils initiaux
     876      if (forcing_sandu .OR. forcing_astex) then
     877#include "1D_nudge_sandu_astex.h"
     878      else
    871879        u(1:mxcalc)=u(1:mxcalc) + timestep*(
    872880     s              du_phys(1:mxcalc)
     
    892900     .             +d_th_adv(1:mxcalc)
    893901     .             +dt_cooling(1:mxcalc))  ! Taux de chauffage ou refroid.
     902
     903      endif  ! forcing_sandu or forcing_astex
    894904
    895905        teta=temp*(pzero/play)**rkappa
Note: See TracChangeset for help on using the changeset viewer.