From 5eb7e465bac0bc717dc496a91d87683c78c76f03 Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 24 Feb 2012 17:13:46 +0000 Subject: [PATCH] twoPhaseEulerFoam tutorials: update velocity BCs --- tutorials/multiphase/twoPhaseEulerFoam/bed/0/Ua | 10 +++++----- tutorials/multiphase/twoPhaseEulerFoam/bed/0/Ub | 6 +++--- tutorials/multiphase/twoPhaseEulerFoam/bed2/0/Ua | 4 +++- tutorials/multiphase/twoPhaseEulerFoam/bed2/0/Ub | 4 +++- .../multiphase/twoPhaseEulerFoam/bubbleColumn/0/Ua | 4 ++-- .../multiphase/twoPhaseEulerFoam/bubbleColumn/0/Ub | 4 ++-- 6 files changed, 18 insertions(+), 14 deletions(-) diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/0/Ua b/tutorials/multiphase/twoPhaseEulerFoam/bed/0/Ua index 7443a9c7b8..a43dc9ad09 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/0/Ua +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/0/Ua @@ -23,20 +23,20 @@ boundaryField bottom { type fixedValue; - value uniform ( 0 0 0 ); + value uniform (0 0 0); } top { - type inletOutlet; - inletValue uniform (0 0 0); - value uniform ( 0 0 0 ); + type pressureInletOutletVelocity; + phi phia; + value $internalField; } walls { type fixedValue; - value uniform ( 0 0 0 ); + value uniform (0 0 0); } frontBack diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/0/Ub b/tutorials/multiphase/twoPhaseEulerFoam/bed/0/Ub index cbd0f0e63c..2a263a3ca2 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/0/Ub +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/0/Ub @@ -28,9 +28,9 @@ boundaryField top { - type inletOutlet; - value uniform (0 0 0); - inletValue uniform ( 0 0 0 ); + type pressureInletOutletVelocity; + phi phib; + value $internalField; } walls diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/0/Ua b/tutorials/multiphase/twoPhaseEulerFoam/bed2/0/Ua index 01146616f8..2fd050fcc3 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/0/Ua +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/0/Ua @@ -27,7 +27,9 @@ boundaryField } outlet { - type zeroGradient; + type pressureInletOutletVelocity; + phi phia; + value $internalField; } inlet { diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed2/0/Ub b/tutorials/multiphase/twoPhaseEulerFoam/bed2/0/Ub index ca0972ae31..fe078db58a 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed2/0/Ub +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed2/0/Ub @@ -27,7 +27,9 @@ boundaryField } outlet { - type zeroGradient; + type pressureInletOutletVelocity; + phi phib; + value $internalField; } inlet { diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/0/Ua b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/0/Ua index 55b7c96498..51a58827bd 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/0/Ua +++ b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/0/Ua @@ -1907,8 +1907,8 @@ boundaryField outlet { - type inletOutlet; - inletValue uniform (0 0 0); + type pressureInletOutletVelocity; + phi phia; value nonuniform List 25 ( diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/0/Ub b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/0/Ub index 4e1775c496..6bcd47e043 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/0/Ub +++ b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/0/Ub @@ -1907,8 +1907,8 @@ boundaryField outlet { - type inletOutlet; - inletValue uniform (0 0 0); + type pressureInletOutletVelocity; + phi phib; value nonuniform List 25 (