bluemira.codes.openmc.material
OpenMC CSG neutronics materials
Classes
The five layers of the blanket as used in the neutronics simulation. |
|
A dictionary of materials according to the type of blanket used |
Module Contents
- class bluemira.codes.openmc.material.CellType(*args, **kwds)
Bases:
enum.EnumThe five layers of the blanket as used in the neutronics simulation.
Variables
- Surface
The surface layer of the first wall.
- First wall
Typically made of tungsten or Eurofer
- BreedingZone
Where tritium is bred
- Manifold
The pipe works and supporting structure
- VacuumVessel
The vacuum vessel keeping the plasma from mixing with outside air.
- RadiationShield
The radiation shield surrounding the reactor, also called a bio shield.
- BlanketSurface
- BlanketFirstWall
- BlanketBreedingZone
- BlanketManifold
- VacuumVessel
- DivertorBulk
- DivertorFirstWall
- DivertorSurface
- TFCoil
- CSCoil
- RadiationShield
- class bluemira.codes.openmc.material.MaterialsLibrary
A dictionary of materials according to the type of blanket used
- inb_vv_mat: openmc.Material
- inb_fw_mat: openmc.Material
- inb_bz_mat: openmc.Material
- inb_mani_mat: openmc.Material
- divertor_mat: openmc.Material
- div_fw_mat: openmc.Material
- outb_fw_mat: openmc.Material
- outb_bz_mat: openmc.Material
- outb_mani_mat: openmc.Material
- outb_vv_mat: openmc.Material
- tf_coil_mat: openmc.Material
- container_mat: openmc.Material
- inb_sf_mat: openmc.Material
- outb_sf_mat: openmc.Material
- div_sf_mat: openmc.Material
- rad_shield: openmc.Material
- classmethod from_neutronics_materials(materials_lib: bluemira.radiation_transport.neutronics.materials.NeutronicsMaterials, op_cond: matproplib.conditions.OperationalConditions)
Initialise from neutronics materials
- Parameters:
materials_lib (bluemira.radiation_transport.neutronics.materials.NeutronicsMaterials)
op_cond (matproplib.conditions.OperationalConditions)
- match_material(cell_type: CellType, *, inboard: bool = False)
Choose the appropriate blanket material for the given blanket cell type.
- Returns:
The blanket material
- Parameters:
cell_type (CellType)
inboard (bool)
- export_to_xml(path: str | pathlib.Path = 'materials.xml')
Exports material defintions to xml
- Returns:
The xml representation
- Parameters:
path (str | pathlib.Path)
- get_all_materials() tuple[openmc.Material]
Get all of the materials stored in self, as a tuple.
- Returns:
The tuple of all dataclass fields
- Return type:
tuple[openmc.Material]