engineFoam tutorial update

This commit is contained in:
andy
2009-07-21 19:33:44 +01:00
parent 140574889a
commit 14e6cfdba2
5 changed files with 29 additions and 7 deletions

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev | | \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -23,17 +23,20 @@ boundaryField
{ {
piston piston
{ {
type alphatWallFunction; type compressible::alphatWallFunction;
Prt 0.85;
value uniform 0; value uniform 0;
} }
liner liner
{ {
type alphatWallFunction; type compressible::alphatWallFunction;
Prt 0.85;
value uniform 0; value uniform 0;
} }
cylinderHead cylinderHead
{ {
type alphatWallFunction; type compressible::alphatWallFunction;
Prt 0.85;
value uniform 0; value uniform 0;
} }
} }

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev | | \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -24,16 +24,25 @@ boundaryField
piston piston
{ {
type compressible::epsilonWallFunction; type compressible::epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 450; value uniform 450;
} }
liner liner
{ {
type compressible::epsilonWallFunction; type compressible::epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 450; value uniform 450;
} }
cylinderHead cylinderHead
{ {
type compressible::epsilonWallFunction; type compressible::epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 450; value uniform 450;
} }
} }

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev | | \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev | | \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -24,16 +24,25 @@ boundaryField
piston piston
{ {
type mutWallFunction; type mutWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0; value uniform 0;
} }
liner liner
{ {
type mutWallFunction; type mutWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0; value uniform 0;
} }
cylinderHead cylinderHead
{ {
type mutWallFunction; type mutWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0; value uniform 0;
} }
} }

View File

@ -58,6 +58,7 @@ laplacianSchemes
laplacian(muEff,ft) Gauss linear limited 0.5; laplacian(muEff,ft) Gauss linear limited 0.5;
laplacian(alphaEff,h) Gauss linear limited 0.5; laplacian(alphaEff,h) Gauss linear limited 0.5;
laplacian(alphaEff,hu) Gauss linear limited 0.5; laplacian(alphaEff,hu) Gauss linear limited 0.5;
laplacian(alphaEff,ft) Gauss linear limited 0.5;
} }
interpolationSchemes interpolationSchemes