Ignore:
Timestamp:
Sep 8, 2014, 10:09:19 AM (10 years ago)
Author:
aslmd
Message:

LMDZ.COMMON. introduced an attenuation profile for nudging towards wind. new parameter: phalf: pressure at which attenuation factor is divided by two.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/dyn3dpar/leapfrog_p.F

    r1302 r1345  
    678678
    679679#ifdef NODYN
    680       WRITE(lunout,*)"NO DYN !!!!!"
     680      !WRITE(lunout,*)"NO DYN !!!!!"
    681681      dv(:,:) = 0.D+0
    682682      du(:,:) = 0.D+0
     
    684684      dq(:,:,:) = 0.D+0
    685685      dp(:) = 0.D+0
     686      if (planet_type.eq."generic") then
     687      if (ok_guide) then
     688       DO l=1,llm
     689       ucov(:,l) = ucov(:,l) + dt*attenua(l)*
     690     &   ((uforc(:,l)-ucov(:,l))/facwind)
     691       ENDDO
     692      endif
     693      endif
    686694#else
    687695! ADAPTATION GCM POUR CP(T)
     
    719727      if (planet_type.eq."generic") then
    720728       if (ok_guide) then
    721          du(:,:) = du(:,:) + ((uforc(:,:)-ucov(:,:)) / facwind)
     729         DO l=1,llm
     730          du(:,l)=du(:,l)+attenua(l)*((uforc(:,l)-ucov(:,l))/facwind)
     731         ENDDO
    722732       endif
    723733      endif
Note: See TracChangeset for help on using the changeset viewer.