Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LAKE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andrey Klenin
LAKE
Commits
a4b17625
Commit
a4b17625
authored
4 years ago
by
Victor Stepanenko
Browse files
Options
Downloads
Patches
Plain Diff
An option to compute bottom oxygen flux from logarithmic law is added
parent
f29fb387
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/model/oxygen_mod.f90
+3
-1
3 additions, 1 deletion
source/model/oxygen_mod.f90
with
3 additions
and
1 deletion
source/model/oxygen_mod.f90
+
3
−
1
View file @
a4b17625
...
...
@@ -31,6 +31,7 @@ SUBROUTINE OXYGEN &
use
PHYS_FUNC
,
only
:
&
&
HENRY_CONST
,
&
&
GAS_WATATM_FLUX
use
PHYS_CONSTANTS
,
only
:
kappa
,
z0_bot
use
PHYS_CONSTANTS
,
only
:
&
&
Kelvin0
...
...
@@ -101,9 +102,10 @@ allocate (a(1:vector_length),b(1:vector_length),c(1:vector_length), &
a
(:)
=
0.
;
b
(:)
=
0.
;
c
(:)
=
0.
;
f
(:)
=
0.
;
y
(:)
=
0.
Foxyg1
=
sodbot
!Foxyg1 = kappa*oxyg(gs%M+1,1)/log(0.25*gsp%ddz(gs%M)*ls%h1/z0_bot) !note: explicit scheme for flux
if
(
ls
%
h1
>
0
)
then
! 1-st step of splitting-up scheme - diffusion
! 1-st step of splitting-up scheme - diffusion
, explicit scheme for flux
if
(
ls
%
l1
==
0
)
then
x
=
HENRY_CONST
(
Henry_const0_o2
,
Henry_temp_dep_o2
,
Henry_temp_ref
,
&
&
Twater
(
1
)
+
Kelvin0
)
...
...
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