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
2013-12-12 00:41:18 +01:00

81 lines
2.1 KiB
C++

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