From 630f16af9032116e18fc0c7561d7b1bd0e6f69af Mon Sep 17 00:00:00 2001 From: ludovic noels <l.noels@ulg.ac.be> Date: Thu, 29 Oct 2020 10:29:58 +0100 Subject: [PATCH] run without error --- dG3D/benchmarks/GursonThomason_cube_Transition/cube.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dG3D/benchmarks/GursonThomason_cube_Transition/cube.py b/dG3D/benchmarks/GursonThomason_cube_Transition/cube.py index 18fde6ab7..d89de700f 100644 --- a/dG3D/benchmarks/GursonThomason_cube_Transition/cube.py +++ b/dG3D/benchmarks/GursonThomason_cube_Transition/cube.py @@ -70,7 +70,7 @@ nstepArchEnergy = nstepArchForce # Number of step between 2 energy computation a MaxIter = 12 # Maximum number of iterations StepIncrease = 2 # Number of successfull timestep before reincreasing it -StepReducFactor = 2. # Timestep reduction factor +StepReducFactor = 2 # Timestep reduction factor NumberReduction = 100 # Maximum number of timespep reduction: max reduction = pow(StepReducFactor,this) fullDg = True @@ -126,7 +126,7 @@ mysolver.sameDisplacementBC("Face",6,7,2) method=0 mysolver.pathFollowing(True,method) if method==0: - mysolver.setPathFollowingIncrementAdaptation(True,6,1) + mysolver.setPathFollowingIncrementAdaptation(True,6,3) mysolver.setPathFollowingControlType(0) mysolver.setPathFollowingCorrectionMethod(0) mysolver.setPathFollowingArcLengthStep(2e-1) @@ -193,7 +193,7 @@ check = TestCheck() import csv data = csv.reader(open('IPVolume11val_LOCAL_POROSITYMax.csv'), delimiter=';') porosity = list(data) -check.equal(2.659472e-02,float(porosity[-1][1]),1e-6) +check.equal(2.660465e-02,float(porosity[-1][1]),1e-6) -- GitLab