From c4a6167cd035b7ac0ce09a5a7cf6fa88a19504db Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Fri, 7 Sep 2018 12:43:09 +0100 Subject: [PATCH] Tutorial update: immersed boundary --- .../movingCylinderInChannelTurbulent/0_org/epsilon | 12 +++++++----- .../movingCylinderInChannelTurbulent/0_org/k | 12 +++++++----- .../movingCylinderInChannelTurbulent/0_org/nut | 2 ++ tutorials/immersedBoundary/pitzDailyLaminar/0_org/U | 6 +++--- .../immersedBoundary/pitzDailyTurbulent/0_org/U | 6 +++--- .../pitzDailyTurbulent/0_org/epsilon | 3 ++- .../immersedBoundary/pitzDailyTurbulent/0_org/k | 2 ++ .../immersedBoundary/pitzDailyTurbulent/0_org/nut | 2 ++ .../0_org/epsilon | 1 - 9 files changed, 28 insertions(+), 18 deletions(-) diff --git a/tutorials/immersedBoundary/movingCylinderInChannelTurbulent/0_org/epsilon b/tutorials/immersedBoundary/movingCylinderInChannelTurbulent/0_org/epsilon index 3bb9b414f..3ea371555 100644 --- a/tutorials/immersedBoundary/movingCylinderInChannelTurbulent/0_org/epsilon +++ b/tutorials/immersedBoundary/movingCylinderInChannelTurbulent/0_org/epsilon @@ -17,7 +17,7 @@ FoamFile dimensions [0 2 -3 0 0 0 0]; -internalField uniform 14.855; +internalField uniform 2e-4; boundaryField { @@ -28,8 +28,10 @@ boundaryField Cmu 0.09; kappa 0.41; E 9.8; + setDeadValue true; + deadValue 2e-4; - value uniform 14.855; + value uniform 2e-4; } top { @@ -38,13 +40,13 @@ boundaryField in { type fixedValue; - value uniform 14.855; + value uniform 2e-4; } out { type inletOutlet; - inletValue uniform 14.855; - value uniform 14.855; + inletValue uniform 2e-4; + value uniform 2e-4; } bottom { diff --git a/tutorials/immersedBoundary/movingCylinderInChannelTurbulent/0_org/k b/tutorials/immersedBoundary/movingCylinderInChannelTurbulent/0_org/k index 54a010cc2..f8fe401e1 100644 --- a/tutorials/immersedBoundary/movingCylinderInChannelTurbulent/0_org/k +++ b/tutorials/immersedBoundary/movingCylinderInChannelTurbulent/0_org/k @@ -17,7 +17,7 @@ FoamFile dimensions [0 2 -2 0 0 0 0]; -internalField uniform 0.375; +internalField uniform 1.5e-4; boundaryField { @@ -25,7 +25,9 @@ boundaryField { type immersedBoundaryKqRWallFunction; patchType immersedBoundary; - value uniform 0.375; + setDeadValue true; + deadValue 1.5e-4; + value uniform 1.5e-4; } top { @@ -34,13 +36,13 @@ boundaryField in { type fixedValue; - value uniform 0.375; + value uniform 1.5e-4; } out { type inletOutlet; - inletValue uniform 0.375; - value uniform 0.375; + inletValue uniform 1.5e-4; + value uniform 1.5e-4; } bottom { diff --git a/tutorials/immersedBoundary/movingCylinderInChannelTurbulent/0_org/nut b/tutorials/immersedBoundary/movingCylinderInChannelTurbulent/0_org/nut index b262b36c2..5d8f529de 100644 --- a/tutorials/immersedBoundary/movingCylinderInChannelTurbulent/0_org/nut +++ b/tutorials/immersedBoundary/movingCylinderInChannelTurbulent/0_org/nut @@ -25,6 +25,8 @@ boundaryField { type immersedBoundaryNutWallFunction; patchType immersedBoundary; + setDeadValue true; + deadValue 1e-5; value uniform 0; } top diff --git a/tutorials/immersedBoundary/pitzDailyLaminar/0_org/U b/tutorials/immersedBoundary/pitzDailyLaminar/0_org/U index 9e6d1dd52..a4e513a16 100644 --- a/tutorials/immersedBoundary/pitzDailyLaminar/0_org/U +++ b/tutorials/immersedBoundary/pitzDailyLaminar/0_org/U @@ -25,10 +25,10 @@ boundaryField type mixedIb; patchType immersedBoundary; triValue uniform (0 0 0); - triGradient uniform (0 0 0); + triGradient uniform (0 0 0); triValueFraction uniform 1; - setDeadValue yes; - deadValue (0 0 0); + setDeadValue yes; + deadValue (0 0 0); value uniform (0 0 0); } inlet diff --git a/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/U b/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/U index 450dad3aa..a4e513a16 100644 --- a/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/U +++ b/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/U @@ -25,10 +25,10 @@ boundaryField type mixedIb; patchType immersedBoundary; triValue uniform (0 0 0); - triGradient uniform (0 0 0); + triGradient uniform (0 0 0); triValueFraction uniform 1; - setDeadValue yes; - deadValue (0 0 0); + setDeadValue yes; + deadValue (0 0 0); value uniform (0 0 0); } inlet diff --git a/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/epsilon b/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/epsilon index efd02c4e0..b51c2b334 100644 --- a/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/epsilon +++ b/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/epsilon @@ -28,7 +28,8 @@ boundaryField Cmu 0.09; kappa 0.41; E 9.8; - + setDeadValue true; + deadValue 14.855; value uniform 14.855; } top diff --git a/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/k b/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/k index d083844f2..e047e8043 100644 --- a/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/k +++ b/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/k @@ -25,6 +25,8 @@ boundaryField { type immersedBoundaryKqRWallFunction; patchType immersedBoundary; + setDeadValue true; + deadValue 0.375; value uniform 0.375; } top diff --git a/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/nut b/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/nut index f01fbe2b8..b0ed5e890 100644 --- a/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/nut +++ b/tutorials/immersedBoundary/pitzDailyTurbulent/0_org/nut @@ -25,6 +25,8 @@ boundaryField { type immersedBoundaryNutWallFunction; patchType immersedBoundary; + setDeadValue true; + deadValue 1e-5; value uniform 0; } top diff --git a/tutorials/immersedBoundary/refiningMovingCylinderInChannelTurbulent/0_org/epsilon b/tutorials/immersedBoundary/refiningMovingCylinderInChannelTurbulent/0_org/epsilon index 3ea371555..ef4753e56 100644 --- a/tutorials/immersedBoundary/refiningMovingCylinderInChannelTurbulent/0_org/epsilon +++ b/tutorials/immersedBoundary/refiningMovingCylinderInChannelTurbulent/0_org/epsilon @@ -30,7 +30,6 @@ boundaryField E 9.8; setDeadValue true; deadValue 2e-4; - value uniform 2e-4; } top