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
dc061ac3
Commit
dc061ac3
authored
6 months ago
by
Evgeny Mortikov
Browse files
Options
Downloads
Patches
Plain Diff
fixing model init
parent
083f3a52
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
obl_config.f90
+2
-0
2 additions, 0 deletions
obl_config.f90
obl_k_epsilon.f90
+2
-2
2 additions, 2 deletions
obl_k_epsilon.f90
obl_main.f90
+5
-1
5 additions, 1 deletion
obl_main.f90
obl_run_kato.f90
+1
-1
1 addition, 1 deletion
obl_run_kato.f90
with
10 additions
and
4 deletions
obl_config.f90
+
2
−
0
View file @
dc061ac3
...
...
@@ -370,6 +370,8 @@ contains
#ifdef USE_CONFIG_PARSER
block
!> just a temporaty to set smth
call
set_initial_conditions_kato
(
grid
)
end
block
#endif
...
...
This diff is collapsed.
Click to expand it.
obl_k_epsilon.f90
+
2
−
2
View file @
dc061ac3
...
...
@@ -103,7 +103,7 @@ module obl_k_epsilon
real
,
intent
(
out
)
::
TKE
(
nz
)
!< TKE, [J/kg]
integer
::
k
!< counter
do
k
=
2
,
nz
-1
do
k
=
1
,
nz
TKE
(
k
)
=
1.0
/
(
param
%
C_mu
)
**
(
1.0
/
2.0
)
*
0.001
*
0.001
end
do
end
subroutine
...
...
@@ -116,7 +116,7 @@ module obl_k_epsilon
real
,
intent
(
out
)
::
eps
(
nz
)
!< TKE dissipation rate, [W/kg]
integer
::
k
!< counter
do
k
=
2
,
nz
-1
do
k
=
1
,
nz
eps
(
k
)
=
0.001
*
0.001
*
0.001
/
(
param
%
kappa
*
z
)
!not full z, but current z - must be fixed
end
do
end
subroutine
...
...
This diff is collapsed.
Click to expand it.
obl_main.f90
+
5
−
1
View file @
dc061ac3
...
...
@@ -243,7 +243,11 @@ program obl_main
! ----------------------------------------------------------------------------
if
(
closure_mode
.eq.
3
.or.
closure_mode
.eq.
4
)
then
call
TKE_init
(
TKE
,
param_k_epsilon
,
grid
%
cz
)
call
eps_init
(
EPS
,
param_k_epsilon
,
grid
%
cz
,
grid
%
height
)
call
EPS_init
(
EPS
,
param_k_epsilon
,
grid
%
cz
,
grid
%
height
)
!< have to define Km, Kh at init
Km
=
0.0
Kh
=
0.0
endif
! ----------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
obl_run_kato.f90
+
1
−
1
View file @
dc061ac3
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