{'fraction_non_alphanumeric': 0.013265950726468731, 'fraction_numerical': 0.0006317119393556538, 'mean_word_length': 5.387096774193548, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Constant Pressure Upper Boundary Formulation for Models Employing Height-Based Vertical Coordinates


For the numerical simulation of atmospheric flows that extend as high as the thermosphere, it is more appropriate to represent the upper boundary of the model domain as a material surface at constant pressure rather than one characterized by a rigid lid. Consequently, in adapting the Model for Prediction Across Scales (MPAS) for geospace applications, a modification of the height-based vertical coordinate is presented that permits the coordinate surfaces at upper levels to transition toward a constant pressure surface at the model’s upper boundary. This modification is conceptually similar to a terrain-following coordinate at low levels, but now modifies the coordinate surfaces at upper levels to conform to a constant pressure surface at the model top. Since this surface is evolving in time, the height of the upper boundary is adaptively adjusted to follow a designated constant pressure upper surface. This is accomplished by applying the hydrostatic equation to estimate the change in height along the boundary that is consistent with the vertical pressure gradient at the model top. This alteration in the vertical coordinate requires only minor modifications and little additional computational expense to the original height-based timeinvariant terrain-following vertical coordinate employed in MPAS. The viability of this modified vertical coordinate formulation has been verified in a 2-D prototype of MPAS for an idealized case of upper level diurnal heating.