bluemira.codes.openmc.sources
Neutronics sources
Functions
|
Make a tokamak neutron source using an equilibrium and PlasmaSourceParameters |
|
Create the ring source |
|
Creating simple line ring source lying on the Z=0 plane, |
Module Contents
- bluemira.codes.openmc.sources.make_tokamak_source(eq: bluemira.equilibria.equilibrium.Equilibrium, source_parameters: bluemira.codes.openmc.params.PlasmaSourceParameters, cell_side_length: float = 0.1) tuple[list[openmc.Source], float, float]
Make a tokamak neutron source using an equilibrium and PlasmaSourceParameters for PROCESS parabolic-pedestal profiles.
- Parameters:
eq (bluemira.equilibria.equilibrium.Equilibrium) – Equilibrium description
source_parameters (bluemira.codes.openmc.params.PlasmaSourceParameters) – PlasmaSourceParameters
cell_side_length (float) – The dimension of the squares with which to discretise the neutron source
- Returns:
source – Fusion source for OpenMC
source_rate – Absolute neutron production rate (used for tallying)
source_T_rate – Absolute plasma T consumption rate (used for tallying)
- Return type:
tuple[list[openmc.Source], float, float]
- bluemira.codes.openmc.sources.make_ring_source(source_parameters: bluemira.codes.openmc.params.PlasmaSourceParameters) openmc.Source
Create the ring source
- Parameters:
source_parameters (bluemira.codes.openmc.params.PlasmaSourceParameters)
- Return type:
openmc.Source
- bluemira.codes.openmc.sources.create_ring_source(major_r_cm: float, shaf_shift_cm: float) openmc.Source
Creating simple line ring source lying on the Z=0 plane, at r = major radius + shafranov shift, producing 14.1 MeV neutrons with no variation in energy. A more accurate source will slightly affect the wall loadings and dpa profiles.
- Parameters:
major_r_cm (float) – major radius [cm]
shaf_shift_cm (float) – shafranov shift [cm]
- Return type:
openmc.Source