From a92f9a81290eb9b1c172d90b0a0a87f1f3977467 Mon Sep 17 00:00:00 2001 From: Thomas Bendall Date: Fri, 20 Dec 2024 16:38:17 +0000 Subject: [PATCH] fix thermal williamson 5 --- case_studies/thermal_shallow_water/thermal_williamson_5.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/case_studies/thermal_shallow_water/thermal_williamson_5.py b/case_studies/thermal_shallow_water/thermal_williamson_5.py index 5fe9d96..362f19d 100644 --- a/case_studies/thermal_shallow_water/thermal_williamson_5.py +++ b/case_studies/thermal_shallow_water/thermal_williamson_5.py @@ -11,7 +11,7 @@ ) from gusto import ( Domain, IO, OutputParameters, DGUpwind, SubcyclingOptions, - ShallowWaterParameters, ShallowWaterEquations, Sum, + ShallowWaterParameters, ThermalShallowWaterEquations, Sum, lonlatr_from_xyz, GeneralIcosahedralSphereMesh, RelativeVorticity, ZonalComponent, MeridionalComponent, RungeKuttaFormulation, SSPRK3, SemiImplicitQuasiNewton, ThermalSWSolver @@ -81,8 +81,8 @@ def thermal_williamson_5( tpexpr = mountain_height * (1 - r/R0) # Equation - eqns = ShallowWaterEquations( - domain, parameters, fexpr=fexpr, bexpr=tpexpr, thermal=True, + eqns = ThermalShallowWaterEquations( + domain, parameters, fexpr=fexpr, topog_expr=tpexpr, thermal=True, u_transport_option=u_eqn_type )