mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Tried to sort out the scripts in the tutorials but found it is messed up. Will start again from a new version from Mattijs
This commit is contained in:
@ -1,29 +0,0 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
|
||||
root "";
|
||||
case "";
|
||||
instance "";
|
||||
local "";
|
||||
|
||||
note "environmentalProperties for Foam";
|
||||
|
||||
class dictionary;
|
||||
object environmentalProperties;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
g g [0 1 -2 0 0] (0 -9.81 0);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,36 +0,0 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
|
||||
root "";
|
||||
case "";
|
||||
instance "";
|
||||
local "";
|
||||
|
||||
note "filterProperties for Foam";
|
||||
|
||||
class dictionary;
|
||||
object filterProperties;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
filter off;
|
||||
|
||||
// filterNormal has to be in the direction of trapped particles
|
||||
filterNormal (0 0 1);
|
||||
|
||||
filterPosition filterPosition [0 1 0 0 0] (0 0 0.02);
|
||||
|
||||
filterThickness filterThickness [0 1 0 0 0] 1.0e-6;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,30 +0,0 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
|
||||
root "";
|
||||
case "";
|
||||
instance "";
|
||||
local "";
|
||||
|
||||
class dictionary;
|
||||
object interfacialProperties;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dragModela GidaspowErgunWenYu;
|
||||
dragModelb GidaspowErgunWenYu;
|
||||
|
||||
dragPhase a;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,60 +0,0 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
|
||||
root "";
|
||||
case "";
|
||||
instance "";
|
||||
local "";
|
||||
|
||||
note "kineticTheoryProperties for Foam";
|
||||
|
||||
class dictionary;
|
||||
object kineticTheoryProperties;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
kineticTheory on;
|
||||
|
||||
equilibrium on;
|
||||
|
||||
e e [ 0 0 0 0 0 0 0 ] 0.8 ;
|
||||
|
||||
alphaMax alphaMax [ 0 0 0 0 0 0 0 ] 0.62 ;
|
||||
|
||||
alphaMinFriction alphaMinFriction [ 0 0 0 0 0 0 0 ] 0.65 ;
|
||||
|
||||
Fr Fr [ 1 -1 -2 0 0 0 0 ] 0.05 ;
|
||||
|
||||
eta eta [ 0 0 0 0 0 0 0 ] 2.0 ;
|
||||
|
||||
p p [ 0 0 0 0 0 0 0 ] 5.0 ;
|
||||
|
||||
phi phi [ 0 0 0 0 0 0 0 ] 0.0 ;
|
||||
|
||||
viscosityModel Gidaspow;
|
||||
|
||||
conductivityModel Gidaspow;
|
||||
|
||||
granularPressureModel Lun;
|
||||
|
||||
frictionalStressModel JohnsonJackson;
|
||||
|
||||
radialModel Gidaspow;
|
||||
|
||||
HrenyaSinclairCoeffs
|
||||
{
|
||||
L L [ 0 1 0 0 0 0 0 ] 5.0e-4 ;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,74 +0,0 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
|
||||
root "";
|
||||
case "";
|
||||
instance "";
|
||||
local "";
|
||||
|
||||
class dictionary;
|
||||
object blockMeshDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
convertToMeters 1;
|
||||
|
||||
vertices
|
||||
(
|
||||
(0 0 -0.01)
|
||||
(0.15 0 -0.01)
|
||||
(0.15 1 -0.01)
|
||||
(0 1 -0.01)
|
||||
(0 0 0.01)
|
||||
(0.15 0 0.01)
|
||||
(0.15 1 0.01)
|
||||
(0 1 0.01)
|
||||
);
|
||||
|
||||
blocks
|
||||
(
|
||||
hex (0 1 2 3 4 5 6 7) (30 200 1) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
(
|
||||
patch inlet
|
||||
(
|
||||
(1 5 4 0)
|
||||
)
|
||||
patch outlet
|
||||
(
|
||||
(3 7 6 2)
|
||||
)
|
||||
wall walls
|
||||
(
|
||||
(0 4 7 3)
|
||||
(2 6 5 1)
|
||||
)
|
||||
empty frontAndBackPlanes
|
||||
(
|
||||
(0 3 2 1)
|
||||
(4 5 6 7)
|
||||
)
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
(
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,56 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4.1 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
|
||||
root "/home/dm2/henry/OpenFOAM/OpenFOAM-1.4.1/tutorials/twoPhaseEulerFoam";
|
||||
case "bed2";
|
||||
instance "constant";
|
||||
local "polyMesh";
|
||||
|
||||
class polyBoundaryMesh;
|
||||
object boundary;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
4
|
||||
(
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 30;
|
||||
startFace 11770;
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 30;
|
||||
startFace 11800;
|
||||
}
|
||||
|
||||
walls
|
||||
{
|
||||
type wall;
|
||||
nFaces 400;
|
||||
startFace 11830;
|
||||
}
|
||||
|
||||
frontAndBackPlanes
|
||||
{
|
||||
type empty;
|
||||
nFaces 12000;
|
||||
startFace 12230;
|
||||
}
|
||||
)
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,37 +0,0 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
|
||||
root "";
|
||||
case "";
|
||||
instance "";
|
||||
local "";
|
||||
|
||||
note "particle-particle interaction Properties for Foam";
|
||||
|
||||
class dictionary;
|
||||
object ppProperties;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
preAlphaExp 500;
|
||||
|
||||
expMax 1.0e+3;
|
||||
|
||||
alphaMax 0.62;
|
||||
|
||||
g0 g0 [ 1 -1 -2 0 0 0 0 ] 0 ;
|
||||
|
||||
packingLimiter no;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,53 +0,0 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
|
||||
root "";
|
||||
case "";
|
||||
instance "";
|
||||
local "";
|
||||
|
||||
note "transportProperties for Foam";
|
||||
|
||||
class dictionary;
|
||||
object transportProperties;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// a is the discrete phase and
|
||||
// b is the continuous phase
|
||||
|
||||
// sand
|
||||
phasea
|
||||
{
|
||||
rho rho [1 -3 0 0 0] 2500;
|
||||
nu nu [0 2 -1 0 0] 1.0e-6;
|
||||
d d [0 1 0 0 0 0 0] 300.0e-6;
|
||||
}
|
||||
|
||||
// air
|
||||
phaseb
|
||||
{
|
||||
rho rho [1 -3 0 0 0] 1.2;
|
||||
nu nu [0 2 -1 0 0] 1.5e-5;
|
||||
d d [0 1 0 0 0 0 0] 1.0;
|
||||
}
|
||||
|
||||
|
||||
Cvm Cvm [0 0 0 0 0] 0.0;
|
||||
Cl Cl [0 0 0 0 0] 0.0;
|
||||
Ct Ct [0 0 0 0 0] 0.0;
|
||||
alphaAlpha alphaAlpha [0 0 0 0 0] 0.0;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,56 +0,0 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
|
||||
root "";
|
||||
case "";
|
||||
instance "";
|
||||
local "";
|
||||
|
||||
note "turbulenceProperties for Foam";
|
||||
|
||||
class dictionary;
|
||||
object turbulenceProperties;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// Switch turbulence model on or off
|
||||
|
||||
turbulence off;
|
||||
|
||||
|
||||
// Standard k-epsilon model coefficients
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
kEpsilonCoeffs
|
||||
{
|
||||
Cmu Cmu [0 0 0 0 0 0 0] 0.09;
|
||||
C1 C1 [0 0 0 0 0 0 0] 1.44;
|
||||
C2 C2 [0 0 0 0 0 0 0] 1.92;
|
||||
C3 C3 [0 0 0 0 0 0 0] -0.375;
|
||||
|
||||
alphak alphak [0 0 0 0 0 0 0] 1.0;
|
||||
alphaEps alphaEps [0 0 0 0 0 0 0] 0.82142;
|
||||
}
|
||||
|
||||
|
||||
// Wall function coefficients
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
wallFunctionCoeffs
|
||||
{
|
||||
kappa kappa [0 0 0 0 0 0 0] 0.4187;
|
||||
E E [0 0 0 0 0 0 0] 9.0;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user