diff --git a/parameters.jl b/parameters.jl index 474573a..32c4938 100644 --- a/parameters.jl +++ b/parameters.jl @@ -8,7 +8,7 @@ const Numtype = Float32 # DOMAIN RESOLUTION AND RATIO const nx = 100 # number of grid cells in x-direction const Lx = 2000e3 # length of the domain in x-direction -const L_ratio = 2 # Domain aspect ratio of Lx/Ly +const L_ratio = 1 # Domain aspect ratio of Lx/Ly # PHYSICAL CONSTANTS const gravity = 10. # gravitational acceleration @@ -19,11 +19,11 @@ const ω = 2π/(24*3600) # Earth's angular frequency [s^-1] const R = 6.371e6 # Earth's radius [m] # WIND FORCING OPTIONS -const wind_forcing = "channel" # "channel", "double_gyre", "shear" or "none" +const wind_forcing = "double_gyre" # "channel", "double_gyre", "shear" or "none" const Fx0 = 0.12 # wind stress strength [Pa], default 0.12 # BOTTOM TOPOGRAPHY OPTIONS -const topography_feature = "ridges" # "ridge", "seamount", "flat" +const topography_feature = "flat" # "ridge", "seamount", "flat" const topofeat_height = 80. # height of seamount const topofeat_width = 200e3 # horizontal scale [m] of the seamount @@ -36,10 +36,12 @@ const η_refw = 100e3 # width [m] of the tangent used for the interf # TIME STEPPING OPTIONS const RKo = 4 # Order of the RK time stepping scheme (3 or 4) const cfl = 1.0 # CFL number (1.0 recommended for RK4, 0.6 for RK3) -const Ndays = 100 # number of days to integrate for +const Ndays = 50 # number of days to integrate for +const nstep_diff = 20 # diffusive part every nstep_diff time steps. +const nstep_advcor = 10 # advection and coriolis every nstep_advcor time steps. # BOUNDARY CONDITION OPTIONS -const bc_x = "nonperiodic" # "periodic" or anything else for nonperiodic +const bc_x = "nonperiodic" # "periodic" or anything else for nonperiodic const lbc = 1. # lateral boundary condition parameter # 0 free-slip, 0