Ignore:
Timestamp:
12/17/18 15:13:04 (6 years ago)
Author:
aquiquet
Message:

Bug correction (minor impact) in furst_schoof + velocity limitation based on what we declare in fichier param

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SOURCES/furst_schoof_mod.f90

    r194 r221  
    464464  ! afq -- if we discard the points with multiple fluxes coming, uncomment: 
    465465  where (countx(:,:).ge.2) 
    466      uxbartemp(:,:)=uxbar(i,j)*countx(:,:) 
     466     uxbartemp(:,:)=uxbar(:,:)*countx(:,:) 
    467467     imx_diag(:,:) = imx_diag_in(:,:) 
    468468  end where 
     
    473473  ! afq -- 
    474474   
    475   where (countx(:,:).ne.0) uxbar(:,:)= max(min(uxbartemp(:,:)/countx(:,:),1000.),-1000.) 
    476   where (county(:,:).ne.0) uybar(:,:)= max(min(uybartemp(:,:)/county(:,:),1000.),-1000.) 
     475  where (countx(:,:).ne.0) uxbar(:,:)= max(min(uxbartemp(:,:)/countx(:,:),V_limit),-V_limit) 
     476  where (county(:,:).ne.0) uybar(:,:)= max(min(uybartemp(:,:)/county(:,:),V_limit),-V_limit) 
    477477            
    478478  do j= 3,ny-3 
Note: See TracChangeset for help on using the changeset viewer.