Merge commit 'OpenCFD/master' into olesenm

This commit is contained in:
Mark Olesen
2009-02-25 10:50:26 +01:00
309 changed files with 3211 additions and 899 deletions

View File

@ -1,8 +1,8 @@
/*--------------------------------*- 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,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 20;
@ -22,12 +23,14 @@ boundaryField
{
rotor
{
type zeroGradient;
type epsilonWallFunction;
value uniform 0;
}
stator
{
type zeroGradient;
type epsilonWallFunction;
value uniform 0;
}
front
@ -41,4 +44,5 @@ boundaryField
}
}
// ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- 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,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;
@ -22,12 +23,14 @@ boundaryField
{
rotor
{
type zeroGradient;
type kQRWallFunction;
value uniform 0;
}
stator
{
type zeroGradient;
type kQRWallFunction;
value uniform 0;
}
front
@ -41,4 +44,5 @@ boundaryField
}
}
// ************************************************************************* //

View File

@ -0,0 +1,48 @@
/*--------------------------------*- 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 nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -1 0 0 0 0 ];
internalField uniform 0;
boundaryField
{
rotor
{
type nutWallFunction;
value uniform 0;
}
stator
{
type nutWallFunction;
value uniform 0;
}
front
{
type empty;
}
back
{
type empty;
}
}
// ************************************************************************* //

View File

@ -3,8 +3,7 @@
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application directory
parentDir=`dirname $PWD`
application=`basename $parentDir`
application="channelFoam"
runApplication blockMesh
runApplication $application

View File

@ -15,10 +15,14 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Seed patches to start layering from
patches ( bottomWall );
// Direction in which the layers are
component y;
// Is the mesh symmetric? If so average(symmetric fields) or
// subtract(asymmetric) contributions from both halves
symmetric true;

View File

@ -70,5 +70,4 @@ functions
}
}
// ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- 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,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 1;
@ -23,7 +24,7 @@ boundaryField
inlet
{
type turbulentMixingLengthDissipationRateInlet;
mixingLength 0.01; // 1cm - half channel height
mixingLength 0.01;
value uniform 1;
}
@ -41,7 +42,8 @@ boundaryField
defaultFaces
{
type zeroGradient;
type epsilonWallFunction;
value uniform 0;
}
}

View File

@ -1,8 +1,8 @@
/*--------------------------------*- 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,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;
@ -23,7 +24,7 @@ boundaryField
inlet
{
type turbulentIntensityKineticEnergyInlet;
intensity 0.05; // 5% turbulence
intensity 0.05;
value uniform 1;
}
@ -41,8 +42,10 @@ boundaryField
defaultFaces
{
type zeroGradient;
type kQRWallFunction;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,50 @@
/*--------------------------------*- 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 nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -1 0 0 0 0 ];
internalField uniform 0;
boundaryField
{
inlet
{
type calculated;
value uniform 0;
}
outlet1
{
type calculated;
value uniform 0;
}
outlet2
{
type calculated;
value uniform 0;
}
defaultFaces
{
type nutWallFunction;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -20,17 +20,17 @@ internalField uniform (0 0 0 0 0 0);
boundaryField
{
movingWall
movingWall
{
type zeroGradient;
type kQRWallFunction;
}
fixedWalls
fixedWalls
{
type zeroGradient;
type kQRWallFunction;
}
frontAndBack
frontAndBack
{
type empty;
}

View File

@ -20,28 +20,28 @@ internalField uniform (0 0 0 0 0 0);
boundaryField
{
inlet
inlet
{
type fixedValue;
value uniform (0 0 0 0 0 0);
}
outlet
outlet
{
type zeroGradient;
}
upperWall
upperWall
{
type zeroGradient;
type kQRWallFunction;
}
lowerWall
lowerWall
{
type zeroGradient;
type kQRWallFunction;
}
frontAndBack
frontAndBack
{
type empty;
}

View File

@ -20,28 +20,28 @@ internalField uniform (0 0 0 0 0 0);
boundaryField
{
inlet
inlet
{
type fixedValue;
value uniform (0 0 0 0 0 0);
}
outlet
outlet
{
type zeroGradient;
}
upperWall
upperWall
{
type zeroGradient;
type kQRWallFunction;
}
lowerWall
lowerWall
{
type zeroGradient;
type kQRWallFunction;
}
frontAndBack
frontAndBack
{
type empty;
}