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
a7a38398
Commit
a7a38398
authored
3 years ago
by
RODIER Quentin
Browse files
Options
Downloads
Patches
Plain Diff
Quentin 08/11/2021: Merge AROME->COMMON tm06_h.f90 (minor)
parent
de66de40
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/common/turb/tm06_h.F90
+4
-0
4 additions, 0 deletions
src/common/turb/tm06_h.F90
src/mesonh/turb/tm06_h.f90
+0
-124
0 additions, 124 deletions
src/mesonh/turb/tm06_h.f90
with
4 additions
and
124 deletions
src/
arome
/turb/tm06_h.F90
→
src/
common
/turb/tm06_h.F90
+
4
−
0
View file @
a7a38398
!MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
!MNH_LIC for details. version 1
! ######spl
! ######spl
SUBROUTINE
TM06_H
(
KKB
,
KKTB
,
KKTE
,
PTSTEP
,
PZZ
,
PFLXZ
,
PBL_DEPTH
)
SUBROUTINE
TM06_H
(
KKB
,
KKTB
,
KKTE
,
PTSTEP
,
PZZ
,
PFLXZ
,
PBL_DEPTH
)
USE
PARKIND1
,
ONLY
:
JPRB
USE
PARKIND1
,
ONLY
:
JPRB
...
...
This diff is collapsed.
Click to expand it.
src/mesonh/turb/tm06_h.f90
deleted
100644 → 0
+
0
−
124
View file @
de66de40
!MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
!MNH_LIC for details. version 1.
!-----------------------------------------------------------------
!--------------- special set of characters for RCS information
!-----------------------------------------------------------------
! $Source$ $Revision$
! MASDEV4_7 newsrc 2006/06/02 17:34:59
!-----------------------------------------------------------------
! ################
MODULE
MODI_TM06_H
! ################
!
INTERFACE
!
SUBROUTINE
TM06_H
(
KKB
,
KKTB
,
KKTE
,
PTSTEP
,
PZZ
,
PFLXZ
,
PBL_DEPTH
)
!
INTEGER
,
INTENT
(
IN
)
::
KKB
! index of 1st physical level
! close to ground
INTEGER
,
INTENT
(
IN
)
::
KKTB
! first physical level in k
INTEGER
,
INTENT
(
IN
)
::
KKTE
! last physical level in k
REAL
,
INTENT
(
IN
)
::
PTSTEP
! Double time step
REAL
,
DIMENSION
(:,:,:),
INTENT
(
IN
)
::
PZZ
! altitude of flux levels
REAL
,
DIMENSION
(:,:,:),
INTENT
(
IN
)
::
PFLXZ
! heat flux
REAL
,
DIMENSION
(:,:),
INTENT
(
INOUT
)
::
PBL_DEPTH
! boundary layer height
!
!-------------------------------------------------------------------------------
!
END
SUBROUTINE
TM06_H
!
END
INTERFACE
!
END
MODULE
MODI_TM06_H
!
! #################################################################
SUBROUTINE
TM06_H
(
KKB
,
KKTB
,
KKTE
,
PTSTEP
,
PZZ
,
PFLXZ
,
PBL_DEPTH
)
! #################################################################
!
!
!!**** *TM06_H* - computes the Third Order Moments
!!
!! PURPOSE
!! -------
!
!!** METHOD
!! ------
!!
!! TOMs are deduced from convective normalized TOMs according to Tomas and
!! Masson 2006
!!
!! EXTERNAL
!! --------
!!
!! IMPLICIT ARGUMENTS
!! ------------------
!!
!!
!! REFERENCE
!! ---------
!!
!! AUTHOR
!! ------
!! V. MAsson and S. Tomas * Meteo-France *
!!
!! MODIFICATIONS
!! -------------
!! Original sept. 2005
!!
!! --------------------------------------------------------------------------
!
!* 0. DECLARATIONS
! ------------
!
USE
MODD_PARAMETERS
,
ONLY
:
XUNDEF
!
!
IMPLICIT
NONE
!
!
!* 0.1 declarations of arguments
!
INTEGER
,
INTENT
(
IN
)
::
KKB
! index of 1st physical level
! close to ground
INTEGER
,
INTENT
(
IN
)
::
KKTB
! first physical level in k
INTEGER
,
INTENT
(
IN
)
::
KKTE
! last physical level in k
REAL
,
INTENT
(
IN
)
::
PTSTEP
! Double time step
REAL
,
DIMENSION
(:,:,:),
INTENT
(
IN
)
::
PZZ
! altitude of flux levels
REAL
,
DIMENSION
(:,:,:),
INTENT
(
IN
)
::
PFLXZ
! heat flux
REAL
,
DIMENSION
(:,:),
INTENT
(
INOUT
)
::
PBL_DEPTH
! boundary layer height
!
!-------------------------------------------------------------------------------
!
! 0.2 declaration of local variables
!
!
INTEGER
::
JK
! loop counter
REAL
,
DIMENSION
(
SIZE
(
PZZ
,
1
),
SIZE
(
PZZ
,
2
))
::
ZFLXZMIN
! minimum of temperature flux
REAL
,
DIMENSION
(
SIZE
(
PZZ
,
1
),
SIZE
(
PZZ
,
2
))
::
ZBL_DEPTH
! BL depth at previous time-step
REAL
::
ZGROWTH
! maximum BL growth rate
!----------------------------------------------------------------------------
!
!* mixed boundary layer cannot grow more rapidly than 1800m/h
ZGROWTH
=
2.0
! (m/s)
!
!----------------------------------------------------------------------------
!
ZBL_DEPTH
(:,:)
=
PBL_DEPTH
(:,:)
WHERE
(
ZBL_DEPTH
(:,:)
==
XUNDEF
)
ZBL_DEPTH
(:,:)
=
0.
!
PBL_DEPTH
(:,:)
=
XUNDEF
ZFLXZMIN
(:,:)
=
PFLXZ
(:,:,
KKB
)
!
DO
JK
=
KKTB
,
KKTE
WHERE
(
PFLXZ
(:,:,
KKB
)
>
0.
.AND.
PFLXZ
(:,:,
JK
)
<
ZFLXZMIN
(:,:))
PBL_DEPTH
(:,:)
=
PZZ
(:,:,
JK
)
-
PZZ
(:,:,
KKB
)
ZFLXZMIN
(:,:)
=
PFLXZ
(:,:,
JK
)
END
WHERE
END
DO
!
WHERE
(
PBL_DEPTH
(:,:)/
=
XUNDEF
)
PBL_DEPTH
(:,:)
=
MIN
(
PBL_DEPTH
(:,:),
ZBL_DEPTH
(:,:)
+
ZGROWTH
*
PTSTEP
)
!
!----------------------------------------------------------------------------
END
SUBROUTINE
TM06_H
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