Skip to content

Commit

Permalink
fix thermal galewsky jet
Browse files Browse the repository at this point in the history
  • Loading branch information
tommbendall authored Dec 20, 2024
1 parent 7af4d19 commit f707f54
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions case_studies/thermal_shallow_water/thermal_galewsky_jet.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
)
from gusto import (
Domain, IO, OutputParameters, DGUpwind, xyz_vector_from_lonlatr,
ShallowWaterParameters, ShallowWaterEquations, SubcyclingOptions,
ShallowWaterParameters, ThermalShallowWaterEquations, SubcyclingOptions,
lonlatr_from_xyz, GeneralCubedSphereMesh, RelativeVorticity,
ZonalComponent, MeridionalComponent, RungeKuttaFormulation, SSPRK3,
SemiImplicitQuasiNewton, ThermalSWSolver, NumericalIntegral
Expand Down Expand Up @@ -74,9 +74,8 @@ def thermal_galewsky(
parameters = ShallowWaterParameters(H=mean_depth, g=g)
Omega = parameters.Omega
fexpr = 2*Omega*xyz[2]/radius
eqns = ShallowWaterEquations(
domain, parameters, u_transport_option=u_eqn_type, fexpr=fexpr,
thermal=True
eqns = ThermalShallowWaterEquations(
domain, parameters, u_transport_option=u_eqn_type, fexpr=fexpr
)

# I/O
Expand Down

0 comments on commit f707f54

Please sign in to comment.