From 58c13cf48cc4088930f27071ae74a5b7bb91e6ca Mon Sep 17 00:00:00 2001 From: Benjamin Rodenberg Date: Mon, 17 Jun 2024 14:54:36 +0200 Subject: [PATCH 1/2] Initialize data for perpendicular flap. --- perpendicular-flap/convergence-studies/.gitkeep | 0 perpendicular-flap/precice-config.xml | 4 ++-- perpendicular-flap/solid-fenics/solid.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 perpendicular-flap/convergence-studies/.gitkeep diff --git a/perpendicular-flap/convergence-studies/.gitkeep b/perpendicular-flap/convergence-studies/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/perpendicular-flap/precice-config.xml b/perpendicular-flap/precice-config.xml index 256d8b937..0e5f02e3f 100644 --- a/perpendicular-flap/precice-config.xml +++ b/perpendicular-flap/precice-config.xml @@ -46,8 +46,8 @@ - - + + diff --git a/perpendicular-flap/solid-fenics/solid.py b/perpendicular-flap/solid-fenics/solid.py index dc07af7cc..26192d108 100644 --- a/perpendicular-flap/solid-fenics/solid.py +++ b/perpendicular-flap/solid-fenics/solid.py @@ -74,7 +74,7 @@ def neumann_boundary(x, on_boundary): precice = Adapter(adapter_config_filename="precice-adapter-config-fsi-s.json") # Initialize the coupling interface -precice.initialize(coupling_boundary, read_function_space=V, write_object=V, fixed_boundary=fixed_boundary) +precice.initialize(coupling_boundary, read_function_space=V, write_object=u_n, fixed_boundary=fixed_boundary) precice_dt = precice.get_max_time_step_size() fenics_dt = precice_dt # if fenics_dt == precice_dt, no subcycling is applied From e2a13b0074cab010e637c1830f50e41a2973b05c Mon Sep 17 00:00:00 2001 From: Benjamin Rodenberg Date: Tue, 18 Jun 2024 16:02:50 +0200 Subject: [PATCH 2/2] Delete perpendicular-flap/convergence-studies/.gitkeep --- perpendicular-flap/convergence-studies/.gitkeep | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 perpendicular-flap/convergence-studies/.gitkeep diff --git a/perpendicular-flap/convergence-studies/.gitkeep b/perpendicular-flap/convergence-studies/.gitkeep deleted file mode 100644 index e69de29bb..000000000