Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
ocean-mixing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
inmcm-mirror
ocean-mixing
Commits
ae2c21e8
Commit
ae2c21e8
authored
6 months ago
by
Ramil Ahtamyanov
Browse files
Options
Downloads
Patches
Plain Diff
add pph mixing modes: lake&inmom constants
parent
bb546023
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
obl_inmom.f90
+16
-2
16 additions, 2 deletions
obl_inmom.f90
with
16 additions
and
2 deletions
obl_inmom.f90
+
16
−
2
View file @
ae2c21e8
...
...
@@ -116,8 +116,20 @@ module obl_inmom
end
if
end
do
end
do
! obl_pph mixing mode
! obl_pph mixing mode
(lake constants)
else
if
(
kh_km_mode
==
2
)
then
do
j
=
1
,
ny
do
i
=
1
,
nx
if
(
lu
(
i
,
j
)
>
lu_min
)
then
call
pph_kh
(
kh
(
i
,
j
,:),
rit
(
i
,
j
,:),
pphParams
,
nz
)
call
pph_km
(
km
(
i
,
j
,:),
rit
(
i
,
j
,:),
pphParams
,
nz
)
end
if
end
do
end
do
kh
=
kh
*
10000.0
km
=
km
*
10000.0
! obl_pph mixing mode (inmom constants)
else
if
(
kh_km_mode
==
3
)
then
pphParams
%
Km_0
=
7.0
*
0.01
pphParams
%
Kh_0
=
5.0
*
0.01
pphParams
%
alpha
=
5.0
...
...
@@ -135,7 +147,7 @@ module obl_inmom
kh
=
kh
*
10000.0
km
=
km
*
10000.0
! obl_pph_dyn mixing mode
else
if
(
kh_km_mode
==
3
)
then
else
if
(
kh_km_mode
==
4
)
then
do
j
=
1
,
ny
do
i
=
1
,
nx
if
(
lu
(
i
,
j
)
>
lu_min
)
then
...
...
@@ -144,6 +156,8 @@ module obl_inmom
end
if
end
do
end
do
kh
=
kh
*
10000.0
km
=
km
*
10000.0
end
if
! print *, "Kh first:", kh(3,3,1:4)
...
...
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