mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Renamed for consistency with other tutorials.
This commit is contained in:
@ -0,0 +1,87 @@
|
||||
/*--------------------------------*- 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 1e12;
|
||||
|
||||
|
||||
// Wall Interaction Model
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
WallInteractionModel MaxwellianThermal;
|
||||
|
||||
MaxwellianThermalCoeffs {}
|
||||
|
||||
|
||||
// Binary Collision Model
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
BinaryCollisionModel LarsenBorgnakkeVariableHardSphere;
|
||||
|
||||
LarsenBorgnakkeVariableHardSphereCoeffs
|
||||
{
|
||||
Tref 273;
|
||||
relaxationCollisionNumber 5.0;
|
||||
}
|
||||
|
||||
|
||||
// Inflow Boundary Model
|
||||
// ~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
InflowBoundaryModel FreeStream;
|
||||
|
||||
FreeStreamCoeffs
|
||||
{
|
||||
numberDensities
|
||||
{
|
||||
N2 0.777e20;
|
||||
O2 0.223e20;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
// Molecular species
|
||||
// ~~~~~~~~~~~~~~~~~
|
||||
|
||||
typeIdList (N2 O2);
|
||||
|
||||
moleculeProperties
|
||||
{
|
||||
N2
|
||||
{
|
||||
mass 46.5e-27;
|
||||
diameter 4.17e-10;
|
||||
internalDegreesOfFreedom 2;
|
||||
viscosityCoefficient 1.656e-5;
|
||||
omega 0.74;
|
||||
}
|
||||
|
||||
O2
|
||||
{
|
||||
mass 53.12e-27;
|
||||
diameter 4.07e-10;
|
||||
internalDegreesOfFreedom 2;
|
||||
viscosityCoefficient 1.919e-5;
|
||||
omega 0.77;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,73 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / 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
|
||||
(
|
||||
(-5 -4 -4)
|
||||
(5 -4 -4)
|
||||
(5 4 -4)
|
||||
(-5 4 -4)
|
||||
(-5 -4 4)
|
||||
(5 -4 4)
|
||||
(5 4 4)
|
||||
(-5 4 4)
|
||||
);
|
||||
|
||||
blocks
|
||||
(
|
||||
hex (0 1 2 3 4 5 6 7) (20 16 16) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
patches
|
||||
(
|
||||
patch
|
||||
outlet
|
||||
(
|
||||
(1 2 6 5)
|
||||
)
|
||||
|
||||
patch
|
||||
inlet
|
||||
(
|
||||
(0 4 7 3)
|
||||
)
|
||||
|
||||
patch
|
||||
sides
|
||||
(
|
||||
(2 3 7 6)
|
||||
(0 1 5 4)
|
||||
(4 5 6 7)
|
||||
(0 3 2 1)
|
||||
)
|
||||
)
|
||||
|
||||
mergePatchPairs
|
||||
(
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -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
|
||||
(
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 256;
|
||||
startFace 14464;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 256;
|
||||
startFace 14720;
|
||||
}
|
||||
sides
|
||||
{
|
||||
type patch;
|
||||
nFaces 1280;
|
||||
startFace 14976;
|
||||
}
|
||||
)
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user