MPAS | WRF | MYNN
MYNN PBL scheme
The Turbulent Kinetic Energy (TKE) budget equation in the Mellor-Yamada-Nakanishi-Niino (MYNN) PBL scheme of the WRF model and how they are outputted. The MYNN scheme is an improved version of the classic Mellor-Yamada scheme (Mellor and Yamada 1982), and it is able to output the TKE budget equation terms on the default WRF history file. These outputs were unbalanced with the equivalent terms used in MYNN to integrate the TKE budget equation. It was fixed on WRF 4.2.2 version code for tests released on WRF 4.5 (CCPP version).
The MYNN-EDMF scheme represents the local mixing using an eddy-diffusivity approach tied to turbulent kinetic energy (TKE). The nonlocal mixing, important for convective boundary layers, is represented using a mass-flux approach. The scheme can be run with either a 2.5 or 3.0 closure and includes a partial-condensation scheme, commonly referred to as a cloud PDF or statistical-cloud scheme, to represent the effects of subgrid-scale (SGS) clouds on buoyancy. This module was originally translated from Nakanishi and Niino (2009) and put into the WRF model by Mariusz Pagowski NOAA/GSD and CIRA/CSU in 2008. It was extensively modified by Joseph Olson and Jaymes Kenyon of NOAA/GSD and CU/CIRES.
Literature Review
- Mellor, George L. "Analytic prediction of the properties of stratified planetary surface layers." J. Atmos. Sci 30.9 (1973): 1061-1069.
- Mellor, George L., and Tetsuji Yamada. "Development of a turbulence closure model for geophysical fluid problems." Reviews of Geophysics 20.4 (1982): 851-875.
- Applications of second-moment turbulent closure hypotheses to geophysical fluid problems have developed rapidly since 1973, when genuine predictive skill in coping with the effects of stratification was demonstrated.
- The Basic Model
- The Closure Assumptions
- The Level 4 Model (Melior and Yarnada, 1974)
- The Level 3 Model
- The Level 2.5 Model
- The Level 2 Model
- The Boundary Layer Apporximation: Level 2.5
- The Boundary Layer Apporximation: Level 2
- Nakanishi, Mikio, and Hiroshi Niino. "An improved Mellor–Yamada level-3 model: Its numerical stability and application to a regional prediction of advection fog." Boundary-layer meteorology 119 (2006): 397-407.
- Nakanishi, Mikio, and Hiroshi Niino. "Development of an improved turbulence closure model for the atmospheric boundary layer." Journal of the Meteorological Society of Japan. Ser. II 87.5 (2009): 895-912.
A Description of the MYNN-EDMF Scheme and the Coupling to Other Components in WRF–ARW (March 2019)


Turbulent Kinetic Energy Budget for MYNN-EDMF PBL Scheme in WRF model (2023)
The aim of this technical note is to describe the Turbulent Kinetic Energy (TKE) budget equation in the Mellor-Yamada-Nakanishi-Niino (MYNN) PBL scheme of the WRF model and how they are outputted. The MYNN scheme is an improved version of the classic Mellor-Yamada scheme (Mellor and Yamada 1982), and it is able to output the TKE budget equation terms on the default WRF history file. These outputs were unbalanced with the equivalent terms used in MYNN to integrate the TKE budget equation. It was fixed on WRF 4.2.2 version code for tests released on WRF 4.5 (CCPP version).
Besides the TKE output fix, a new set of similarity relationship equations was implemented in the MYNN scheme to provide the lower boundary conditions for TKE budget equation terms.
- [Turbulent Kinetic Energy Budget for MYNN-EDMF PBL Scheme in WRF model | Technical note UFSM/GruMA 001/2023]
output all TKE budget equation terms
Second-moment models
Turbulence:
In NWP, turbulence is often parameterized using second-moment schemes. These schemes predict the budget equations for the second-order moments of fluctuating velocity and scalar fields, which helps to better represent the effects of turbulent mixing on the atmosphere.
Level 2.5 vs 3 ?
Key Points
- Research suggests Level 2.5 in the MYNN PBL scheme focuses on TKE, while Level 3 includes more detailed turbulence variables, offering higher accuracy but at a higher computational cost.
- It seems likely that Level 2.5 is simpler and better for general forecasting, while Level 3 suits complex scenarios like cloudy conditions.
- The evidence leans toward distinguishing them in WRF by setting
bl_mynn_closure = 2.5
for Level 2.5 andbl_mynn_closure = 3.0
for Level 3, withbl_pbl_physics = 5
.
What Are Level 2.5 and Level 3 in the MYNN PBL Scheme?
The MYNN PBL scheme, used in models like WRF, helps simulate how the atmosphere mixes near the surface. Level 2.5 and Level 3 are different ways to handle this mixing, based on how detailed the calculations are.
- Level 2.5: This level mainly tracks turbulent kinetic energy (TKE), which measures the energy of air turbulence. It estimates other details, like temperature changes, using simpler formulas. It’s less demanding on computers and good for everyday weather predictions.
- Level 3: This level goes further, tracking TKE and additional details like temperature and moisture variations directly. It’s more accurate, especially for complex situations like cloudy skies, but it needs more computing power.
How to Distinguish Them
In WRF, you can choose between these levels by adjusting the settings:
- For Level 2.5, set
bl_pbl_physics = 5
andbl_mynn_closure = 2.5
. - For Level 3, set
bl_pbl_physics = 5
andbl_mynn_closure = 3.0
.
This tells the model which level of detail to use for mixing calculations.
Survey Note: Detailed Explanation of MYNN PBL Scheme Levels in WRF
The Mellor-Yamada-Nakanishi-Niino (MYNN) Planetary Boundary Layer (PBL) scheme is a critical component of numerical weather prediction models like the Weather Research and Forecasting (WRF) model, designed to parameterize turbulent mixing within the planetary boundary layer. This layer, closest to the Earth’s surface, significantly influences weather patterns, especially near-surface conditions. The MYNN scheme, rooted in the Mellor-Yamada turbulence closure framework, offers different levels of complexity, notably Level 2.5 and Level 3, which cater to varying needs in accuracy and computational efficiency. This section provides a comprehensive analysis based on available documentation and user discussions, ensuring a thorough understanding for researchers and practitioners.
Background on MYNN PBL Scheme
The MYNN scheme is a second-order turbulence closure model, an advancement over earlier Mellor-Yamada schemes, tuned using large-eddy simulation (LES) data to improve predictions, particularly over oceanic surfaces (Improvement of the Mellor–Yamada–Nakanishi–Niino Planetary Boundary-Layer Scheme Based on Observational Data in China | Boundary-Layer ...). It was integrated into WRF-ARW version 3.1 by Mariusz Pagowski of NOAA’s Global Systems Division, aiming to enhance turbulence representation for operational systems like Rapid Refresh (RAP) and High-Resolution Rapid Refresh (HRRR) (Noaa). The scheme’s flexibility allows it to operate at different closure levels, balancing computational cost with physical realism.
Detailed Description of Level 2.5
Level 2.5 is a partially prognostic closure model within the MYNN framework. It focuses on solving a prognostic equation for turbulent kinetic energy (TKE), denoted as (q^2/2), where (q^2) represents twice the TKE. This level simplifies the parameterization by diagnosing other second-order moments, such as temperature variance ((θ^2)), momentum fluxes ((u'w'), (v'w')), and heat fluxes ((w'θ')), using algebraic relationships rather than prognostic equations. This approach reduces computational demand, making it suitable for operational forecasting where efficiency is crucial.
- Key Features:
- Prognostic variable: TKE only.
- Diagnostic variables: Other second-order moments, computed via simplified formulas.
- Closure assumptions: Neglects time tendencies and advection of most second-order moments, with pressure correlations highly parameterized.
- Stability functions: Based on gradient Richardson number, accounting for stratification effects.
- Applications: Level 2.5 is often the default choice for general weather forecasting, particularly in clear boundary layers under stable or neutral conditions, due to its robustness and lower computational cost. It is noted for stability in simulations, as seen in user discussions where MYNN 2.5 runs successfully for extended periods compared to Level 3 (WRF User's Forum • View topic - MYNN level 3 PBL scheme).
Detailed Description of Level 3
Level 3 represents a more complex closure, extending beyond TKE to include prognostic equations for additional second-order moments, such as scalar variances (e.g., temperature variance (θ^2), moisture variance (q^2), and covariances like (θ'q')). This level retains more terms in the turbulence equations, including partial contributions from pressure covariances and third-order transport terms, aligning closer to a full second-order closure model.
- Key Features:
- Prognostic variables: TKE and scalar variances, reducing the reliance on diagnostic computations.
- Diagnostic variables: Fewer, as more moments are explicitly evolved over time.
- Closure assumptions: Includes more detailed parameterization of pressure terms and transport, enhancing representation of non-local mixing.
- Stability functions: May include additional dependencies on prognostic scalar variances, improving accuracy under complex stability conditions.
- Applications: Level 3 is preferred for research simulations where scalar variances are critical, such as in foggy conditions, cloud formation, or urban boundary layers. It performs better in scenarios with strong stratification or cloud interactions, as suggested by studies comparing PBL schemes (Investigation of PBL schemes combining the WRF model simulations with scanning water vapor differential absorption lidar measurements - Milovac ...). However, it is computationally more expensive, and user reports indicate potential instability, with crashes noted in simulations (WRF User's Forum • View topic - Problem with MYNN2.5 and MYNN3 PBL schemes).
Comparative Analysis: Level 2.5 vs. Level 3
The distinction between Level 2.5 and Level 3 lies in their approach to turbulence parameterization, affecting both accuracy and computational demand. The following table summarizes the key differences:
Aspect | Level 2.5 | Level 3 |
---|---|---|
Prognostic Variables | Only TKE ((q^2/2)) | TKE + scalar variances (e.g., (θ^2), (q^2), (θ'q')) |
Diagnostic Variables | Most second-order moments (e.g., (θ^2), (u'w')) | Fewer, as more moments are prognostic |
Complexity | Simpler, fewer equations | More complex, additional equations |
Computational Cost | Lower | Higher |
Accuracy | Good for general PBL cases | Better for complex cases (e.g., clouds, fog) |
Pressure Terms | Highly parameterized | Less parameterized, more explicit terms |
Applications | Operational forecasting, general use | Research, complex PBL (e.g., cloudy BL) |
This comparison highlights that Level 2.5 is efficient for broad applications, while Level 3 offers enhanced detail for specialized studies, at the cost of increased computational resources.
Implementation in WRF
In the WRF model, the MYNN PBL scheme is selected via the bl_pbl_physics
namelist parameter, set to 5 for MYNN. The choice between Level 2.5 and Level 3 is controlled by the bl_mynn_closure
option, as detailed in user forums and documentation (WRF namelist setting ---MYNN3 | WRF & MPAS-A Support Forum). Specifically:
- Level 2.5: Set
bl_mynn_closure = 2.5
. - Level 3: Set
bl_mynn_closure = 3.0
.
Note that bl_mynn_closure
should be set as a single value (e.g., bl_mynn_closure = 3.0,
) and not as multiple domain values (e.g., 3.0,3.0,3.0,
) to avoid namelist errors, as observed in user error reports. Additional options, such as bl_mynn_mixscalars = 1
, can activate prognostic equations for scalar variances, aligning with Level 3 functionality (CCPP Scientific Documentation: GSD MYNN-EDMF PBL Scheme Module).
Practical Considerations
The choice between Level 2.5 and Level 3 depends on the simulation’s objectives. Level 2.5 is often sufficient for operational forecasting, given its stability and efficiency, as seen in simulations running for a year on a 5 km grid (WRF User's Forum • View topic - MYNN level 3 PBL scheme). Conversely, Level 3 is recommended for research, especially in scenarios requiring detailed scalar variance representation, such as cloudy boundary layers, but users should be aware of potential instability, with reports of crashes after short simulation periods (WRF User's Forum • View topic - Problem with MYNN2.5 and MYNN3 PBL schemes).
Conclusion
In summary, Level 2.5 and Level 3 in the MYNN PBL scheme offer different levels of turbulence closure, with Level 2.5 focusing on TKE and diagnosing other moments for efficiency, and Level 3 prognosing additional moments for higher accuracy. Distinguishing them in WRF involves setting bl_mynn_closure
to 2.5 or 3.0, respectively, with bl_pbl_physics = 5
. This understanding is derived from a synthesis of WRF documentation, user forums, and scientific literature, acknowledging the complexity and ongoing research in PBL parameterization.
Key Citations
- WRF User's Forum MYNN level 3 PBL scheme
- WRF namelist setting MYNN3 WRF & MPAS-A Support Forum
- Improvement of the Mellor–Yamada–Nakanishi–Niino Planetary Boundary-Layer Scheme Based on Observational Data in China
- Investigation of PBL schemes combining WRF model simulations with scanning water vapor differential absorption lidar measurements
- WRF User's Forum Problem with MYNN2.5 and MYNN3 PBL schemes
- CCPP Scientific Documentation GSD MYNN-EDMF PBL Scheme Module
WRF
namelist
1 |
|
MPAS
- Registry.xml
1 |
|