Ignore:
Timestamp:
05/05/17 16:44:01 (7 years ago)
Author:
dumas
Message:

Update closed water cycle | H = 1m on sea suppressed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SOURCES/ablation_bord.f90

    r99 r102  
    3232! mise a jour du masque "ice" 
    3333where (flot(:,:))        ! points flottants, sera éventuellement réévalué dans flottab 
    34    where(H(:,:).gt.max(Hmin,Hmin+BM(:,:)-Bmelt(:,:))) 
     34!cdc 1m  where(H(:,:).gt.max(Hmin,Hmin+BM(:,:)-Bmelt(:,:))) 
     35   where(H(:,:).gt.0.) 
    3536      ice(:,:)=1 
    3637   elsewhere 
    3738      ice(:,:)=0 
    38       H(:,:)=max(1.,min(0.,(sealevel - Bsoc(:,:))*row/ro-0.01)) 
     39!cdc 1m      H(:,:)=max(1.,min(0.,(sealevel - Bsoc(:,:))*row/ro-0.01)) 
     40                        H(:,:)=0. 
    3941   endwhere 
    4042elsewhere                ! points posés 
     
    4749 
    4850 
     51 
     52 
     53 
    4954where (ice(:,:).eq.1)    !  quand glace : abl=bm-acc  
    5055   ablbord(:,:)=0. 
    5156endwhere 
     57!~ where (calv(:,:).LT.0.) ! il ne peut pas y avoir calving et ablbord sur un meme point 
     58!~       ablbord(:,:)=0. 
     59!~ endwhere 
    5260 
    5361! pour être au bord, il suffit que la somme des ice voisins soit > 0 
     
    6270         somm=ice(ip1,j)+ice(im1,j)+ice(i,jp1)+ice(i,jm1) 
    6371         if (somm.gt.0.and.(ablbord(i,j).LT.0.)) then                               ! voisins englaces 
    64 !         if (somm.gt.0.and.((ablbord(i,j).LT.0.).OR.(flot(ip1,j).OR.flot(im1,j).OR.flot(i,jp1).OR.flot(i,jm1)))) then   ! voisins englaces 
    65 !            ablbord(i,j)= ablbord(i,j) - (Acc(i,j) * dt)     !  Ablvrai=bmpdd-Acc-Hcalc/dt 
    66             ablbord(i,j)= ablbord(i,j) + ((Bmelt(i,j) - Bm(i,j)) * dt)  ! version Tof : ablbord = Hcons_mass - Bm - Bmelt 
     72!~ !         if (somm.gt.0.and.((ablbord(i,j).LT.0.).OR.(flot(ip1,j).OR.flot(im1,j).OR.flot(i,jp1).OR.flot(i,jm1)))) then   ! voisins englaces 
     73!~ !            ablbord(i,j)= ablbord(i,j) - (Acc(i,j) * dt)     !  Ablvrai=bmpdd-Acc-Hcalc/dt 
     74!~           if (ablbord(i,j).LT.0..and.front(i,j).LE.4.and.front(i,j).GE.0) then 
     75            ablbord(i,j)= max(0.,ablbord(i,j) + ((Bmelt(i,j) - Bm(i,j)) * dt))  ! version Tof : ablbord = Hcons_mass - Bm - Bmelt 
    6776 
    68          else 
    69 ! version cat            ablbord(i,j)=hdot(i,j)-acc(i,j)   ! on ne fond que ce qui est tombe + existant 
    70                                                 ablbord(i,j)=0. 
    71          endif 
    72  
     77          else 
     78!~ ! version cat            ablbord(i,j)=hdot(i,j)-acc(i,j)   ! on ne fond que ce qui est tombe + existant 
     79                                                ablbord(i,j)=0. 
     80          endif 
     81        else 
     82                      ablbord(i,j)=0. 
    7383      end if 
    7484   end do 
Note: See TracChangeset for help on using the changeset viewer.