ENH: Updated boundaryFoam/boundaryWallFunctions tutorial

This commit is contained in:
mattijs
2010-05-04 16:19:22 +01:00
parent 3973126deb
commit 8420ff9e90
17 changed files with 288 additions and 411 deletions

6
TODO
View File

@ -76,12 +76,12 @@ OK - grep for size()/2
OK - DNS/dnsFoam/boxTurb16
OK - channelFoam/channel395
slight differences due to divergence. combustion/XiFoam/les/pitzDaily3D
combustion/fireFoam/les/smallPoolFire2D
OK - no cyclics. combustion/fireFoam/les/smallPoolFire2D
discreteMethods/dsmcFoam/freeSpacePeriodic
discreteMethods/dsmcFoam/wedge15Ma5
discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon
incompressible/boundaryFoam/boundaryLaunderSharma
incompressible/boundaryFoam/boundaryWallFunctions
OK - incompressible/boundaryFoam/boundaryLaunderSharma
OK - incompressible/boundaryFoam/boundaryWallFunctions
incompressible/boundaryFoam/boundaryWallFunctionsProfile
incompressible/channelFoam/channel395
incompressible/pimpleFoam/t-junction-with-fan

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -15,37 +15,31 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
5
4
(
base
{
type patch;
nFaces 134;
nFaces 150;
startFace 44700;
}
outlet
{
type patch;
nFaces 150;
startFace 44834;
startFace 44850;
}
sides
{
type patch;
nFaces 300;
startFace 44984;
startFace 45000;
}
frontAndBack
{
type empty;
nFaces 45000;
startFace 45284;
}
inlet
{
type patch;
nFaces 16;
startFace 90284;
startFace 45300;
}
)

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,37 +10,40 @@ FoamFile
version 2.0;
format ascii;
class volSymmTensorField;
location "0";
object R;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform (0 0 0 0 0 0);
internalField uniform ( 0 0 0 0 0 0 );
boundaryField
{
lowerWall
{
type fixedValue;
value uniform (0 0 0 0 0 0);
value uniform ( 0 0 0 0 0 0 );
}
upperWall
{
type fixedValue;
value uniform (0 0 0 0 0 0);
value uniform ( 0 0 0 0 0 0 );
}
frontBack
frontBack_half0
{
type cyclic;
}
defaultFaces
{
type empty;
}
frontBack_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,37 +10,40 @@ FoamFile
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
dimensions [ 0 1 -1 0 0 0 0 ];
internalField uniform (10 0 0);
internalField uniform ( 10 0 0 );
boundaryField
{
lowerWall
{
type fixedValue;
value uniform (0 0 0);
value uniform ( 0 0 0 );
}
upperWall
{
type fixedValue;
value uniform (0 0 0);
value uniform ( 0 0 0 );
}
frontBack
frontBack_half0
{
type cyclic;
}
defaultFaces
{
type empty;
}
frontBack_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,11 +10,12 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0];
dimensions [ 0 2 -3 0 0 0 0 ];
internalField uniform 10;
@ -25,22 +26,24 @@ boundaryField
type fixedValue;
value uniform 1e-08;
}
upperWall
{
type fixedValue;
value uniform 1e-08;
}
frontBack
frontBack_half0
{
type cyclic;
}
defaultFaces
{
type empty;
}
frontBack_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,11 +10,12 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform 1;
@ -25,22 +26,24 @@ boundaryField
type fixedValue;
value uniform 1e-10;
}
upperWall
{
type fixedValue;
value uniform 1e-10;
}
frontBack
frontBack_half0
{
type cyclic;
}
defaultFaces
{
type empty;
}
frontBack_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -1,80 +1,80 @@
-0.0499719 1e-05
-0.0499122 1e-05
-0.049845 1e-05
-0.0497694 1e-05
-0.0496843 1e-05
-0.0495885 1e-05
-0.0494808 1e-05
-0.0493595 1e-05
-0.0492231 1e-05
-0.0490695 1e-05
-0.0488967 1e-05
-0.0487022 1e-05
-0.0484834 1e-05
-0.0482371 1e-05
-0.04796 1e-05
-0.0476481 1e-05
-0.0472971 1e-05
-0.0469021 1e-05
-0.0464577 1e-05
-0.0459575 1e-05
-0.0453947 1e-05
-0.0447613 1e-05
-0.0440485 1e-05
-0.0432464 1e-05
-0.0423437 1e-05
-0.0413279 1e-05
-0.0401848 1e-05
-0.0388984 1e-05
-0.0374508 1e-05
-0.0358218 1e-05
-0.0339885 1e-05
-0.0319255 1e-05
-0.029604 1e-05
-0.0269914 1e-05
-0.0240515 1e-05
-0.020743 1e-05
-0.0170199 1e-05
-0.0128301 1e-05
-0.00811521 1e-05
-0.00280937 1e-05
0.00280937 1e-05
0.00811521 1e-05
0.0128301 1e-05
0.0170199 1e-05
0.020743 1e-05
0.0240515 1e-05
0.0269914 1e-05
0.029604 1e-05
0.0319255 1e-05
0.0339885 1e-05
0.0358218 1e-05
0.0374508 1e-05
0.0388984 1e-05
0.0401848 1e-05
0.0413279 1e-05
0.0423437 1e-05
0.0432464 1e-05
0.0440485 1e-05
0.0447613 1e-05
0.0453947 1e-05
0.0459575 1e-05
0.0464577 1e-05
0.0469021 1e-05
0.0472971 1e-05
0.0476481 1e-05
0.04796 1e-05
0.0482371 1e-05
0.0484834 1e-05
0.0487022 1e-05
0.0488967 1e-05
0.0490695 1e-05
0.0492231 1e-05
0.0493595 1e-05
0.0494808 1e-05
0.0495885 1e-05
0.0496843 1e-05
0.0497694 1e-05
0.049845 1e-05
0.0499122 1e-05
0.0499719 1e-05
2.80937e-05 1e-05
8.78022e-05 1e-05
0.000154994 1e-05
0.000230608 1e-05
0.000315699 1e-05
0.000411455 1e-05
0.000519212 1e-05
0.000640475 1e-05
0.000776937 1e-05
0.000930502 1e-05
0.00110331 1e-05
0.00129779 1e-05
0.00151663 1e-05
0.00176291 1e-05
0.00204005 1e-05
0.00235193 1e-05
0.0027029 1e-05
0.00309785 1e-05
0.00354231 1e-05
0.00404248 1e-05
0.00460533 1e-05
0.00523873 1e-05
0.00595151 1e-05
0.00675364 1e-05
0.0076563 1e-05
0.00867209 1e-05
0.0098152 1e-05
0.0111016 1e-05
0.0125492 1e-05
0.0141782 1e-05
0.0160115 1e-05
0.0180745 1e-05
0.020396 1e-05
0.0230086 1e-05
0.0259485 1e-05
0.029257 1e-05
0.0329801 1e-05
0.0371699 1e-05
0.0418848 1e-05
0.0471906 1e-05
0.0528094 1e-05
0.0581152 1e-05
0.0628301 1e-05
0.0670199 1e-05
0.070743 1e-05
0.0740515 1e-05
0.0769914 1e-05
0.079604 1e-05
0.0819255 1e-05
0.0839885 1e-05
0.0858218 1e-05
0.0874508 1e-05
0.0888984 1e-05
0.0901848 1e-05
0.0913279 1e-05
0.0923437 1e-05
0.0932464 1e-05
0.0940485 1e-05
0.0947613 1e-05
0.0953947 1e-05
0.0959575 1e-05
0.0964577 1e-05
0.0969021 1e-05
0.0972971 1e-05
0.0976481 1e-05
0.09796 1e-05
0.0982371 1e-05
0.0984834 1e-05
0.0987022 1e-05
0.0988967 1e-05
0.0990695 1e-05
0.0992231 1e-05
0.0993595 1e-05
0.0994808 1e-05
0.0995885 1e-05
0.0996843 1e-05
0.0997694 1e-05
0.099845 1e-05
0.0999122 1e-05
0.0999719 1e-05

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,11 +10,12 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object nuTilda;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
dimensions [ 0 2 -1 0 0 0 0 ];
internalField uniform 0;
@ -25,22 +26,24 @@ boundaryField
type fixedValue;
value uniform 0;
}
upperWall
{
type fixedValue;
value uniform 0;
}
frontBack
frontBack_half0
{
type cyclic;
}
defaultFaces
{
type empty;
}
frontBack_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
4
5
(
lowerWall
{
@ -29,12 +29,19 @@ FoamFile
nFaces 1;
startFace 80;
}
frontBack
frontBack_half0
{
type cyclic;
nFaces 160;
nFaces 80;
startFace 81;
featureCos 0.9;
neighbourPatch frontBack_half1;
}
frontBack_half1
{
type cyclic;
nFaces 80;
startFace 161;
neighbourPatch frontBack_half0;
}
defaultFaces
{

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,13 +10,14 @@ FoamFile
version 2.0;
format ascii;
class volSymmTensorField;
location "0";
object R;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform (0 0 0 0 0 0);
internalField uniform ( 0 0 0 0 0 0 );
boundaryField
{
@ -24,21 +25,23 @@ boundaryField
{
type zeroGradient;
}
upperWall
{
type zeroGradient;
}
frontBack
frontBack_half0
{
type cyclic;
}
defaultFaces
{
type empty;
}
frontBack_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,37 +10,40 @@ FoamFile
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
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
{
lowerWall
{
type fixedValue;
value uniform (0 0 0);
value uniform ( 0 0 0 );
}
upperWall
{
type fixedValue;
value uniform (0 0 0);
value uniform ( 0 0 0 );
}
frontBack
frontBack_half0
{
type cyclic;
}
defaultFaces
{
type empty;
}
frontBack_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0];
dimensions [ 0 2 -3 0 0 0 0 ];
internalField uniform 1e-08;
@ -31,15 +31,18 @@ boundaryField
type epsilonWallFunction;
value uniform 1e-08;
}
frontBack
frontBack_half0
{
type cyclic;
value uniform 1e-08;
}
defaultFaces
{
type empty;
}
frontBack_half1
{
type cyclic;
}
}

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform 1e-10;
@ -31,179 +31,18 @@ boundaryField
type kqRWallFunction;
value uniform 1e-10;
}
frontBack
frontBack_half0
{
type cyclic;
value nonuniform List<scalar>
160
(
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
1e-10
)
;
}
defaultFaces
{
type empty;
}
frontBack_half1
{
type cyclic;
}
}

View File

@ -1,43 +1,3 @@
-0.049375 1e-05
-0.048125 1e-05
-0.046875 1e-05
-0.045625 1e-05
-0.044375 1e-05
-0.043125 1e-05
-0.041875 1e-05
-0.040625 1e-05
-0.039375 1e-05
-0.038125 1e-05
-0.036875 1e-05
-0.035625 1e-05
-0.034375 1e-05
-0.033125 1e-05
-0.031875 1e-05
-0.030625 1e-05
-0.029375 1e-05
-0.028125 1e-05
-0.026875 1e-05
-0.025625 1e-05
-0.024375 1e-05
-0.023125 1e-05
-0.021875 1e-05
-0.020625 1e-05
-0.019375 1e-05
-0.018125 1e-05
-0.016875 1e-05
-0.015625 1e-05
-0.014375 1e-05
-0.013125 1e-05
-0.011875 1e-05
-0.010625 1e-05
-0.009375 1e-05
-0.008125 1e-05
-0.006875 1e-05
-0.005625 1e-05
-0.004375 1e-05
-0.003125 1e-05
-0.001875 1e-05
-0.000625 1e-05
0.000625 1e-05
0.001875 1e-05
0.003125 1e-05
@ -78,3 +38,43 @@
0.046875 1e-05
0.048125 1e-05
0.049375 1e-05
0.050625 1e-05
0.051875 1e-05
0.053125 1e-05
0.054375 1e-05
0.055625 1e-05
0.056875 1e-05
0.058125 1e-05
0.059375 1e-05
0.060625 1e-05
0.061875 1e-05
0.063125 1e-05
0.064375 1e-05
0.065625 1e-05
0.066875 1e-05
0.068125 1e-05
0.069375 1e-05
0.070625 1e-05
0.071875 1e-05
0.073125 1e-05
0.074375 1e-05
0.075625 1e-05
0.076875 1e-05
0.078125 1e-05
0.079375 1e-05
0.080625 1e-05
0.081875 1e-05
0.083125 1e-05
0.084375 1e-05
0.085625 1e-05
0.086875 1e-05
0.088125 1e-05
0.089375 1e-05
0.090625 1e-05
0.091875 1e-05
0.093125 1e-05
0.094375 1e-05
0.095625 1e-05
0.096875 1e-05
0.098125 1e-05
0.099375 1e-05

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,11 +10,12 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object nuTilda;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
dimensions [ 0 2 -1 0 0 0 0 ];
internalField uniform 0;
@ -24,21 +25,23 @@ boundaryField
{
type zeroGradient;
}
upperWall
{
type zeroGradient;
}
frontBack
frontBack_half0
{
type cyclic;
}
defaultFaces
{
type empty;
}
frontBack_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
dimensions [ 0 2 -1 0 0 0 0 ];
internalField uniform 0;
@ -31,15 +31,18 @@ boundaryField
type nutkWallFunction;
value uniform 0;
}
frontBack
frontBack_half0
{
type cyclic;
value uniform 0;
}
defaultFaces
{
type empty;
}
frontBack_half1
{
type cyclic;
}
}

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / O peration | Version: splitCyclic |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
4
5
(
lowerWall
{
@ -29,12 +29,19 @@ FoamFile
nFaces 1;
startFace 80;
}
frontBack
frontBack_half0
{
type cyclic;
nFaces 160;
nFaces 80;
startFace 81;
featureCos 0.9;
neighbourPatch frontBack_half1;
}
frontBack_half1
{
type cyclic;
nFaces 80;
startFace 161;
neighbourPatch frontBack_half0;
}
defaultFaces
{