From aeb4585b179a8a1f4530f5aa6b66eea32ca20ba1 Mon Sep 17 00:00:00 2001 From: albert-de-montserrat Date: Wed, 11 Sep 2024 17:59:11 +0200 Subject: [PATCH] fix miniapp --- .../stokes2D/shear_band/ShearBand2D_softening.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/miniapps/benchmarks/stokes2D/shear_band/ShearBand2D_softening.jl b/miniapps/benchmarks/stokes2D/shear_band/ShearBand2D_softening.jl index 94a8b2640..4cece97ab 100644 --- a/miniapps/benchmarks/stokes2D/shear_band/ShearBand2D_softening.jl +++ b/miniapps/benchmarks/stokes2D/shear_band/ShearBand2D_softening.jl @@ -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) @@ -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), ) @@ -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) ) )