Skip to content

Commit

Permalink
benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Jun 13, 2024
1 parent 73e01aa commit a56f6b5
Show file tree
Hide file tree
Showing 2 changed files with 23,730 additions and 23,730 deletions.
12 changes: 6 additions & 6 deletions benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,19 +625,19 @@ def v_f_left(t_):
dt = Constant(0.002) #0.001
dt_plot = 0.01
t = Constant(0.0)
CNshift = 1
CNshift = 10
elast = True
linear_elast = True
serendipity = True
serendipity = False
if use_netgen:
fname_checkpoint = f"dumbdata/fsi3_P4_P2_nref{nref}_0.002_shift{CNshift}_{elast}_{linear_elast}_netgen_new"
fname_FD = f"time_series_FD_P4_P2_nref{nref}_0.002_shift{CNshift}_{elast}_{linear_elast}_netgen_new.dat"
fname_FL = f"time_series_FL_P4_P2_nref{nref}_0.002_shift{CNshift}_{elast}_{linear_elast}_netgen_new.dat"
else:
if quadrilateral:
fname_checkpoint = f"dumbdata/fsi3_Q4_Q3_nref{nref}_0.002_shift{CNshift}_{elast}_{linear_elast}_ALEparamvar1_S"
fname_FD = f"time_series_FD_Q4_Q3_nref{nref}_0.002_shift{CNshift}_{elast}_{linear_elast}_ALEparamvar1_S.dat"
fname_FL = f"time_series_FL_Q4_Q3_nref{nref}_0.002_shift{CNshift}_{elast}_{linear_elast}_ALEparamvar1_S.dat"
fname_checkpoint = f"dumbdata/fsi3_Q4_Q3_nref{nref}_0.002_shift{CNshift}_{elast}_{linear_elast}_ALEparamvar1"
fname_FD = f"time_series_FD_Q4_Q3_nref{nref}_0.002_shift{CNshift}_{elast}_{linear_elast}_ALEparamvar1.dat"
fname_FL = f"time_series_FL_Q4_Q3_nref{nref}_0.002_shift{CNshift}_{elast}_{linear_elast}_ALEparamvar1.dat"
else:
fname_checkpoint = f"dumbdata/fsi3_P4_P2_nref{nref}_0.002_shift{CNshift}_{elast}_{linear_elast}_ALEparamtest1"
fname_FD = f"time_series_FD_P4_P2_nref{nref}_0.002_shift{CNshift}_{elast}_{linear_elast}_ALEparamtest1.dat"
Expand Down Expand Up @@ -903,7 +903,7 @@ def v_f_left(t_):
outfile.write("t val" + "\n")
with open(fname_FL, 'w') as outfile:
outfile.write("t val" + "\n")
if False:
if True:
coords = mesh_f.coordinates.dat.data_with_halos
uplot = solution.subfunctions[2]
uplot = Function(V_0).project(solution.subfunctions[2])
Expand Down
Loading

0 comments on commit a56f6b5

Please sign in to comment.