Skip to content
Snippets Groups Projects
Commit 715c929d authored by Felix's avatar Felix
Browse files

work with continued calculations

parent 14c5ed6a
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,10 @@ if __name__ == "__main__":
for N, u in cases:
filenumber = "{nr}-u-{u}-N{N}".format(nr=(u + 3)*10 + N, u=u, N=N)
try:
force = numpy.array(readforce(CASE_PATH.format(N=N, u=u), namepatch='forceCoeffsIncompressible', name='coefficient'))
force = numpy.array(readforce(CASE_PATH.format(N=N, u=u),
namepatch='forceCoeffsIncompressible',
name='coefficient',
time_name='mergeTime'))
except FileNotFoundError as error:
print(error)
print("abort this case")
......@@ -54,9 +57,10 @@ if __name__ == "__main__":
# grad(T)
try:
gradT = numpy.array(readforce(CASE_PATH.format(N=N, u=u),
time_name='latestTime',
# time_name='latestTime',
namepatch='patchAverage(name=cylinder,mag(grad(T)))',
name='surfaceFieldValue'))
name='surfaceFieldValue',
time_name='mergeTime'))
except FileNotFoundError as error:
print(error)
print("abort this case")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment