This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/constant/dsmcProperties
2018-06-01 18:11:37 +02:00

82 lines
2.1 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.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;
}
}
// ************************************************************************* //