<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Duo-Grid | Joseph Mouallem</title><link>https://josephmouallem.github.io/tag/duo-grid/</link><atom:link href="https://josephmouallem.github.io/tag/duo-grid/index.xml" rel="self" type="application/rss+xml"/><description>Duo-Grid</description><generator>Wowchemy (https://wowchemy.com)</generator><language>en-us</language><lastBuildDate>Fri, 01 Dec 2023 00:00:00 +0000</lastBuildDate><image><url>https://josephmouallem.github.io/media/icon_hu08dff4d70575caa8b25c1fc7498ce3a4_155912_512x512_fill_lanczos_center_3.png</url><title>Duo-Grid</title><link>https://josephmouallem.github.io/tag/duo-grid/</link></image><item><title>The Duo-Grid and Cubed-Sphere Grid Imprinting</title><link>https://josephmouallem.github.io/research/duo-grid/</link><pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate><guid>https://josephmouallem.github.io/research/duo-grid/</guid><description>&lt;h2 id="motivation">Motivation&lt;/h2>
&lt;p>Addressing the challenge of running localized high-resolution simulations within a global model, the duo-grid imprints a finer mesh over a region of interest, reducing computational cost by an order of magnitude compared to traditional regridding approaches.&lt;/p>
&lt;h2 id="the-problem-grid-imprinting">The problem: grid imprinting&lt;/h2>
&lt;p>The gnomonic cubed-sphere grid has excellent accuracy and uniformity, but the
coordinates have a &lt;em>kink&lt;/em> at the cube edges. In the halo region this kink leaves
a visible imprint of the cube in the solution and requires special edge handling
throughout the solver.&lt;/p>
&lt;h2 id="the-duo-grid">The Duo-Grid&lt;/h2>
&lt;p>To reduce grid imprinting, we implemented the novel &lt;strong>Duo-Grid&lt;/strong> within FV3. The
Duo-Grid remaps a cube face&amp;rsquo;s data from the neighboring face, moving it from the
kinked locations to natural locations along great circle lines using 1D piecewise
linear interpolation. A separate 2D interpolation algorithm fills the correct
data at the eight corners of the cubed-sphere, which FV3&amp;rsquo;s 2D advection scheme
requires.&lt;/p>
&lt;figure id="figure-c8-cubed-sphere-grid-with-a-three-cell-halo-left-kinked-grid-showing-halo-updated-directly-from-the-neighboring-face-right-extended-grid-for-the-forward-face-showing-data-remapped-onto-the-extended-grid-note-that-the-great-circle-coordinate-lines-extend-from-the-compute-domain-into-the-grid-halo-without-interruption">
&lt;div class="d-flex justify-content-center">
&lt;div class="w-100" >&lt;img alt="C8 cubed-sphere grid with a three-cell halo. Left: “kinked” grid showing halo updated directly from the neighboring face. Right: “extended” grid for the forward face showing data remapped onto the extended grid. Note that the great circle coordinate lines extend from the compute domain into the grid halo without interruption.." srcset="
/research/duo-grid/kinkduo_hu991c969fceccc36c33cc2c4f9f4ef4a6_1703638_58fa206ca97810c362146ab001273d53.webp 400w,
/research/duo-grid/kinkduo_hu991c969fceccc36c33cc2c4f9f4ef4a6_1703638_35864ebbdbeb29c314f435f578bcbd75.webp 760w,
/research/duo-grid/kinkduo_hu991c969fceccc36c33cc2c4f9f4ef4a6_1703638_1200x1200_fit_q100_h2_lanczos_3.webp 1200w"
src="https://josephmouallem.github.io/research/duo-grid/kinkduo_hu991c969fceccc36c33cc2c4f9f4ef4a6_1703638_58fa206ca97810c362146ab001273d53.webp"
width="760"
height="428"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;figcaption>
C8 cubed-sphere grid with a three-cell halo. Left: “kinked” grid showing halo updated directly from the neighboring face. Right: “extended” grid for the forward face showing data remapped onto the extended grid. Note that the great circle coordinate lines extend from the compute domain into the grid halo without interruption..
&lt;/figcaption>&lt;/figure>
&lt;h2 id="validation">Validation&lt;/h2>
&lt;p>The Duo-Grid was evaluated across a comprehensive suite of idealized test cases spanning both two-dimensional shallow-water dynamics and three-dimensional hydrostatic and non-hydrostatic flows. These tests were designed to assess the impact of the Duo-Grid on grid imprinting, numerical errors, and the overall behavior of the FV3 dynamical core.&lt;/p>
&lt;p>The steady-state geostrophic balance test provides a direct assessment of cubed-sphere grid imprinting. When the flow is oriented perpendicular to the cubed-sphere edges, the conventional kinked grid produces errors aligned with the cube geometry. With the Duo-Grid, these grid-aligned errors are substantially reduced.&lt;/p>
&lt;figure class="video-figure">
&lt;video
class="video-figure-media"
autoplay loop muted playsinline controls
preload="metadata"
poster="/research/duo-grid/case2_poster.jpg">
&lt;source src="https://josephmouallem.github.io/research/duo-grid/case2.mp4" type="video/mp4">
Your browser does not support the video tag.
&lt;/video>
&lt;figcaption>Meridional velocity errors of the C48 steady state geostrophic balance flow with a flow oriented perpendicular to the cubed-sphere edges. Duo-Grid significantly reduces these errors.&lt;/figcaption>
&lt;/figure>
&lt;p>The improvement extends to fully three-dimensional dynamics. In the baroclinic wave test, the Duo-Grid suppresses the development of cubed-sphere imprinting and errors in the southern hemisphere while maintaining the evolution of the solution over time.&lt;/p>
&lt;figure class="video-figure">
&lt;video
class="video-figure-media"
autoplay loop muted playsinline controls
preload="metadata"
poster="/research/duo-grid/case13_glob_C48_dpi100_poster.jpg">
&lt;source src="https://josephmouallem.github.io/research/duo-grid/case13_glob_C48_dpi100.mp4" type="video/mp4">
Your browser does not support the video tag.
&lt;/video>
&lt;figcaption>Time evolution of meridional winds in the three-dimensional baroclinic wave test, demonstrating the reduced cubed-sphere errors in the southern hemisphere with the Duo-Grid.&lt;/figcaption>
&lt;/figure>
&lt;p>The Duo-Grid was further evaluated using a broad suite of standard idealized tests, including shallow-water steady-state geostrophic flow, the splash test, Rossby–Haurwitz wave, colliding modons, cosine-bell advection, and the three-dimensional non-hydrostatic baroclinic wave.&lt;/p>
&lt;figure class="video-figure">
&lt;video
class="video-figure-media"
autoplay loop muted playsinline controls
preload="metadata"
poster="/research/duo-grid/duo-grid-tests_poster.jpg">
&lt;source src="https://josephmouallem.github.io/research/duo-grid/duo-grid-tests.mp4" type="video/mp4">
Your browser does not support the video tag.
&lt;/video>
&lt;figcaption>Idealized test suite run on the Duo-Grid: shallow-water steady-state geostrophic flow, splash test, Rossby-Haurwitz wave, colliding modons, cosine bell advection, and the 3D non-hydrostatic baroclinic wave.&lt;/figcaption>
&lt;/figure>
&lt;p>Across these tests, the Duo-Grid consistently reduces grid imprinting and numerical errors while preserving the accuracy and numerical characteristics of the original FV3 formulation.&lt;/p>
&lt;h2 id="key-results">Key results&lt;/h2>
&lt;ul>
&lt;li>Grid imprinting of the cubed sphere is greatly reduced in idealized tests and practically eliminated.&lt;/li>
&lt;li>Duo-Grid decreases the growth rate of error norms in all cases compared to the kinked grid, up to one order of magnitude.&lt;/li>
&lt;li>Order of accuracy of FV3’s horizontal discretization is conserved.&lt;/li>
&lt;li>Dispersion and dissipation properties are identical to those of the original FV3 algorithm.&lt;/li>
&lt;li>Edge handling code is eliminated -&amp;gt; significant performance gain in current/future GPU development&lt;/li>
&lt;li>FV3’s robustness and accuracy have increased.&lt;/li>
&lt;/ul>
&lt;p>These results indicate a clear improvement in FV3&amp;rsquo;s robustness.&lt;/p>
&lt;h2 id="reference">Reference&lt;/h2>
&lt;p>Mouallem, J., Harris, L., and Chen, X.: &lt;em>Implementation of the Novel Duo-Grid in
GFDL&amp;rsquo;s FV3 Dynamical Core&lt;/em>, &lt;strong>Journal of Advances in Modeling Earth Systems&lt;/strong>,
15(12), 2023.
&lt;a href="https://doi.org/10.1029/2023MS003712" target="_blank" rel="noopener">https://doi.org/10.1029/2023MS003712&lt;/a>&lt;/p></description></item><item><title>Implementation of the Novel Duo-Grid in GFDL's FV3 Dynamical Core</title><link>https://josephmouallem.github.io/publication/duo-grid-fv3/</link><pubDate>Fri, 01 Dec 2023 00:00:00 +0000</pubDate><guid>https://josephmouallem.github.io/publication/duo-grid-fv3/</guid><description/></item></channel></rss>