Currently, users can control the radius and the coverage of the FusionRingSource.
The z placement is assumed to be zero.
However, users should be able to control this z placement:
class FusionRingSource(openmc.Source):
"""An openmc.Source object with some presets to make it more convenient
for fusion simulations using a ring source. All attributes can be changed
after initialization if required. Default isotropic ring source with a Muir
energy distribution.
Args:
radius: the inner radius of the ring source
start_angle: the start angle of the ring in radians,
stop_angle: the end angle of the ring in radians,
temperature: the temperature to use in the Muir distribution in eV,
"""
def __init__(
self,
radius,
start_angle: float =0.,
stop_angle: float = 6.28318530718,
z_placement=0,
temperature: float = 20000.,
fuel='DT'
):
Currently, users can control the radius and the coverage of the FusionRingSource.
The z placement is assumed to be zero.
However, users should be able to control this z placement: