From ce8695d804634e81461464cd3f5ce722a3fcf262 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Wed, 27 Sep 2017 17:58:24 +0100 Subject: [PATCH] BUG: reachingParcelFoam: requires p_rgh --- tutorials/mesh/parallel/filter/0.orig/U | 9 ++- tutorials/mesh/parallel/filter/0.orig/p_rgh | 66 +++++++++++++++++++++ 2 files changed, 70 insertions(+), 5 deletions(-) create mode 100644 tutorials/mesh/parallel/filter/0.orig/p_rgh diff --git a/tutorials/mesh/parallel/filter/0.orig/U b/tutorials/mesh/parallel/filter/0.orig/U index 88b33643b4c..3e05c93586c 100644 --- a/tutorials/mesh/parallel/filter/0.orig/U +++ b/tutorials/mesh/parallel/filter/0.orig/U @@ -15,21 +15,20 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -dimensions [ 0 1 -1 0 0 0 0 ]; +dimensions [0 1 -1 0 0 0 0]; -internalField uniform ( 0 0 0 ); +internalField uniform (0 0 0); boundaryField { walls { - type fixedValue; - value uniform ( 0 0 0 ); + type noSlip; } inlet { type fixedValue; - value uniform ( 5 0 0 ); + value uniform (5 0 0); } outlet { diff --git a/tutorials/mesh/parallel/filter/0.orig/p_rgh b/tutorials/mesh/parallel/filter/0.orig/p_rgh new file mode 100644 index 00000000000..889e4cf1113 --- /dev/null +++ b/tutorials/mesh/parallel/filter/0.orig/p_rgh @@ -0,0 +1,66 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.org | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object p_rgh; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -2 0 0 0 0]; + +internalField uniform 100000; + +boundaryField +{ + walls + { + type fixedFluxPressure; + } + + inlet + { + type fixedFluxPressure; + } + + outlet + { + type prghPressure; + p uniform 100000; + } + + cycLeft_half0 + { + type cyclic; + } + + cycRight_half0 + { + type cyclic; + } + + frontAndBack + { + type empty; + } + + cycLeft_half1 + { + type cyclic; + } + + cycRight_half1 + { + type cyclic; + } +} + + +// ************************************************************************* // -- GitLab