Added four dsmc tutorials and run/clean scripts.

This commit is contained in:
graham
2009-06-18 14:52:31 +01:00
parent edcf49af67
commit eefaf72069
85 changed files with 3789 additions and 0 deletions

View File

@ -0,0 +1,88 @@
/*--------------------------------*- 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 dsmcProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// General Properties
// ~~~~~~~~~~~~~~~~~~
nEquivalentParticles 1.2e12;
// Wall Interaction Model
// ~~~~~~~~~~~~~~~~~~~~~~
//WallInteractionModel SpecularReflection;
WallInteractionModel MaxwellianThermal;
SpecularReflectionCoeffs {}
MaxwellianThermalCoeffs {}
// Binary Collision Model
// ~~~~~~~~~~~~~~~~~~~~~~
//BinaryCollisionModel VariableHardSphere;
BinaryCollisionModel LarsenBorgnakkeVariableHardSphere;
VariableHardSphereCoeffs
{
Tref 273;
}
LarsenBorgnakkeVariableHardSphereCoeffs
{
Tref 273;
relaxationCollisionNumber 5.0;
}
// Inflow Boundary Model
// ~~~~~~~~~~~~~~~~~~~~~
InflowBoundaryModel FreeStream;
//InflowBoundaryModel NoInflow;
NoInflowCoeffs {}
FreeStreamCoeffs
{
numberDensities
{
Ar 1.0e20;
};
}
// Molecular species
// ~~~~~~~~~~~~~~~~~
typeIdList (Ar);
moleculeProperties
{
Ar
{
mass 66.3e-27;
diameter 4.17e-10;
internalDegreesOfFreedom 0;
viscosityCoefficient 2.117e-5;
omega 0.81;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,83 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.3 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 0.01;
vertices
(
(0 0 0)
(5 0 0)
(5 18 0)
(0 18 0)
(0 0 18)
(5 0 18)
(5 18 18)
(0 18 18)
(30 0 0)
(30 18 0)
(30 0 18)
(30 18 18)
);
blocks
(
hex (0 1 2 3 4 5 6 7) (10 36 36) simpleGrading (1 1 1)
hex (1 8 9 2 5 10 11 6) (50 36 36) simpleGrading (1 1 1)
);
patches
(
patch
flow
(
(8 9 11 10)
(0 4 7 3)
(2 3 7 6)
(2 6 11 9)
(4 5 6 7)
(5 10 11 6)
)
symmetryPlane
entrance
(
(0 1 5 4)
(0 3 2 1)
)
wall
walls
(
(1 8 10 5)
(1 2 9 8)
)
)
mergePatchPairs
(
);
// ************************************************************************* //

View File

@ -0,0 +1,40 @@
/*--------------------------------*- 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 polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
3
(
flow
{
type patch;
nFaces 6912;
startFace 227664;
}
entrance
{
type symmetryPlane;
nFaces 720;
startFace 234576;
}
walls
{
type wall;
nFaces 3600;
startFace 235296;
}
)
// ************************************************************************* //