Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
GOSI9esm
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Consortium Members
UKMO
GOSI
GOSI9esm
Commits
daec708d
Commit
daec708d
authored
2 years ago
by
Guillaume S
Committed by
Guillaume Samson
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
add missing sbc_wave call for abl case
parent
d1c3ada0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/OCE/SBC/sbcmod.F90
+12
-17
12 additions, 17 deletions
src/OCE/SBC/sbcmod.F90
with
12 additions
and
17 deletions
src/OCE/SBC/sbcmod.F90
+
12
−
17
View file @
daec708d
...
...
@@ -417,32 +417,27 @@ CONTAINS
!
! !== sbc formulation ==!
!
IF
(
ln_blk
.OR.
ln_abl
)
THEN
IF
(
ll_sas
)
CALL
sbc_cpl_rcv
(
kt
,
nn_fsbc
,
nn_ice
,
Kbb
,
Kmm
)
! OCE-SAS coupling: SAS receiving fields from OCE
IF
(
ln_wave
)
THEN
IF
(
lk_oasis
)
CALL
sbc_cpl_rcv
(
kt
,
nn_fsbc
,
nn_ice
,
Kbb
,
Kmm
)
! OCE-wave coupling
CALL
sbc_wave
(
kt
,
Kmm
)
ENDIF
ENDIF
!
SELECT
CASE
(
nsbc
)
! Compute ocean surface boundary condition
! ! (i.e. utau,vtau, qns, qsr, emp, sfx)
CASE
(
jp_usr
)
;
CALL
usrdef_sbc_oce
(
kt
,
Kbb
)
! user defined formulation
CASE
(
jp_usr
)
;
CALL
usrdef_sbc_oce
(
kt
,
Kbb
)
! user defined formulation
CASE
(
jp_flx
)
;
CALL
sbc_flx
(
kt
)
! flux formulation
CASE
(
jp_blk
)
IF
(
ll_sas
)
CALL
sbc_cpl_rcv
(
kt
,
nn_fsbc
,
nn_ice
,
Kbb
,
Kmm
)
! OCE-SAS coupling: SAS receiving fields from OCE
!!!!!!!!!!! ATTENTION:ln_wave is not only used for oasis coupling !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
IF
(
ln_wave
)
THEN
IF
(
lk_oasis
)
CALL
sbc_cpl_rcv
(
kt
,
nn_fsbc
,
nn_ice
,
Kbb
,
Kmm
)
! OCE-wave coupling
CALL
sbc_wave
(
kt
,
Kmm
)
ENDIF
CALL
sbc_blk
(
kt
)
! bulk formulation for the ocean
!
CASE
(
jp_abl
)
IF
(
ll_sas
)
CALL
sbc_cpl_rcv
(
kt
,
nn_fsbc
,
nn_ice
,
Kbb
,
Kmm
)
! OCE-SAS coupling: SAS receiving fields from OCE
CALL
sbc_abl
(
kt
)
! ABL formulation for the ocean
!
CASE
(
jp_purecpl
)
;
CALL
sbc_cpl_rcv
(
kt
,
nn_fsbc
,
nn_ice
,
Kbb
,
Kmm
)
! pure coupled formulation
CASE
(
jp_blk
)
;
CALL
sbc_blk
(
kt
)
! bulk formulation for the ocean
CASE
(
jp_abl
)
;
CALL
sbc_abl
(
kt
)
! ABL formulation for the ocean
CASE
(
jp_purecpl
)
;
CALL
sbc_cpl_rcv
(
kt
,
nn_fsbc
,
nn_ice
,
Kbb
,
Kmm
)
! pure coupled formulation
CASE
(
jp_none
)
IF
(
ll_opa
)
CALL
sbc_cpl_rcv
(
kt
,
nn_fsbc
,
nn_ice
,
Kbb
,
Kmm
)
! OCE-SAS coupling: OCE receiving fields from SAS
END
SELECT
!
IF
(
ln_mixcpl
)
CALL
sbc_cpl_rcv
(
kt
,
nn_fsbc
,
nn_ice
,
Kbb
,
Kmm
)
! forced-coupled mixed formulation after forcing
!
IF
(
ln_wave
.AND.
ln_tauoc
)
THEN
! Wave stress reduction
IF
(
ln_wave
.AND.
ln_tauoc
)
THEN
! Wave stress reduction
DO_2D
(
0
,
0
,
0
,
0
)
utau
(
ji
,
jj
)
=
utau
(
ji
,
jj
)
*
(
tauoc_wave
(
ji
,
jj
)
+
tauoc_wave
(
ji
+1
,
jj
)
)
*
0.5_wp
vtau
(
ji
,
jj
)
=
vtau
(
ji
,
jj
)
*
(
tauoc_wave
(
ji
,
jj
)
+
tauoc_wave
(
ji
,
jj
+1
)
)
*
0.5_wp
...
...
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