Skip to content

Commit

Permalink
switch to vector advection form and make stepper 4x1 for compressible…
Browse files Browse the repository at this point in the history
… Eady
  • Loading branch information
tommbendall committed May 1, 2024
1 parent 27d4074 commit df1659e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/compressible/compressible_eady.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
# Equation
Omega = as_vector([0., 0., f*0.5])
parameters = CompressibleEadyParameters(N=sqrt(2.5e-5), H=H, f=f, Pi0=Constant(1.0))
eqns = CompressibleEadyEquations(domain, parameters, Omega=Omega)
eqns = CompressibleEadyEquations(domain, parameters, Omega=Omega,
u_transport_option='vector_advection_form')

# I/O
output = OutputParameters(dirname=dirname,
Expand Down Expand Up @@ -84,7 +85,8 @@
# Time stepper
stepper = SemiImplicitQuasiNewton(eqns, io, transport_schemes,
transport_methods,
linear_solver=linear_solver)
linear_solver=linear_solver,
num_outer=4, num_inner=1)

# ---------------------------------------------------------------------------- #
# Initial conditions
Expand Down

0 comments on commit df1659e

Please sign in to comment.