From 3174e23e39857c3ac49f629f2c81872a3b34ac50 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Thu, 19 Dec 2019 23:59:10 +0100 Subject: [PATCH 1/4] Tutorials: remove parallel versions of precice-config.xml --- .../buoyantPimpleFoam-laplacianFoam/Allrun | 4 - .../Allrun_parallel | 4 - .../precice-config.xml | 62 +++++++++++++- .../precice-config_parallel.xml | 64 -------------- .../precice-config_serial.xml | 61 -------------- .../buoyantPimpleFoam-laplacianFoam/runFluid | 3 - .../buoyantPimpleFoam-laplacianFoam/runSolid | 3 - .../Allrun | 4 - .../Allrun_parallel | 4 - ...e-config_serial.xml => precice-config.xml} | 4 +- .../precice-config_parallel.xml | 84 ------------------- .../runFluid | 3 - .../runSolid | 3 - 13 files changed, 63 insertions(+), 240 deletions(-) mode change 120000 => 100644 tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml delete mode 100644 tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config_parallel.xml delete mode 100644 tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config_serial.xml rename tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/{precice-config_serial.xml => precice-config.xml} (93%) delete mode 100644 tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config_parallel.xml diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/Allrun b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/Allrun index a331e42e..27344f39 100755 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/Allrun +++ b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/Allrun @@ -7,10 +7,6 @@ # The script "Allclean" cleans-up the result and log files. -# Link to the precice-config for the serial run -echo "Setting up the preCICE configuration file for a serial simulation..." -ln -s -f precice-config_serial.xml precice-config.xml - # Participant 1: Fluid Participant1="Fluid" Solver1="buoyantPimpleFoam" diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/Allrun_parallel b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/Allrun_parallel index 3cea2d95..80bc3df8 100755 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/Allrun_parallel +++ b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/Allrun_parallel @@ -8,10 +8,6 @@ # The script "Allclean" cleans-up the result and log files. -# Link to the precice-config for the parallel run -echo "Setting up the preCICE configuration file for a parallel simulation..." -ln -s -f precice-config_parallel.xml precice-config.xml - # Participant 1: Fluid Participant1="Fluid" Solver1="buoyantPimpleFoam" diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml deleted file mode 120000 index f1208397..00000000 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml +++ /dev/null @@ -1 +0,0 @@ -precice-config_serial.xml \ No newline at end of file diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml new file mode 100644 index 00000000..57db04d2 --- /dev/null +++ b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config_parallel.xml b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config_parallel.xml deleted file mode 100644 index 6d20b789..00000000 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config_parallel.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config_serial.xml b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config_serial.xml deleted file mode 100644 index 7ab17a80..00000000 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config_serial.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/runFluid b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/runFluid index 53e1226b..74444f1c 100755 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/runFluid +++ b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/runFluid @@ -8,9 +8,6 @@ # The script "Allclean" cleans-up the result and log files. -# Use the precice-config for the serial run -ln -s -f precice-config_serial.xml precice-config.xml - # Prepare blockMesh -case Fluid diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/runSolid b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/runSolid index 00c2e183..a0da2f8e 100755 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/runSolid +++ b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/runSolid @@ -8,9 +8,6 @@ # The script "Allclean" cleans-up the result and log files. -# Use the precice-config for the serial run -ln -s -f precice-config_serial.xml precice-config.xml - # Prepare blockMesh -case Solid diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/Allrun b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/Allrun index a331e42e..27344f39 100755 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/Allrun +++ b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/Allrun @@ -7,10 +7,6 @@ # The script "Allclean" cleans-up the result and log files. -# Link to the precice-config for the serial run -echo "Setting up the preCICE configuration file for a serial simulation..." -ln -s -f precice-config_serial.xml precice-config.xml - # Participant 1: Fluid Participant1="Fluid" Solver1="buoyantPimpleFoam" diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/Allrun_parallel b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/Allrun_parallel index 3cea2d95..80bc3df8 100755 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/Allrun_parallel +++ b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/Allrun_parallel @@ -8,10 +8,6 @@ # The script "Allclean" cleans-up the result and log files. -# Link to the precice-config for the parallel run -echo "Setting up the preCICE configuration file for a parallel simulation..." -ln -s -f precice-config_parallel.xml precice-config.xml - # Participant 1: Fluid Participant1="Fluid" Solver1="buoyantPimpleFoam" diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config_serial.xml b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config.xml similarity index 93% rename from tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config_serial.xml rename to tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config.xml index 47220f03..70dcb137 100644 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config_serial.xml +++ b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config.xml @@ -3,7 +3,7 @@ - + @@ -47,7 +47,7 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/runFluid b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/runFluid index 53e1226b..74444f1c 100755 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/runFluid +++ b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/runFluid @@ -8,9 +8,6 @@ # The script "Allclean" cleans-up the result and log files. -# Use the precice-config for the serial run -ln -s -f precice-config_serial.xml precice-config.xml - # Prepare blockMesh -case Fluid diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/runSolid b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/runSolid index 00c2e183..a0da2f8e 100755 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/runSolid +++ b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/runSolid @@ -8,9 +8,6 @@ # The script "Allclean" cleans-up the result and log files. -# Use the precice-config for the serial run -ln -s -f precice-config_serial.xml precice-config.xml - # Prepare blockMesh -case Solid From e2a3add0cf6bfd976b0bfd0568d2d8a73970284b Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Fri, 20 Dec 2019 14:37:40 +0100 Subject: [PATCH 2/4] Tutorials: Update config files for parallel simulations --- .../buoyantPimpleFoam-laplacianFoam/precice-config.xml | 7 ++++--- .../precice-config.xml | 10 +++++----- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml index 57db04d2..0c03eee8 100644 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml +++ b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml @@ -23,8 +23,10 @@ + + @@ -33,7 +35,6 @@ - @@ -44,11 +45,11 @@ - + - + diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config.xml b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config.xml index 70dcb137..5c2c3ce8 100644 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config.xml +++ b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config.xml @@ -31,12 +31,13 @@ + + - @@ -44,7 +45,6 @@ - @@ -55,7 +55,7 @@ - + --> @@ -65,11 +65,11 @@ - + - + From 1e826a84d6008319d1e7fcea7ae704282d6c37d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20R=C3=BCth?= Date: Fri, 10 Jan 2020 16:17:14 +0100 Subject: [PATCH 3/4] Replace post-processing with acceleration --- .../buoyantPimpleFoam-laplacianFoam/precice-config.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml index 0c03eee8..4b706142 100644 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml +++ b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam/precice-config.xml @@ -48,13 +48,13 @@ - + - + From eb94d5a67be2a72f9b0591e16d021c566823026f Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Sat, 11 Jan 2020 11:45:22 +0200 Subject: [PATCH 4/4] Replace post-processing with acceletation (NP tutorial) --- .../precice-config.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config.xml b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config.xml index 5c2c3ce8..0c736d29 100644 --- a/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config.xml +++ b/tutorials/CHT/flow-over-plate/buoyantPimpleFoam-laplacianFoam_nearest-projection/precice-config.xml @@ -68,13 +68,13 @@ - + - +