Commit dee5fee4 authored by Andrew Heather's avatar Andrew Heather
Browse files

tutorial updates

parent c2c0c66f
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
......@@ -10,40 +10,42 @@ 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 375;
boundaryField
{
left
left
{
type symmetryPlane;
}
right
right
{
type symmetryPlane;
}
top
top
{
type symmetryPlane;
}
bottom
bottom
{
type symmetryPlane;
}
frontAndBack
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
......@@ -10,40 +10,42 @@ 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.5;
boundaryField
{
left
left
{
type symmetryPlane;
}
right
right
{
type symmetryPlane;
}
top
top
{
type symmetryPlane;
}
bottom
bottom
{
type symmetryPlane;
}
frontAndBack
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
/*--------------------------------*- 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;
location "0";
object mut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 1 -1 -1 0 0 0 0 ];
internalField uniform 0;
boundaryField
{
left
{
type symmetryPlane;
}
right
{
type symmetryPlane;
}
top
{
type symmetryPlane;
}
bottom
{
type symmetryPlane;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
......@@ -10,30 +10,34 @@ 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
{
movingWall
movingWall
{
type zeroGradient;
type kQRWallFunction;
value uniform ( 0 0 0 0 0 0 );
}
fixedWalls
fixedWalls
{
type zeroGradient;
type kQRWallFunction;
value uniform ( 0 0 0 0 0 0 );
}
frontAndBack
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
......@@ -10,30 +10,34 @@ 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 0.000765;
boundaryField
{
movingWall
movingWall
{
type zeroGradient;
type epsilonWallFunction;
value uniform 0;
}
fixedWalls
fixedWalls
{
type zeroGradient;
type epsilonWallFunction;
value uniform 0;
}
frontAndBack
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
......@@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform 0.00325;
......@@ -24,13 +24,15 @@ boundaryField
movingWall
{
type kQRWallFunction;
value uniform 0.00325;
value uniform 0;
}
fixedWalls
{
type kQRWallFunction;
value uniform 0.00325;
value uniform 0;
}
frontAndBack
{
type empty;
......
......@@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -1 0 0 0 0];
dimensions [ 1 -1 -1 0 0 0 0 ];
internalField uniform 0;
......@@ -26,11 +26,13 @@ boundaryField
type mutWallFunction;
value uniform 0;
}
fixedWalls
{
type mutWallFunction;
value uniform 0;
}
frontAndBack
{
type empty;
......
......@@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 -1 0 0 0 0];
dimensions [ 0 0 -1 0 0 0 0 ];
internalField uniform 2.6;
......@@ -24,13 +24,15 @@ boundaryField
movingWall
{
type omegaWallFunction;
value uniform 2.6;
value uniform 0;
}
fixedWalls
{
type omegaWallFunction;
value uniform 2.6;
value uniform 0;
}
frontAndBack
{
type empty;
......
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
format binary;
class volScalarField;
location "0";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0];
dimensions [ 0 2 -3 0 0 0 0 ];
internalField uniform 200;
boundaryField
{
front
{
type zeroGradient;
type epsilonWallFunction;
value uniform 0;
}
back
{
type zeroGradient;
type epsilonWallFunction;
value uniform 0;
}
wall
{
type zeroGradient;
type epsilonWallFunction;
value uniform 0;
}
porosityWall
{
type zeroGradient;
type epsilonWallFunction;
value uniform 0;
}
inlet
{
type turbulentMixingLengthDissipationRateInlet;
mixingLength 0.005;
value $internalField;
value uniform 200;
}
outlet
{
type inletOutlet;
inletValue $internalField;
value $internalField;
inletValue uniform 200;
value uniform 200;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
format binary;
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;
boundaryField
{
front
{
type zeroGradient;
type kQRWallFunction;
value uniform 0;
}
back
{
type zeroGradient;
type kQRWallFunction;
value uniform 0;
}
wall
{
type zeroGradient;
type kQRWallFunction;
value uniform 0;
}
porosityWall
{
type zeroGradient;
type kQRWallFunction;
value uniform 0;
}
inlet
{
type turbulentIntensityKineticEnergyInlet;
intensity 0.05;
value $internalField;
value uniform 1;
}
outlet
{
type inletOutlet;
inletValue $internalField;
value $internalField;
inletValue uniform 1;
value uniform 1;
}
}
// ************************************************************************* //
/*--------------------------------*- 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 binary;
class volScalarField;
location "0";
object mut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 1 -1 -1 0 0 0 0 ];
internalField uniform 0;
boundaryField
{
front
{
type mutWallFunction;
value uniform 0;
}
back
{
type mutWallFunction;
value uniform 0;
}
wall
{
type mutWallFunction;
value uniform 0;
}
porosityWall
{
type mutWallFunction;
value uniform 0;
}
inlet
{
type calculated;
value uniform 0;
}
outlet
{
type calculated;
value uniform 0;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
......@@ -10,30 +10,35 @@ 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 0.01;
boundaryField
{
floor
floor
{
type zeroGradient;
type epsilonWallFunction;
value uniform 0;
}
ceiling
ceiling
{
type zeroGradient;
type epsilonWallFunction;
value uniform 0;
}
fixedWalls
fixedWalls
{