Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Nemo
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Model experiments
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
Sam Hatfield
Nemo
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
Branches containing commit
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
...
@@ -417,32 +417,27 @@ CONTAINS
!
!
! !== sbc formulation ==!
! !== 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
SELECT
CASE
(
nsbc
)
! Compute ocean surface boundary condition
! ! (i.e. utau,vtau, qns, qsr, emp, sfx)
! ! (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_flx
)
;
CALL
sbc_flx
(
kt
)
! flux formulation
CASE
(
jp_blk
)
CASE
(
jp_blk
)
;
CALL
sbc_blk
(
kt
)
! bulk formulation for the ocean
IF
(
ll_sas
)
CALL
sbc_cpl_rcv
(
kt
,
nn_fsbc
,
nn_ice
,
Kbb
,
Kmm
)
! OCE-SAS coupling: SAS receiving fields from OCE
CASE
(
jp_abl
)
;
CALL
sbc_abl
(
kt
)
! ABL formulation for the ocean
!!!!!!!!!!! ATTENTION:ln_wave is not only used for oasis coupling !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
CASE
(
jp_purecpl
)
;
CALL
sbc_cpl_rcv
(
kt
,
nn_fsbc
,
nn_ice
,
Kbb
,
Kmm
)
! pure coupled formulation
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_none
)
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
IF
(
ll_opa
)
CALL
sbc_cpl_rcv
(
kt
,
nn_fsbc
,
nn_ice
,
Kbb
,
Kmm
)
! OCE-SAS coupling: OCE receiving fields from SAS
END
SELECT
END
SELECT
!
IF
(
ln_mixcpl
)
CALL
sbc_cpl_rcv
(
kt
,
nn_fsbc
,
nn_ice
,
Kbb
,
Kmm
)
! forced-coupled mixed formulation after forcing
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
)
DO_2D
(
0
,
0
,
0
,
0
)
utau
(
ji
,
jj
)
=
utau
(
ji
,
jj
)
*
(
tauoc_wave
(
ji
,
jj
)
+
tauoc_wave
(
ji
+1
,
jj
)
)
*
0.5_wp
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
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.
Guillaume Samson
@gsamson
mentioned in commit
nemo/nemo@d1905899
·
2 years ago
mentioned in commit
nemo/nemo@d1905899
mentioned in commit nemo/nemo@d19058993a6e0af715c5daeb334fb4ad9a53ddcb
Toggle commit list
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