To use cylindrical coordinates, set coordinateSystem = Cylindrical
in the Grid block. In the case of a cylindrical grid, expressions that
normally call for x, y coordinates (see ParticleSource
blocks, STFunc
blocks, etc.) instead
refer to z, r respectively, however you should still use x and y
in the actual expressions.
# The cylindrical grid
<Grid globalGrid>
kind=coordProdGrid
coordinateSystem=Cylindrical
includeCylAxis=1
<CoordinateGrid dir0>
sectionBreaks=[ZBGN ZEND]
deltaAtBreaks=[DZ DZ]
</CoordinateGrid>
<CoordinateGrid dir1>
sectionBreaks=[RBGN REND]
deltaAtBreaks=[DR DR]
</CoordinateGrid>
</Grid>
Also see