Skip to content

Commit 091fd4e

Browse files
committed
benchmark
1 parent f15e8e8 commit 091fd4e

File tree

2 files changed

+23728
-23728
lines changed

2 files changed

+23728
-23728
lines changed

benchmark.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -623,9 +623,9 @@ def _elevate_degree(mesh, degree):
623623
CNshift = 100
624624
elast = True
625625
linear_elast = True
626-
fname_checkpoint = f"dumbdata/fsi3_Q4_Q3_nref{nref}_0.001_shift{CNshift}_{elast}_{linear_elast}"
627-
fname_FD = f"time_series_FD_Q4_Q3_nref{nref}_0.001_shift{CNshift}_{elast}_{linear_elast}.dat"
628-
fname_FL = f"time_series_FL_Q4_Q3_nref{nref}_0.001_shift{CNshift}_{elast}_{linear_elast}.dat"
626+
fname_checkpoint = f"dumbdata/fsi3_Q4_Q3_nref{nref}_0.001_shift{CNshift}_{elast}_{linear_elast}_temp"
627+
fname_FD = f"time_series_FD_Q4_Q3_nref{nref}_0.001_shift{CNshift}_{elast}_{linear_elast}_temp.dat"
628+
fname_FL = f"time_series_FL_Q4_Q3_nref{nref}_0.001_shift{CNshift}_{elast}_{linear_elast}_temp.dat"
629629
if case == "FSI1_2":
630630
rho_s = 1.e+3
631631
nu_s = 0.4
@@ -866,7 +866,7 @@ def v_f_left(t_):
866866
outfile.write("t val" + "\n")
867867
with open(fname_FL, 'w') as outfile:
868868
outfile.write("t val" + "\n")
869-
if False:
869+
if True:
870870
coords = mesh_f.coordinates.dat.data_with_halos
871871
coords[:] = coords[:] + solution.subfunctions[2].dat.data_ro_with_halos[:]
872872
pgfplot(solution.subfunctions[4], "pressure.dat", degree=2)

0 commit comments

Comments
 (0)