From 284a4ed7fe5da6f0546e93a7edd421945b37e152 Mon Sep 17 00:00:00 2001 From: noels <l.noels@ulg.ac.be> Date: Mon, 4 Dec 2023 21:59:55 +0100 Subject: [PATCH] reference --- dG3D/benchmarks/GursonThomasonShearTransition/model.py | 4 ++-- dG3D/benchmarks/HOwithConstantBodyForce/run.py | 2 +- dG3D/benchmarks/nanoIndentation/ni.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dG3D/benchmarks/GursonThomasonShearTransition/model.py b/dG3D/benchmarks/GursonThomasonShearTransition/model.py index 3587c22ab..d8e95bd72 100755 --- a/dG3D/benchmarks/GursonThomasonShearTransition/model.py +++ b/dG3D/benchmarks/GursonThomasonShearTransition/model.py @@ -194,8 +194,8 @@ mysolver.solve() check = TestCheck() -check.equal(-1.915989e-04,mysolver.getArchivedNodalValue(2,0,mysolver.displacement),1.e-4) -check.equal(1.660548e-04,mysolver.getArchivedNodalValue(3,0,mysolver.displacement),1.e-4) +check.equal(-1.870109e-04,mysolver.getArchivedNodalValue(2,0,mysolver.displacement),1.e-4) +check.equal(1.685898e-04,mysolver.getArchivedNodalValue(3,0,mysolver.displacement),1.e-4) diff --git a/dG3D/benchmarks/HOwithConstantBodyForce/run.py b/dG3D/benchmarks/HOwithConstantBodyForce/run.py index 3e03c4eac..a148dde4f 100644 --- a/dG3D/benchmarks/HOwithConstantBodyForce/run.py +++ b/dG3D/benchmarks/HOwithConstantBodyForce/run.py @@ -182,7 +182,7 @@ mysolver.solve() import linecache total_line_number = sum(1 for line in open('E_0_GP_0_stress.csv')) homoStress = linecache.getline('E_0_GP_0_stress.csv',total_line_number) -print(homoStress) +#print(homoStress) val = float(homoStress.split(';')[1]) check = TestCheck() check.equal(-0.014840731,val,1.e-4) diff --git a/dG3D/benchmarks/nanoIndentation/ni.py b/dG3D/benchmarks/nanoIndentation/ni.py index 221c29866..0c74b577e 100644 --- a/dG3D/benchmarks/nanoIndentation/ni.py +++ b/dG3D/benchmarks/nanoIndentation/ni.py @@ -166,7 +166,7 @@ mysolver.archivingRigidContactForce(22, 2, 1) mysolver.solve() check = TestCheck() -check.equal(-2.820332e-04,mysolver.getArchivedNodalValue(1001,2,mysolver.displacement),1.e-4) +check.equal(-2.711273e-04,mysolver.getArchivedNodalValue(1001,2,mysolver.displacement),1.e-4) -- GitLab