From 5a4d25429df2dd07ecf48d880ace0c776990e7ce Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 27 Mar 2018 11:26:01 +0100 Subject: [PATCH] tutorials/multiphase/interFoam/RAS/damBreakPorousBaffle: Updated porosity coefficients The implementation of the porousBafflePressure BC was incorrect in OpenFOAM-2.4 and earlier and corrected during the turbulence modeling rewrite for OpenFOAM-3.0. This update introduced the density scaling required for the definition of pressure in interFoam which requires the porosity coefficients to be reduced. Resolves bug-report https://bugs.openfoam.org/view.php?id=2890 --- .../multiphase/interFoam/RAS/damBreakPorousBaffle/0/p_rgh | 8 ++++---- .../RAS/damBreakPorousBaffle/system/createBafflesDict | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tutorials/multiphase/interFoam/RAS/damBreakPorousBaffle/0/p_rgh b/tutorials/multiphase/interFoam/RAS/damBreakPorousBaffle/0/p_rgh index aa693a71e..f450ac3aa 100644 --- a/tutorials/multiphase/interFoam/RAS/damBreakPorousBaffle/0/p_rgh +++ b/tutorials/multiphase/interFoam/RAS/damBreakPorousBaffle/0/p_rgh @@ -56,8 +56,8 @@ boundaryField { type porousBafflePressure; patchType cyclic; - D 1000; - I 500; + D 10; + I 5; length 0.15; jump uniform 0; value uniform 0; @@ -66,8 +66,8 @@ boundaryField { type porousBafflePressure; patchType cyclic; - D 1000; - I 500; + D 10; + I 5; length 0.15; jump uniform 0; value uniform 0; diff --git a/tutorials/multiphase/interFoam/RAS/damBreakPorousBaffle/system/createBafflesDict b/tutorials/multiphase/interFoam/RAS/damBreakPorousBaffle/system/createBafflesDict index 340232bbb..4e0260636 100644 --- a/tutorials/multiphase/interFoam/RAS/damBreakPorousBaffle/system/createBafflesDict +++ b/tutorials/multiphase/interFoam/RAS/damBreakPorousBaffle/system/createBafflesDict @@ -50,8 +50,8 @@ baffles { type porousBafflePressure; patchType cyclic; - D 1000; - I 500; + D 10; + I 5; length 0.15; jump uniform 0; value uniform 0;