ENH: updated tutorial boundaryFoam/boundaryWallFunctionsProfile

This commit is contained in:
mattijs 2010-05-04 16:23:59 +01:00
parent 8420ff9e90
commit f39c200e02
10 changed files with 87 additions and 56 deletions

2
TODO
View File

@ -82,7 +82,7 @@ OK - grep for size()/2
discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon
OK - incompressible/boundaryFoam/boundaryLaunderSharma
OK - incompressible/boundaryFoam/boundaryWallFunctions
incompressible/boundaryFoam/boundaryWallFunctionsProfile
OK - incompressible/boundaryFoam/boundaryWallFunctionsProfile
incompressible/channelFoam/channel395
incompressible/pimpleFoam/t-junction-with-fan
incompressible/simpleSRFFoam/mixer

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 (1 0 0);
internalField uniform ( 1 0 0 );
boundaryField
{
lowerWall
lowerWall
{
type fixedValue;
value uniform (0 0 0);
value uniform ( 0 0 0 );
}
upperWall
upperWall
{
type fixedValue;
value uniform (0 0 0);
value uniform ( 0 0 0 );
}
frontBack
frontBack_half0
{
type cyclic;
}
defaultFaces
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,9 +15,9 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform 0.000000001;
internalField uniform 1e-09;
boundaryField
{
@ -31,15 +31,18 @@ boundaryField
type kqRWallFunction;
internalField uniform 0.1;
}
frontBack
frontBack_half0
{
type cyclic;
internalField uniform 0.1;
}
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,35 +10,38 @@ 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;
boundaryField
{
lowerWall
lowerWall
{
type zeroGradient;
}
upperWall
upperWall
{
type zeroGradient;
}
frontBack
frontBack_half0
{
type cyclic;
}
defaultFaces
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 | |
\*---------------------------------------------------------------------------*/
@ -11,11 +11,11 @@ FoamFile
format ascii;
class volScalarField;
location "0";
object nut;
object nut.k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
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 | |
\*---------------------------------------------------------------------------*/
@ -11,11 +11,11 @@ FoamFile
format ascii;
class volScalarField;
location "0";
object nut;
object nut.spalding;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
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 nutUSpaldingWallFunction;
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
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 -1 0 0 0 0];
dimensions [ 0 0 -1 0 0 0 0 ];
internalField uniform 1111.11;
@ -31,15 +31,18 @@ boundaryField
type omegaWallFunction;
value uniform 1111.11;
}
frontBack
frontBack_half0
{
type cyclic;
value uniform 1111.11;
}
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: dev |
| \\ / 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
{