I’ve been testing the time stepping PR (#392) across several test cases. During this process, I found that high-order horizontal tracer advection in Omega (HorzTracerFluxOrder: 3 and 4) appears to produce incorrect results compared to the second-order case when active tracers, such as temperature and salinity, are used to compute SpecVol through the EOS during time stepping.
The figure below shows the total kinetic energy from the QU240 spin-down test. In the legend, H denotes the horizontal tracer advection order, and V denotes the vertical advection order.

Since this test has no external forcing or eddy parameterization and includes only advection with strong viscosity (del2, del4), the total KE is expected to decrease and eventually saturate. However, unlike the other runs, including H2 in Omega and H2, H3, H4 in MPAS-Ocean, the H3 and H4 cases in Omega begin generating KE after about day 7, which is unexpected.
For reference, temperature field (k = 0) at day 30 is shown for Omega H4, Omega H2, MPAS-O H4, along with the difference field between Omega H4 and Omega H2.
Although only the horizontal tracer advection order is changed, errors in tracer advection can affect KE. Temperature and salinity are used to compute specific volume through the EOS, and the updated specific volume then feeds back onto the pressure gradient force in the momentum tendency through the following pathway:
Specific volume -> Pseudo layer thickness -> Pressure -> PGF in the momentum tendency
This issue does not show up in tracer transport tests, such as rotation_2d in Polaris, because those tests do not compute the PGF from temperature and salinity.
Please refer to the comment below for the updated results (#396 (comment)).
The figure below shows the total kinetic energy from the 4 km baroclinic channel test.

Even with a flat bottom, H3 and H4 in Omega still produce results that differ from all the other cases. This suggests that the high-order tracer advection issue in Omega is not specific to bottom topography.
Again, temperature field (k=0) at day 20:

I’ve been testing the time stepping PR (#392) across several test cases. During this process, I found that high-order horizontal tracer advection in Omega (
HorzTracerFluxOrder: 3and4) appears to produce incorrect results compared to the second-order case when active tracers, such as temperature and salinity, are used to computeSpecVolthrough the EOS during time stepping.The figure below shows the total kinetic energy from the QU240 spin-down test. In the legend,

Hdenotes the horizontal tracer advection order, andVdenotes the vertical advection order.Since this test has no external forcing or eddy parameterization and includes only advection with strong viscosity (del2, del4), the total KE is expected to decrease and eventually saturate. However, unlike the other runs, including
H2in Omega andH2, H3, H4in MPAS-Ocean, theH3andH4cases in Omega begin generating KE after about day 7, which is unexpected.For reference, temperature field (k = 0) at day 30 is shown for Omega H4, Omega H2, MPAS-O H4, along with the difference field between Omega H4 and Omega H2.
Although only the horizontal tracer advection order is changed, errors in tracer advection can affect KE. Temperature and salinity are used to compute specific volume through the EOS, and the updated specific volume then feeds back onto the pressure gradient force in the momentum tendency through the following pathway:
This issue does not show up in tracer transport tests, such as
rotation_2din Polaris, because those tests do not compute the PGF from temperature and salinity.Please refer to the comment below for the updated results (#396 (comment)).

The figure below shows the total kinetic energy from the 4 km baroclinic channel test.Even with a flat bottom,H3andH4in Omega still produce results that differ from all the other cases. This suggests that the high-order tracer advection issue in Omega is not specific to bottom topography.Again, temperature field (k=0) at day 20: