☰
Boundary conditions
1) Generalities
Boundary conditions are defined in
dsmcGeneralBoundaries
(
[...]
);
dsmcPatchBoundaries
(
[...]
);
dsmcCyclicBoundaries
(
[...]
);
2) Inflow & Outflow boundary conditions
Inflow & Outflow boundary conditions are set in the dsmcGeneralBoundaries()
list.
2.1 Supersonic inflow
The supersonic inflow model is named
dsmcGeneralBoundaries
(
boundary
{
boundaryModel dsmcFreeStreamInflowPatch;
generalBoundaryProperties
{
patchName inlet;
}
dsmcFreeStreamInflowPatchProperties
{
typeIds (N2 O2);
velocity (6053.4 0 0);
translationalTemperature 217.63;
rotationalTemperature 217.63;
vibrationalTemperature 217.63;
electronicTemperature 0;
numberDensities
{
N2 2.318e18;
O2 6.161e17;
};
}
}
);
In
2.2 Vacuum outlet
The vacuum outlet boundary condition implementation is shown below. The boundary model is called
dsmcPatchBoundaries
(
boundary
{
boundaryModel dsmcDeletionPatch;
patchBoundaryProperties
{
patchName inlet;
}
dsmcDeletionPatchProperties
{
allSpecies yes;
}
}
boundary
{
boundaryModel dsmcDeletionPatch;
patchBoundaryProperties
{
patchName outlet;
}
dsmcDeletionPatchProperties
{
allSpecies yes;
}
}
);
3) Wall boundary conditions
Wall boundary conditions are set in the dsmcPatchBoundaries()
list.
3.1 Specular wall
The boundary model for specular walls is
dsmcPatchBoundaries
(
boundary
{
boundaryModel dsmcSpecularWallPatch;
patchBoundaryProperties
{
patchName plate;
}
}
);
3.2 Diffuse wall
The boundary model for diffuse walls is
dsmcPatchBoundaries
(
boundary
{
boundaryModel dsmcDiffuseWallPatch;
patchBoundaryProperties
{
patchName cylinder;
}
dsmcDiffuseWallPatchProperties
{
velocity (0 0 0);
temperature 1000;
}
}
);
3.3 Diffuse-Specular wall
The boundary model for mixed diffuse-specular wall interactions is
dsmcPatchBoundaries
(
boundary
{
boundaryModel dsmcDiffuseSpecularWallPatch;
patchBoundaryProperties
{
patchName cone;
}
dsmcDiffuseWallPatchProperties
{
velocity (0 0 0);
temperature 1000;
}
dsmcSpecularWallPatchProperties {}
dsmcDiffuseSpecularWallPatchProperties
{
diffuseFraction 0.5;
}
}
);
4) Cyclic boundary conditions
Cyclic boundary conditions are set in the dsmcCyclicBoundaries()
list.
They are defined using the
dsmcCyclicBoundaries
(
boundary
{
boundaryModel dsmcReflectiveParticleMembranePatch;
cyclicBoundaryProperties
{
patchName leftPatch;
}
dsmcReflectiveParticleMembranePatchProperties
{
typeIds (Ar);
reflectionProbabilities
{
Ar 0;
}
}
}
boundary
{
boundaryModel dsmcReflectiveParticleMembranePatch;
cyclicBoundaryProperties
{
patchName rightPatch;
}
dsmcReflectiveParticleMembranePatchProperties
{
typeIds (Ar);
reflectionProbabilities
{
Ar 0;
}
}
}
);