Coordinate system

The default coordinate system is Cartesian. For axisymmetric simulations, the coordinateSystem entry can be set in the constant/dsmcProperties dictionary as follows

// General Properties
// ~~~~~~~~~~~~~~~~~~

coordinateSystem   dsmcAxisymmetric;

axisymmetricProperties
{
    maxRadialWeightingFactor    1000;
}

Cell-based radial weighting factors (RWFs) are employed and the maximum RWF obtained for \(r = r_{max}\) can be set with axisymmetricProperties/maxRadialWeightingFactor.

Should the revolution axis not be aligned with the \(x\)-axis and the polar axis not be aligned with the \(y\)-axis, two additional entries can be set in axisymmetricProperties to accommodate this

axisymmetricProperties
{
    revolutionAxis  "x";
    polarAxis       "y";
}