Skip to content

Commit

Permalink
benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Jun 8, 2024
1 parent 112cd42 commit 7cb85fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ def _elevate_degree(mesh, degree):
dt = Constant(0.002) #0.001
dt_plot = 0.01
t = Constant(0.0)
CNshift = 10
CNshift = 100
fname_checkpoint = f"dumbdata/fsi3_Q4_Q3_nref0_0.002_shift{CNshift}"
fname_FD = f"time_series_FD_Q4_Q3_nref0_0.002_shift{CNshift}.dat"
fname_FL = f"time_series_FL_Q4_Q3_nref0_0.002_shift{CNshift}.dat"
Expand Down Expand Up @@ -837,7 +837,7 @@ def v_f_left(t_):
outfile.write("t val" + "\n")
with open(fname_FL, 'w') as outfile:
outfile.write("t val" + "\n")
if True:
if False:
coords = mesh_f.coordinates.dat.data_with_halos
coords[:] = coords[:] + solution.subfunctions[2].dat.data_ro_with_halos[:]
pgfplot(solution.subfunctions[4], "pressure.dat", degree=2)
Expand Down
Binary file modified time_series.pdf
Binary file not shown.

0 comments on commit 7cb85fa

Please sign in to comment.