Skip to content

Commit

Permalink
fix miniapp
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-de-montserrat committed Sep 11, 2024
1 parent 428c881 commit aeb4585
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function main(igg; nx=64, ny=64, figdir="model_figs")
εbg = 1.0 # background strain-rate
η_reg = 8e-3 # regularisation "viscosity"
dt = η0/G0/4.0 # assumes Maxwell time of 4
dt /= 5
dt /= 5
el_bg = ConstantElasticity(; G=G0, Kb=4)
el_inc = ConstantElasticity(; G=Gi, Kb=4)
visc = LinearViscous(; η=η0)
Expand Down Expand Up @@ -102,7 +102,7 @@ function main(igg; nx=64, ny=64, figdir="model_figs")
stokes, phase_ratios, args, rheology, (-Inf, Inf)
)
# Boundary conditions
flow_bcs = DisplacementBoundaryConditions(;
flow_bcs = VelocityBoundaryConditions(;
free_slip = (left = true, right = true, top = true, bot = true),
no_slip = (left = false, right = false, top = false, bot=false),
)
Expand Down Expand Up @@ -138,9 +138,9 @@ function main(igg; nx=64, ny=64, figdir="model_figs")
dt,
igg;
kwargs = (
verbose = false,
verbose = true,
iterMax = 50e3,
nout = 1e2,
nout = 1e3,
viscosity_cutoff = (-Inf, Inf)
)
)
Expand Down

0 comments on commit aeb4585

Please sign in to comment.