Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Méso-NH code
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Méso-NH
Méso-NH code
Commits
31d4d0c5
Commit
31d4d0c5
authored
2 years ago
by
RIETTE Sébastien
Browse files
Options
Downloads
Patches
Plain Diff
S. Riette 4 oct 2022: bugfix for OCEAN key in mode_tke_eps_sources
parent
7872f1ae
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/common/turb/mode_tke_eps_sources.F90
+2
-2
2 additions, 2 deletions
src/common/turb/mode_tke_eps_sources.F90
with
2 additions
and
2 deletions
src/common/turb/mode_tke_eps_sources.F90
+
2
−
2
View file @
31d4d0c5
...
@@ -266,7 +266,7 @@ END IF
...
@@ -266,7 +266,7 @@ END IF
!* 2.2 Explicit TKE sources except horizontal turbulent transport
!* 2.2 Explicit TKE sources except horizontal turbulent transport
!
!
! extrapolate the dynamic production with a 1/Z law from its value at the
! extrapolate the dynamic production with a 1/Z law from its value at the
IF
(
L
OCEAN
)
THEN
IF
(
O
OCEAN
)
THEN
! W(IKE) value stored in PDP(IKE) to the mass localization of tke(IKE)
! W(IKE) value stored in PDP(IKE) to the mass localization of tke(IKE)
PDP
(:,:,
IKE
)
=
PDP
(:,:,
IKE
)
*
(
1.
+
PDZZ
(:,:,
IKE
)/
PDZZ
(:,:,
IKE
+1
))
PDP
(:,:,
IKE
)
=
PDP
(:,:,
IKE
)
*
(
1.
+
PDZZ
(:,:,
IKE
)/
PDZZ
(:,:,
IKE
+1
))
ELSE
ELSE
...
@@ -286,7 +286,7 @@ ZSOURCE(:,:,:) = ( PRTKES(:,:,:) + PRTKEMS(:,:,:) ) / PRHODJ(:,:,:) &
...
@@ -286,7 +286,7 @@ ZSOURCE(:,:,:) = ( PRTKES(:,:,:) + PRTKEMS(:,:,:) ) / PRHODJ(:,:,:) &
!
!
! To add here in ZSOURCE surface flux of TKE
! To add here in ZSOURCE surface flux of TKE
!(assumed to be 0 for ATM,
!(assumed to be 0 for ATM,
IF
(
L
OCEAN
)
THEN
IF
(
O
OCEAN
)
THEN
!for ocean:wave breaking simple/very rough param wE = 100 Ustar**3 where ustar is the Tau_atmi/rhocea
!for ocean:wave breaking simple/very rough param wE = 100 Ustar**3 where ustar is the Tau_atmi/rhocea
ZSOURCE
(:,:,
IKE
)
=
ZSOURCE
(:,:,
IKE
)
-1.E2
*
((
PSFUM
(:,:)
**
2
+
PSFVM
(:,:)
**
2
)
**
1.5
)
/
PDZZ
(:,:,
IKE
)
ZSOURCE
(:,:,
IKE
)
=
ZSOURCE
(:,:,
IKE
)
-1.E2
*
((
PSFUM
(:,:)
**
2
+
PSFVM
(:,:)
**
2
)
**
1.5
)
/
PDZZ
(:,:,
IKE
)
END
IF
END
IF
...
...
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