From f1f0465491f2f986fcd106138644aa50537164a5 Mon Sep 17 00:00:00 2001 From: ludovic noels <l.noels@ulg.ac.be> Date: Mon, 23 Sep 2019 16:44:45 +0200 Subject: [PATCH] number of lines in achived files --- dG3D/benchmarks/CohesiveBand_Plate/notchedPlate.py | 2 +- .../Plane_notch.py | 2 +- dG3D/benchmarks/GursonThomason_cube_withLodeEnhanced/cube.py | 2 +- dG3D/benchmarks/Gurson_Cube_Transition/cube.py | 2 +- dG3D/benchmarks/taylorMPI/taylorCG.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dG3D/benchmarks/CohesiveBand_Plate/notchedPlate.py b/dG3D/benchmarks/CohesiveBand_Plate/notchedPlate.py index 7c0f828e6..aae9cd42b 100755 --- a/dG3D/benchmarks/CohesiveBand_Plate/notchedPlate.py +++ b/dG3D/benchmarks/CohesiveBand_Plate/notchedPlate.py @@ -205,7 +205,7 @@ mysolver.archivingNodeDisplacement(73,2,nstepArchForce) mysolver.solve() check = TestCheck() -check.equal(-7.725560e+03,mysolver.getArchivedForceOnPhysicalGroup("Edge", 61, 1),1.e-4) +check.equal(-7.525179e+03,mysolver.getArchivedForceOnPhysicalGroup("Edge", 61, 1),1.e-4) diff --git a/dG3D/benchmarks/GursonThomasonMultipleNonlocalVar_PathFollowing/Plane_notch.py b/dG3D/benchmarks/GursonThomasonMultipleNonlocalVar_PathFollowing/Plane_notch.py index 617ccb838..e6dadd6a3 100644 --- a/dG3D/benchmarks/GursonThomasonMultipleNonlocalVar_PathFollowing/Plane_notch.py +++ b/dG3D/benchmarks/GursonThomasonMultipleNonlocalVar_PathFollowing/Plane_notch.py @@ -189,4 +189,4 @@ mysolver.archivingIPOnPhysicalGroup("Face", 700, IPField.LOCAL_POROSITY,IPField. mysolver.solve() check = TestCheck() -check.equal(-1.889379e+03,3,mysolver.getArchivedForceOnPhysicalGroup("Edge", 1400, 0),1.e-6) +check.equal(-2.558598e+03,mysolver.getArchivedForceOnPhysicalGroup("Edge", 1400, 0),1.e-6) diff --git a/dG3D/benchmarks/GursonThomason_cube_withLodeEnhanced/cube.py b/dG3D/benchmarks/GursonThomason_cube_withLodeEnhanced/cube.py index 109f88546..57c2b2aea 100644 --- a/dG3D/benchmarks/GursonThomason_cube_withLodeEnhanced/cube.py +++ b/dG3D/benchmarks/GursonThomason_cube_withLodeEnhanced/cube.py @@ -198,7 +198,7 @@ check = TestCheck() import csv data = csv.reader(open('IPVolume11val_LOCAL_POROSITYMax.csv'), delimiter=';') porosity = list(data) -check.equal(5.856826e-01,float(porosity[-1][1]),1e-6) +check.equal(5.473613e-01,float(porosity[-1][1]),1e-6) diff --git a/dG3D/benchmarks/Gurson_Cube_Transition/cube.py b/dG3D/benchmarks/Gurson_Cube_Transition/cube.py index 1e5c4a79a..50741c868 100755 --- a/dG3D/benchmarks/Gurson_Cube_Transition/cube.py +++ b/dG3D/benchmarks/Gurson_Cube_Transition/cube.py @@ -169,7 +169,7 @@ check = TestCheck() import csv data = csv.reader(open('IPVolume29val_DAMAGEMean.csv'), delimiter=';') porosity = list(data) -check.equal(2.759742e-02,float(porosity[-1][1]),1e-6) +check.equal(2.758505e-02,float(porosity[-1][1]),1e-6) diff --git a/dG3D/benchmarks/taylorMPI/taylorCG.py b/dG3D/benchmarks/taylorMPI/taylorCG.py index e1da15d9a..c54ce21ac 100644 --- a/dG3D/benchmarks/taylorMPI/taylorCG.py +++ b/dG3D/benchmarks/taylorMPI/taylorCG.py @@ -73,7 +73,7 @@ mysolver.solve() # perform some check (pay attention that only rank 0 really perform the check) try: import linecache - linedisp = linecache.getline('NodalDisplacement1comp0_part3.csv',26050) + linedisp = linecache.getline('NodalDisplacementPhysical5Num1comp0_part3.csv',26050) except: print('Cannot read the results in the files') import os -- GitLab