Skip to content
Snippets Groups Projects
Commit 82284d97 authored by Lucie Bakels's avatar Lucie Bakels
Browse files

Merge branch 'fix_GFS' of gitlab.phaidra.org:flexpart/flexpart into fix_GFS

Former-commit-id: 9ac605e1
parents 1e9a7bdb cec4fc6a
No related branches found
No related tags found
No related merge requests found
...@@ -172,3 +172,10 @@ etex-test: ...@@ -172,3 +172,10 @@ etex-test:
paths: paths:
- ./tests/etex_test.txt - ./tests/etex_test.txt
expire_in: never expire_in: never
documentation:
image: harbor.wolke.img.univie.ac.at/podman/mkdocs-computer:latest
stage: build
script:
- cd ./documentation && mkdocs build -c --verbose
- sshpass -p "$WOLKE_PASSWORD" rsync -autv --delete -e "ssh -o StrictHostKeyChecking=no" /tmp/cr-site/* "$WOLKE_USER@wolke.img.univie.ac.at:/var/www/html/documentation/flexpart"
\ No newline at end of file
...@@ -1305,10 +1305,34 @@ subroutine partdep(nc,density,fract,schmi,vset,ra,ustar,nyl,rhoa,vdep_tmp) ...@@ -1305,10 +1305,34 @@ subroutine partdep(nc,density,fract,schmi,vset,ra,ustar,nyl,rhoa,vdep_tmp)
if (ustar.gt.eps) then if (ustar.gt.eps) then
if (ishape(ic).eq.0) then if (ishape(ic).eq.0) then
reynolds=dquer(ic)/1.e6*vset(ic,j)/nyl
settling_old=-1.0*vset(ic,j)
do i=1,20
if (reynolds.le.0.02) then
c_d=(24.0/reynolds)
else ! Clif and Gauvin scheme is used
c_d=(24.0/reynolds)*(1+0.15*(reynolds**0.687))+ &
0.42/(1.0+42500.0/(reynolds**1.16))
endif
! Settling velocity of a particle is defined by the Newton's impact law:
settling=-1.* &
sqrt(4.*ga*dquer(ic)/1.e6*density(ic)*cunningham(ic)/ &
(3.*c_d*rhoa))
if (abs((settling-settling_old)/settling).lt.0.01) exit
reynolds=dquer(ic)/1.e6*abs(settling)/nyl
settling_old=settling
end do
! Stokes number for each diameter interval ! Stokes number for each diameter interval
!***************************************** !*****************************************
! Use this stokes number for different shapes ! Use this stokes number for different shapes
stokes=vset(ic,j)/ga*ustar*ustar/nyl stokes=abs(settling)/ga*ustar*ustar/nyl
alpha=-3./stokes alpha=-3./stokes
! Deposition layer resistance ! Deposition layer resistance
...@@ -1320,7 +1344,7 @@ subroutine partdep(nc,density,fract,schmi,vset,ra,ustar,nyl,rhoa,vdep_tmp) ...@@ -1320,7 +1344,7 @@ subroutine partdep(nc,density,fract,schmi,vset,ra,ustar,nyl,rhoa,vdep_tmp)
rdp=1./((schmi(ic,j)+10.**alpha)*ustar) rdp=1./((schmi(ic,j)+10.**alpha)*ustar)
endif endif
vdepj=vset(ic,j)+1./(ra+rdp+ra*rdp*vset(ic,j)) vdepj=abs(settling)+1./(ra+rdp+ra*rdp*abs(settling))
else ! Daria Tatsii: Drag coefficient scheme by Bagheri & Bonadonna 2016 else ! Daria Tatsii: Drag coefficient scheme by Bagheri & Bonadonna 2016
! Settling velocities of other shapes ! Settling velocities of other shapes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment