Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
G
getm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knut Klingbeil
getm
Commits
d788fff8
Commit
d788fff8
authored
Jul 06, 2012
by
Knut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initialise z[u|v]b for gotm
parent
ca25f8e7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
src/2d/bottom_friction.F90
src/2d/bottom_friction.F90
+4
-0
src/3d/variables_3d.F90
src/3d/variables_3d.F90
+1
-0
src/domain/domain.F90
src/domain/domain.F90
+7
-1
No files found.
src/2d/bottom_friction.F90
View file @
d788fff8
...
...
@@ -85,6 +85,10 @@
!$OMP FIRSTPRIVATE(j) &
!$OMP PRIVATE(i,vel,cd,it,z0d)
! KK-TODO: the present implementation sets normal velocity outside open
! bdy cell to zero (we need proper mirror)
! zonal velocity
!$OMP DO SCHEDULE(RUNTIME)
#ifndef SLICE_MODEL
...
...
src/3d/variables_3d.F90
View file @
d788fff8
...
...
@@ -195,6 +195,7 @@
ssen
=
_
ZERO_
;
ssun
=
_
ZERO_
;
ssvn
=
_
ZERO_
Dn
=
_
ZERO_
;
Dun
=
_
ZERO_
;
Dvn
=
_
ZERO_
zub
=
-9999.0
;
zvb
=
-9999.0
! must be initialised for gotm
if
(
bottfric_method
.eq.
1
)
then
rru
=
rdrag
rrv
=
rdrag
...
...
src/domain/domain.F90
View file @
d788fff8
...
...
@@ -395,6 +395,7 @@
call
getm_error
(
"init_domain()"
,
&
"non-positive bottom roughness"
);
end
if
z0
=
z0_const
zub0
=
z0_const
zvb0
=
z0_const
case
(
3
)
...
...
@@ -422,7 +423,7 @@
end
do
case
default
call
getm_error
(
"init_domain()"
,
&
"A non valid
z0
method has been chosen"
);
"A non valid
bottfric
method has been chosen"
);
end
select
if
(
bottfric_method
.eq.
2
.or.
bottfric_method
.eq.
3
)
then
if
(
cd_min
.gt.
_
ZERO_
)
then
...
...
@@ -433,6 +434,11 @@
if
(
z0d_iters
.gt.
0
)
then
LEVEL3
'iterations for dynamic bottom roughness: '
,
z0d_iters
end
if
else
#ifndef CONSTANT_VISCOSITY
call
getm_error
(
"init_domain()"
,
&
"consistency with GOTM requires quadratic bottom friction"
);
#endif
end
if
#ifdef DEBUG
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment