Skip to content
Snippets Groups Projects
Commit ef874be0 authored by Andrew Heather's avatar Andrew Heather
Browse files

updates

parent ab4d2e0f
No related branches found
No related tags found
No related merge requests found
Showing
with 642 additions and 54 deletions
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType LESModel;
// ************************************************************************* //
...@@ -43,6 +43,10 @@ timePrecision 6; ...@@ -43,6 +43,10 @@ timePrecision 6;
runTimeModifiable yes; runTimeModifiable yes;
adjustTimeStep yes;
maxCo 0.5;
functions functions
( (
fieldAverage1 fieldAverage1
......
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType LESModel;
// ************************************************************************* //
...@@ -43,6 +43,10 @@ timePrecision 6; ...@@ -43,6 +43,10 @@ timePrecision 6;
runTimeModifiable yes; runTimeModifiable yes;
adjustTimeStep yes;
maxCo 0.5;
functions functions
( (
fieldAverage1 fieldAverage1
......
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RASModel;
// ************************************************************************* //
/*--------------------------------*- 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 "-180";
object alphat;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
piston
{
type alphatWallFunction;
value uniform 0;
}
liner
{
type alphatWallFunction;
value uniform 0;
}
cylinderHead
{
type alphatWallFunction;
value uniform 0;
}
}
// ************************************************************************* //
/*--------------------------------*- 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 "-180";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0];
internalField uniform 450;
boundaryField
{
piston
{
type epsilonWallFunction;
value uniform 450;
}
liner
{
type epsilonWallFunction;
value uniform 450;
}
cylinderHead
{
type epsilonWallFunction;
value uniform 450;
}
}
// ************************************************************************* //
File deleted
/*--------------------------------*- 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 "-180";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 4;
boundaryField
{
piston
{
type kQRWallFunction;
value uniform 4;
}
liner
{
type kQRWallFunction;
value uniform 4;
}
cylinderHead
{
type kQRWallFunction;
value uniform 4;
}
}
// ************************************************************************* //
File deleted
/*--------------------------------*- 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 "-180";
object mut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
piston
{
type mutWallFunction;
value uniform 0;
}
liner
{
type mutWallFunction;
value uniform 0;
}
cylinderHead
{
type mutWallFunction;
value uniform 0;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RASModel;
// ************************************************************************* //
/*--------------------------------*- 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 alphat;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
front
{
type alphatWallFunction;
value uniform 0;
}
back
{
type alphatWallFunction;
value uniform 0;
}
wall
{
type alphatWallFunction;
value uniform 0;
}
porosityWall
{
type alphatWallFunction;
value uniform 0;
}
inlet
{
type calculated;
value uniform 0;
}
outlet
{
type calculated;
value uniform 0;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 | | \\ / O peration | Version: dev |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
...@@ -10,46 +10,50 @@ FoamFile ...@@ -10,46 +10,50 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object epsilon; object epsilon;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0]; dimensions [0 2 -3 0 0 0 0];
internalField uniform 200; internalField uniform 200;
boundaryField boundaryField
{ {
front front
{ {
type zeroGradient; type epsilonWallFunction;
value uniform 200;
} }
back back
{ {
type zeroGradient; type epsilonWallFunction;
value uniform 200;
} }
wall wall
{ {
type zeroGradient; type epsilonWallFunction;
value uniform 200;
} }
porosityWall porosityWall
{ {
type zeroGradient; type epsilonWallFunction;
value uniform 200;
} }
inlet inlet
{ {
type turbulentMixingLengthDissipationRateInlet; type turbulentMixingLengthDissipationRateInlet;
mixingLength 0.005; mixingLength 0.005;
value $internalField; value uniform 200;
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue $internalField; inletValue uniform 200;
value $internalField; value uniform 200;
} }
} }
// ************************************************************************* // // ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 | | \\ / O peration | Version: dev |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
...@@ -10,46 +10,50 @@ FoamFile ...@@ -10,46 +10,50 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object k; object k;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0]; dimensions [0 2 -2 0 0 0 0];
internalField uniform 1; internalField uniform 1;
boundaryField boundaryField
{ {
front front
{ {
type zeroGradient; type kQRWallFunction;
value uniform 1;
} }
back back
{ {
type zeroGradient; type kQRWallFunction;
value uniform 1;
} }
wall wall
{ {
type zeroGradient; type kQRWallFunction;
value uniform 1;
} }
porosityWall porosityWall
{ {
type zeroGradient; type kQRWallFunction;
value uniform 1;
} }
inlet inlet
{ {
type turbulentIntensityKineticEnergyInlet; type turbulentIntensityKineticEnergyInlet;
intensity 0.05; intensity 0.05;
value $internalField; value uniform 1;
} }
outlet outlet
{ {
type inletOutlet; type inletOutlet;
inletValue $internalField; inletValue uniform 1;
value $internalField; 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 ascii;
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++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 | | \\ / O peration | Version: dev |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
...@@ -10,6 +10,7 @@ FoamFile ...@@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object epsilon; object epsilon;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...@@ -20,25 +21,26 @@ internalField uniform 1e-08; ...@@ -20,25 +21,26 @@ internalField uniform 1e-08;
boundaryField boundaryField
{ {
lowerWall lowerWall
{ {
type zeroGradient; type epsilonWallFunction;
value uniform 1e-08;
} }
upperWall
upperWall
{ {
type zeroGradient; type epsilonWallFunction;
value uniform 1e-08;
} }
frontBack frontBack
{ {
type cyclic; type cyclic;
value uniform 1e-08;
} }
defaultFaces
defaultFaces
{ {
type empty; type empty;
} }
} }
// ************************************************************************* // // ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 | | \\ / O peration | Version: dev |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
...@@ -10,6 +10,7 @@ FoamFile ...@@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0";
object k; object k;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...@@ -20,25 +21,190 @@ internalField uniform 1e-10; ...@@ -20,25 +21,190 @@ internalField uniform 1e-10;
boundaryField boundaryField
{ {
lowerWall lowerWall
{ {
type zeroGradient; type kQRWallFunction;
value uniform 1e-10;
} }
upperWall
upperWall
{ {
type zeroGradient; type kQRWallFunction;
value uniform 1e-10;
} }
frontBack frontBack
{ {
type cyclic; 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
defaultFaces
{ {
type empty; 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 nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
lowerWall
{
type nutWallFunction;
value uniform 0;
}
upperWall
{
type nutWallFunction;
value uniform 0;
}
frontBack
{
type cyclic;
value uniform 0;
}
defaultFaces
{
type empty;
}
}
// ************************************************************************* //
/fixedWalls/,/}/{
/fixedWalls/p
/{/p
/type fixedValue;/p
s/value[ \t]*nonuniform[ \t]*List<vector>[ \t]*/value uniform (0 0 0);/p
/}/p
d
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment