mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
Update tutorial to OF4x
This commit is contained in:
@ -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;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -87,7 +87,7 @@ momCoupleModels
|
|||||||
implicitCouple
|
implicitCouple
|
||||||
);
|
);
|
||||||
|
|
||||||
turbulenceModelType "RASProperties";//"LESProperties";//
|
turbulenceModelType "turbulenceProperties";//"LESProperties";//
|
||||||
|
|
||||||
//===========================================================================//
|
//===========================================================================//
|
||||||
// sub-model properties
|
// sub-model properties
|
||||||
|
|||||||
@ -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;
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -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;
|
||||||
|
} */
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -53,7 +53,7 @@ maxDeltaT 0.1;
|
|||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
libs (
|
/* libs (
|
||||||
"libsimpleFunctionObjects.so"
|
"libsimpleFunctionObjects.so"
|
||||||
"libfieldFunctionObjects.so"
|
"libfieldFunctionObjects.so"
|
||||||
);
|
);
|
||||||
@ -142,7 +142,7 @@ functions
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
} */
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|
||||||
|
|||||||
@ -37,9 +37,10 @@ divSchemes
|
|||||||
div(phi,epsilon) Gauss upwind;
|
div(phi,epsilon) Gauss upwind;
|
||||||
div(U) Gauss linear;
|
div(U) Gauss linear;
|
||||||
div(phi,Yi_h) Gauss upwind;
|
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((viscousTerm*dev2(grad(U).T()))) Gauss linear;
|
||||||
div((thermo:mu*dev(grad(U).T()))) Gauss linear;
|
div((thermo:mu*dev(grad(U).T()))) Gauss linear;
|
||||||
|
div((nuEff*dev2(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|||||||
Reference in New Issue
Block a user