Abstract

Abstract. Numerically accurate budgeting of the forcing terms in the governing equations of a numerical weather prediction model is hard to achieve. Because individual budget terms are generally 2 to 3 orders of magnitude larger than the resulting tendency, exact closure of the budget can only be achieved if the contributing terms are calculated consistently with the model numerics. We present WRFlux, an open-source software that allows precise budget evaluation for the WRF model and, in comparison to existing similar tools, incorporates new capabilities. WRFlux transforms the budget equations from the terrain-following grid of the model to the Cartesian coordinate system, permitting a simplified interpretation of budgets obtained from simulations over non-uniform orography. WRFlux also decomposes the resolved advection into mean advective and resolved turbulence components, which is useful in the analysis of large-eddy simulation output. The theoretical framework of the numerically consistent coordinate transformation is also applicable to other models. We demonstrate the performance and a possible application of WRFlux with an idealized simulation of convective boundary layer growth over a mountain range. We illustrate the effect of inconsistent approximations by comparing the results of WRFlux with budget calculations using a lower-order advection operator and two alternative formulations of the coordinate transformation. With WRFlux, the sum of all forcing terms for potential temperature, water vapor mixing ratio, and momentum agrees with the respective model tendencies to high precision. In contrast, the approximations lead to large residuals: the root mean square error between the sum of the diagnosed forcing terms and the actual tendency is 1 to 3 orders of magnitude larger than with WRFlux.

Highlights

  • Budget analysis for variables of a numerical weather prediction model is a widely used tool when examining physical processes in the atmospheric sciences

  • This is because when applying the product rule in Eq (12) to transform Eq (11) into Eq (8), the second and fourth term in the second line of Eq (12) only cancel out analytically but not numerically: the flux ρuiψ in the former originates from a horizontal derivative and must be discretized as ρuiψxi xi, while tahseρluaittxeizrψcozzm. eTsofdroemmoansvterrattiecathl edeinricvoantisviseteanncdy,iswdeisccormetpizaerde Eq (17) with two different discretizations of Eq (8)

  • We developed a computational method to accurately diagnose the advective and turbulence components of the budgets of prognostic variables in a numerical weather prediction model

Read more

Summary

Introduction

Budget analysis for variables of a numerical weather prediction model is a widely used tool when examining physical processes in the atmospheric sciences. For budget diagnostics in simulation domains with non-uniform orography, accurate computation of the coordinate transformation between the terrainfollowing and the Cartesian system is mandatory This is mainly an issue when tendencies resulting from flux derivatives in a particular spatial direction, such as the vertical derivative of the resolved turbulent flux, are inspected. We present WRFlux, an open-source budget calculation tool for WRF that yields a closed budget, a consistent transformation to the Cartesian coordinate system, and decomposition into mean and turbulent components. WRFlux allows us to output time-averaged resolved and subgrid-scale fluxes and other tendency components for potential temperature, water vapor mixing ratio, and momentum for the Advanced Research WRF (ARW) dynamical core. The purpose of the example simulation is to illustrate a possible application of WRFlux, show its performance, and compare it to other, more simplified budget computation approaches

Conservation equation transformations
The θ budget
Advective form
Discretization
Flux averaging and decomposition
Implementation
Simulation design
Cross-valley circulation
Comparison of budget calculation methods
Conclusions
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call