Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Flexpart
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benjamin Püschel
Flexpart
Commits
82284d97
Commit
82284d97
authored
Mar 21, 2024
by
Lucie Bakels
Browse files
Options
Downloads
Plain Diff
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+7
-0
7 additions, 0 deletions
.gitlab-ci.yml
src/drydepo_mod.f90
+27
-3
27 additions, 3 deletions
src/drydepo_mod.f90
with
34 additions
and
3 deletions
.gitlab-ci.yml
+
7
−
0
View file @
82284d97
...
@@ -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
This diff is collapsed.
Click to expand it.
src/drydepo_mod.f90
+
27
−
3
View file @
82284d97
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment