Skip to content
Snippets Groups Projects
Commit e4623a6a authored by Ludovic Noels's avatar Ludovic Noels
Browse files

reference values

parent e8704741
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ mysolver.archivingNodeDisplacement(19,1, nstepArchForce)
mysolver.solve()
check = TestCheck()
check.equal(-7.212944e+03,mysolver.getArchivedForceOnPhysicalGroup("Face", 84, 1),5.e-4)
check.equal(-7.342735e+03,mysolver.getArchivedForceOnPhysicalGroup("Face", 84, 1),5.e-4)
......
......@@ -111,6 +111,6 @@ mysolver.archivingForceOnPhysicalGroup("Face", 5678, 2)
mysolver.solve()
check = TestCheck()
check.equal(7.532238e-01,mysolver.getArchivedForceOnPhysicalGroup("Face", 5678, 2),1.e-3)
check.equal(7.642812e-01,mysolver.getArchivedForceOnPhysicalGroup("Face", 5678, 2),1.e-3)
......@@ -150,14 +150,14 @@ mysolver.archivingNodeIP(93, IPField.ELECTRICALFLUX_X,IPField.MEAN_VALUE,1);
mysolver.solve()
try:
import linecache
linedisp = linecache.getline('force247comp3_part0.csv',250)
linedisp = linecache.getline('force247comp3_part2.csv',250)
except:
print('Cannot read the results in the files')
import os
os._exit(1)
else:
check = TestCheck()
check.equal(1.541991e+05,float(linedisp.split(';')[1]))
check.equal(308398.1182645246,float(linedisp.split(';')[1]))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment