Update tutorial to OF4x

This commit is contained in:
ekinaci
2017-02-06 09:32:54 +01:00
parent c69faa5e98
commit c334ef1f7f
6 changed files with 27 additions and 84 deletions

View File

@ -1,24 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object RASProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
RASModel laminar; //kEpsilon;
turbulence off; //on;
printCoeffs no; //yes;
// ************************************************************************* //

View File

@ -87,7 +87,7 @@ momCoupleModels
implicitCouple
);
turbulenceModelType "RASProperties";//"LESProperties";//
turbulenceModelType "turbulenceProperties";//"LESProperties";//
//===========================================================================//
// sub-model properties

View File

@ -1,55 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
5
(
top
{
type wall;
inGroups 1(wall);
nFaces 52;
startFace 504;
}
bottom
{
type wall;
inGroups 1(wall);
nFaces 52;
startFace 556;
}
side-walls
{
type wall;
inGroups 1(wall);
nFaces 104;
startFace 608;
}
inlet
{
type patch;
nFaces 16;
startFace 712;
}
outlet
{
type patch;
nFaces 16;
startFace 728;
}
)
// ************************************************************************* //

View File

@ -15,7 +15,28 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RASModel;
simulationType laminar;
/*laminar
{
RASModel laminar;
turbulence off;
printCoeffs off;
} */
/*
* simulationType RAS;
RAS
{
RASModel kOmegaSST;
turbulence on;
printCoeffs on;
} */
// ************************************************************************* //

View File

@ -53,7 +53,7 @@ maxDeltaT 0.1;
// ************************************************************************* //
libs (
/* libs (
"libsimpleFunctionObjects.so"
"libfieldFunctionObjects.so"
);
@ -142,7 +142,7 @@ functions
}
}
} */
// ************************************************************************* //

View File

@ -37,9 +37,10 @@ divSchemes
div(phi,epsilon) Gauss upwind;
div(U) Gauss linear;
div(phi,Yi_h) Gauss upwind;
div((muEff*dev2(T(grad(U))))) Gauss linear;
// div((muEff*dev2(T(grad(U))))) Gauss linear;
div((viscousTerm*dev2(grad(U).T()))) Gauss linear;
div((thermo:mu*dev(grad(U).T()))) Gauss linear;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
laplacianSchemes