Tried to sort out the scripts in the tutorials but found it is messed up. Will start again from a new version from Mattijs

This commit is contained in:
henry
2008-06-13 13:46:55 +01:00
parent 91c2d7743b
commit 9ad914ca0b
1061 changed files with 0 additions and 533232 deletions

View File

@ -1,20 +0,0 @@
#!/bin/sh
currDir=`pwd`
application=`basename $currDir`
casesWithBlockMeshDict="dahl"
casesWithoutBlockMeshDict="tank3D"
tutorialPath=`dirname $0`/..
. $tutorialPath/CleanFunctions
for case in $casesWithBlockMeshDict
do
cleanCase $case
done
for case in $casesWithoutBlockMeshDict
do
cleanTimeDirectories $case
done

View File

@ -1,18 +0,0 @@
#!/bin/sh
currDir=`pwd`
application=`basename $currDir`
cases="dahl tank3D"
tutorialPath=`dirname $0`/..
. $tutorialPath/RunFunctions
for case in $cases
do
if [ "$case" = "dahl" ] ; then
runApplication blockMesh $case
fi
runApplication $application $case
done

View File

@ -1,67 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0.0191 0 0);
boundaryField
{
inlet
{
type fixedValue;
value uniform (0.0191 0 0);
}
outlet
{
type zeroGradient;
}
bottomWall
{
type fixedValue;
value uniform (0 0 0);
}
endWall
{
type fixedValue;
value uniform (0 0 0);
}
top
{
type symmetryPlane;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,65 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object alpha;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0.001;
boundaryField
{
inlet
{
type fixedValue;
value uniform 0.001;
}
outlet
{
type zeroGradient;
}
bottomWall
{
type zeroGradient;
}
endWall
{
type zeroGradient;
}
top
{
type symmetryPlane;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,65 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0];
internalField uniform 1.50919e-06;
boundaryField
{
inlet
{
type fixedValue;
value uniform 1.50919e-06;
}
outlet
{
type zeroGradient;
}
bottomWall
{
type zeroGradient;
}
endWall
{
type zeroGradient;
}
top
{
type symmetryPlane;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,65 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0.00015;
boundaryField
{
inlet
{
type fixedValue;
value uniform 0.00015;
}
outlet
{
type zeroGradient;
}
bottomWall
{
type zeroGradient;
}
endWall
{
type zeroGradient;
}
top
{
type symmetryPlane;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,65 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type fixedValue;
value uniform 0;
}
bottomWall
{
type zeroGradient;
}
endWall
{
type zeroGradient;
}
top
{
type symmetryPlane;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -1,28 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object environmentalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
g g [0 1 -2 0 0 0 0] (0 -9.81 0);
// ************************************************************************* //

View File

@ -1,89 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1;
vertices
(
(0 0 -0.1)
(8.65 0 -0.1)
(8.65 0.1 -0.1)
(0 0.1 -0.1)
(8.65 1 -0.1)
(0 1 -0.1)
(0 0 0.1)
(8.65 0 0.1)
(8.65 0.1 0.1)
(0 0.1 0.1)
(8.65 1 0.1)
(0 1 0.1)
);
blocks
(
hex (0 1 2 3 6 7 8 9) (200 4 1) simpleGrading (1 1 1)
hex (3 2 4 5 9 8 10 11) (200 36 1) simpleGrading (1 1 1)
);
edges
(
);
patches
(
patch inlet
(
(0 6 9 3)
(3 9 11 5)
)
patch outlet
(
(1 2 8 7)
)
patch bottomWall
(
(0 1 7 6)
)
wall endWall
(
(2 4 10 8)
)
symmetryPlane top
(
(5 11 10 4)
)
empty frontAndBack
(
(0 3 2 1)
(6 7 8 9)
(3 5 4 2)
(9 8 10 11)
)
);
mergePatchPairs
(
);
// ************************************************************************* //

View File

@ -1,76 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4.1 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "/home/dm2/henry/OpenFOAM/OpenFOAM-1.4.1/tutorials/settlingFoam";
case "dahl";
instance "constant";
local "polyMesh";
class polyBoundaryMesh;
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
6
(
inlet
{
type patch;
physicalType inlet;
nFaces 40;
startFace 15760;
}
outlet
{
type patch;
physicalType outlet;
nFaces 4;
startFace 15800;
}
bottomWall
{
type patch;
physicalType wallFunctions;
nFaces 200;
startFace 15804;
}
endWall
{
type wall;
physicalType wallFunctions;
nFaces 36;
startFace 16004;
}
top
{
type symmetryPlane;
physicalType symmetryPlane;
nFaces 200;
startFace 16040;
}
frontAndBack
{
type empty;
physicalType empty;
nFaces 16000;
startFace 16240;
}
)
// ************************************************************************* //

View File

@ -1,62 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
muc muc [1 -1 -1 0 0 0 0] 0.00178;
plasticViscosityCoeff plasticViscosityCoeff [1 -1 -1 0 0 0 0] 0.00023143;
plasticViscosityExponent plasticViscosityExponent [0 0 0 0 0 0 0] 179.26;
BinghamPlastic on;
yieldStressCoeff yieldStressCoeff [1 -1 -2 0 0 0 0] 0.00042189;
yieldStressExponent yieldStressExponent [0 0 0 0 0 0 0] 1050.8;
yieldStressOffset yieldStressOffset [0 0 0 0 0 0 0] 0;
rhoc rhoc [1 -3 0 0 0 0 0] 996;
rhod rhod [1 -3 0 0 0 0 0] 1996;
VdjModel simple;
simpleCoeffs
{
V0 V0 [0 1 -1 0 0 0 0] (0 -0.002198 0);
a a [0 0 0 0 0 0 0] 285.84;
a1 a1 [0 0 0 0 0 0 0] 0;
alphaMin alphaMin [0 0 0 0 0 0 0] 0;
}
generalCoeffs
{
V0 V0 [0 1 -1 0 0 0 0] (0 -0.0018 0);
a a [0 0 0 0 0 0 0] 1e-05;
a1 a1 [0 0 0 0 0 0 0] 0.1;
alphaMin alphaMin [0 0 0 0 0 0 0] 2e-05;
}
// ************************************************************************* //

View File

@ -1,50 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
turbulenceModel kEpsilon;
turbulence on;
laminarCoeffs
{
}
kEpsilonCoeffs
{
Cmu Cmu [0 0 0 0 0 0 0] 0.09;
C1 C1 [0 0 0 0 0 0 0] 1.44;
C2 C2 [0 0 0 0 0 0 0] 1.92;
C3 C3 [0 0 0 0 0 0 0] 0.85;
alphak alphak [0 0 0 0 0 0 0] 1;
alphaEps alphaEps [0 0 0 0 0 0 0] 0.76923;
}
wallFunctionCoeffs
{
kappa kappa [0 0 0 0 0 0 0] 0.4187;
E E [0 0 0 0 0 0 0] 9;
}
// ************************************************************************* //

View File

@ -1,56 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application settlingFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 6400;
deltaT 0.2;
writeControl runTime;
writeInterval 20;
purgeWrite 0;
writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
// ************************************************************************* //

View File

@ -1,72 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default Euler;
}
gradSchemes
{
default Gauss linear;
}
divSchemes
{
default none;
div(phi,U) Gauss limitedLinearV 1;
div(phi,k) Gauss limitedLinear 1;
div(phi,epsilon) Gauss limitedLinear 1;
div(phiAlpha,Alpha) Gauss limitedLinear01 1;
div(phiVdj,Vdj) Gauss linear;
}
laplacianSchemes
{
default none;
laplacian(muEff,U) Gauss linear corrected;
laplacian((rho*(1|A(U))),p) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
laplacian(mut,Alpha) Gauss linear corrected;
}
interpolationSchemes
{
default linear;
}
snGradSchemes
{
default corrected;
}
fluxRequired
{
default no;
p;
}
// ************************************************************************* //

View File

@ -1,72 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
p PCG
{
preconditioner DIC;
tolerance 1e-07;
relTol 0;
};
U PBiCG
{
preconditioner DILU;
tolerance 1e-07;
relTol 0;
};
k PBiCG
{
preconditioner DILU;
tolerance 1e-07;
relTol 0;
};
epsilon PBiCG
{
preconditioner DILU;
tolerance 1e-07;
relTol 0;
};
rho PCG
{
preconditioner DIC;
tolerance 1e-07;
relTol 0;
};
Alpha PBiCG
{
preconditioner DILU;
tolerance 1e-07;
relTol 0;
};
}
PISO
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
}
// ************************************************************************* //

View File

@ -1,152 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
SYMP3
{
type symmetryPlane;
}
INLE1
{
type fixedValue;
value uniform (0.1315 0 0);
}
OUTL9
{
type fixedValue;
value uniform (0 0.0177 0);
}
OUTL10
{
type fixedValue;
value uniform (0 0.0177 0);
}
OUTL11
{
type fixedValue;
value uniform (0 0.0177 0);
}
OUTL12
{
type fixedValue;
value uniform (0 0.0177 0);
}
WALL6
{
type fixedValue;
value uniform (-0.003 0 0);
}
WALL8
{
type fixedValue;
value uniform (0 0 0);
}
WALL61
{
type fixedValue;
value uniform (0 0 0);
}
WALL62
{
type fixedValue;
value uniform (0 0 0);
}
WALL63
{
type fixedValue;
value uniform (0 0 0);
}
WALL64
{
type fixedValue;
value uniform (0 0 0);
}
WALL65
{
type fixedValue;
value uniform (0 0 0);
}
WALL66
{
type fixedValue;
value uniform (0 0 0);
}
WALL67
{
type fixedValue;
value uniform (0 0 0);
}
WALL68
{
type fixedValue;
value uniform (0 0 0);
}
WALL69
{
type fixedValue;
value uniform (0 0 0);
}
WALL7
{
type fixedValue;
value uniform (0 0 0);
}
WALL70
{
type fixedValue;
value uniform (0 0 0);
}
OUTL15
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -1,135 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object alpha;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0;
boundaryField
{
SYMP3
{
type symmetryPlane;
}
INLE1
{
type fixedValue;
value uniform 0.002;
}
OUTL9
{
type zeroGradient;
}
OUTL10
{
type zeroGradient;
}
OUTL11
{
type zeroGradient;
}
OUTL12
{
type zeroGradient;
}
WALL6
{
type zeroGradient;
}
WALL8
{
type zeroGradient;
}
WALL61
{
type zeroGradient;
}
WALL62
{
type zeroGradient;
}
WALL63
{
type zeroGradient;
}
WALL64
{
type zeroGradient;
}
WALL65
{
type zeroGradient;
}
WALL66
{
type zeroGradient;
}
WALL67
{
type zeroGradient;
}
WALL68
{
type zeroGradient;
}
WALL69
{
type zeroGradient;
}
WALL7
{
type zeroGradient;
}
WALL70
{
type zeroGradient;
}
OUTL15
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -1,135 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0];
internalField uniform 1.973e-07;
boundaryField
{
SYMP3
{
type symmetryPlane;
}
INLE1
{
type fixedValue;
value uniform 1.973e-07;
}
OUTL9
{
type zeroGradient;
}
OUTL10
{
type zeroGradient;
}
OUTL11
{
type zeroGradient;
}
OUTL12
{
type zeroGradient;
}
WALL6
{
type zeroGradient;
}
WALL8
{
type zeroGradient;
}
WALL61
{
type zeroGradient;
}
WALL62
{
type zeroGradient;
}
WALL63
{
type zeroGradient;
}
WALL64
{
type zeroGradient;
}
WALL65
{
type zeroGradient;
}
WALL66
{
type zeroGradient;
}
WALL67
{
type zeroGradient;
}
WALL68
{
type zeroGradient;
}
WALL69
{
type zeroGradient;
}
WALL7
{
type zeroGradient;
}
WALL70
{
type zeroGradient;
}
OUTL15
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -1,135 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0.000259;
boundaryField
{
SYMP3
{
type symmetryPlane;
}
INLE1
{
type fixedValue;
value uniform 0.000259;
}
OUTL9
{
type zeroGradient;
}
OUTL10
{
type zeroGradient;
}
OUTL11
{
type zeroGradient;
}
OUTL12
{
type zeroGradient;
}
WALL6
{
type zeroGradient;
}
WALL8
{
type zeroGradient;
}
WALL61
{
type zeroGradient;
}
WALL62
{
type zeroGradient;
}
WALL63
{
type zeroGradient;
}
WALL64
{
type zeroGradient;
}
WALL65
{
type zeroGradient;
}
WALL66
{
type zeroGradient;
}
WALL67
{
type zeroGradient;
}
WALL68
{
type zeroGradient;
}
WALL69
{
type zeroGradient;
}
WALL7
{
type zeroGradient;
}
WALL70
{
type zeroGradient;
}
OUTL15
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -1,135 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
SYMP3
{
type symmetryPlane;
}
INLE1
{
type zeroGradient;
}
OUTL9
{
type zeroGradient;
}
OUTL10
{
type zeroGradient;
}
OUTL11
{
type zeroGradient;
}
OUTL12
{
type zeroGradient;
}
WALL6
{
type zeroGradient;
}
WALL8
{
type zeroGradient;
}
WALL61
{
type zeroGradient;
}
WALL62
{
type zeroGradient;
}
WALL63
{
type zeroGradient;
}
WALL64
{
type zeroGradient;
}
WALL65
{
type zeroGradient;
}
WALL66
{
type zeroGradient;
}
WALL67
{
type zeroGradient;
}
WALL68
{
type zeroGradient;
}
WALL69
{
type zeroGradient;
}
WALL7
{
type zeroGradient;
}
WALL70
{
type zeroGradient;
}
OUTL15
{
type fixedValue;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -1,16 +0,0 @@
#!/bin/sh
# Get application name from directory
parentDir=`dirname $PWD`
application=`basename $parentDir`
# Find and source additional functions
tutorialPath=$PWD
while [ ! -f $tutorialPath/CleanFunctions ]
do
tutorialPath="$tutorialPath/.."
done
. $tutorialPath/CleanFunctions
cleanTimeDirectories

View File

@ -1,17 +0,0 @@
#!/bin/sh
# Get application name from directory
parentDir=`dirname $PWD`
application=`basename $parentDir`
# Find and source additional functions
tutorialPath=$PWD
while [ ! -f $tutorialPath/RunFunctions ]
do
tutorialPath="$tutorialPath/.."
done
. $tutorialPath/RunFunctions
runApplication $application

View File

@ -1,28 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object environmentalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
g g [0 1 -2 0 0 0 0] (0 -9.81 0);
// ************************************************************************* //

View File

@ -1,189 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class polyBoundaryMesh;
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
(
SYMP3
{
type symmetryPlane;
physicalType symmetryPlane;
startFace 53708;
nFaces 3191;
}
INLE1
{
type patch;
physicalType inlet;
startFace 56899;
nFaces 45;
}
OUTL9
{
type patch;
physicalType fixedVelocityOutlet;
startFace 56944;
nFaces 11;
}
OUTL10
{
type patch;
physicalType fixedVelocityOutlet;
startFace 56955;
nFaces 11;
}
OUTL11
{
type patch;
physicalType fixedVelocityOutlet;
startFace 56966;
nFaces 11;
}
OUTL12
{
type patch;
physicalType fixedVelocityOutlet;
startFace 56977;
nFaces 11;
}
WALL6
{
type wall;
physicalType wallFunctions;
startFace 56988;
nFaces 1474;
}
WALL8
{
type wall;
physicalType wallFunctions;
startFace 58462;
nFaces 1640;
}
WALL61
{
type wall;
physicalType wallFunctions;
startFace 60102;
nFaces 44;
}
WALL62
{
type wall;
physicalType wallFunctions;
startFace 60146;
nFaces 78;
}
WALL63
{
type wall;
physicalType wallFunctions;
startFace 60224;
nFaces 255;
}
WALL64
{
type wall;
physicalType wallFunctions;
startFace 60479;
nFaces 157;
}
WALL65
{
type wall;
physicalType wallFunctions;
startFace 60636;
nFaces 35;
}
WALL66
{
type wall;
physicalType wallFunctions;
startFace 60671;
nFaces 60;
}
WALL67
{
type wall;
physicalType wallFunctions;
startFace 60731;
nFaces 55;
}
WALL68
{
type wall;
physicalType wallFunctions;
startFace 60786;
nFaces 116;
}
WALL69
{
type wall;
physicalType wallFunctions;
startFace 60902;
nFaces 24;
}
WALL7
{
type wall;
physicalType wallFunctions;
startFace 60926;
nFaces 121;
}
WALL70
{
type wall;
physicalType wallFunctions;
startFace 61047;
nFaces 182;
}
OUTL15
{
type patch;
physicalType outlet;
startFace 61229;
nFaces 14;
}
)
// ************************************************************************* //

View File

@ -1,62 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
muc muc [1 -1 -1 0 0 0 0] 0.00178;
plasticViscosityCoeff plasticViscosityCoeff [1 -1 -1 0 0 0 0] 0.00023143;
plasticViscosityExponent plasticViscosityExponent [0 0 0 0 0 0 0] 0.17926;
BinghamPlastic on;
yieldStressCoeff yieldStressCoeff [1 -1 -2 0 0 0 0] 5.5469e-07;
yieldStressExponent yieldStressExponent [0 0 0 0 0 0 0] 95.25;
yieldStressOffset yieldStressOffset [0 0 0 0 0 0 0] 0;
rhoc rhoc [1 -3 0 0 0 0 0] 1000;
rhod rhod [1 -3 0 0 0 0 0] 1042;
VdjModel simple;
simpleCoeffs
{
V0 V0 [0 1 -1 0 0 0 0] (0 -0.002198 0);
a a [0 0 0 0 0 0 0] 8.84;
a1 a1 [0 0 0 0 0 0 0] 0;
alphaMin alphaMin [0 0 0 0 0 0 0] 0;
}
generalCoeffs
{
V0 V0 [0 1 -1 0 0 0 0] (0 -0.0018 0);
a a [0 0 0 0 0 0 0] 1e-05;
a1 a1 [0 0 0 0 0 0 0] 0.1;
alphaMin alphaMin [0 0 0 0 0 0 0] 2e-05;
}
// ************************************************************************* //

View File

@ -1,50 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
turbulenceModel kEpsilon;
turbulence on;
laminarCoeffs
{
}
kEpsilonCoeffs
{
Cmu Cmu [0 0 0 0 0 0 0] 0.09;
C1 C1 [0 0 0 0 0 0 0] 1.44;
C2 C2 [0 0 0 0 0 0 0] 1.92;
C3 C3 [0 0 0 0 0 0 0] 0.85;
alphak alphak [0 0 0 0 0 0 0] 1;
alphaEps alphaEps [0 0 0 0 0 0 0] 0.76923;
}
wallFunctionCoeffs
{
kappa kappa [0 0 0 0 0 0 0] 0.4187;
E E [0 0 0 0 0 0 0] 9;
}
// ************************************************************************* //

View File

@ -1,56 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application settlingFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 8000;
deltaT 0.1;
writeControl runTime;
writeInterval 50;
purgeWrite 0;
writeFormat ascii;
writePrecision 6;
writeCompression compressed;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
// ************************************************************************* //

View File

@ -1,72 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default Euler;
}
gradSchemes
{
default Gauss linear;
}
divSchemes
{
default none;
div(phi,U) Gauss limitedLinearV 1;
div(phi,k) Gauss limitedLinear 1;
div(phi,epsilon) Gauss limitedLinear 1;
div(phiAlpha,Alpha) Gauss limitedLinear01 1;
div(phiVdj,Vdj) Gauss linear;
}
laplacianSchemes
{
default none;
laplacian(muEff,U) Gauss linear corrected;
laplacian((rho*(1|A(U))),p) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
laplacian(mut,Alpha) Gauss linear corrected;
}
interpolationSchemes
{
default linear;
}
snGradSchemes
{
default corrected;
}
fluxRequired
{
default no;
p;
}
// ************************************************************************* //

View File

@ -1,72 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
p PCG
{
preconditioner DIC;
tolerance 1e-07;
relTol 0;
};
U PBiCG
{
preconditioner DILU;
tolerance 1e-07;
relTol 0;
};
k PBiCG
{
preconditioner DILU;
tolerance 1e-07;
relTol 0;
};
epsilon PBiCG
{
preconditioner DILU;
tolerance 1e-07;
relTol 0;
};
rho PCG
{
preconditioner DIC;
tolerance 1e-07;
relTol 0;
};
Alpha PBiCG
{
preconditioner DILU;
tolerance 1e-07;
relTol 0;
};
}
PISO
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
}
// ************************************************************************* //