openmc.examples.random_ray_pin_cell

openmc.examples.random_ray_pin_cell(second_temp=False) → Model[source]

Create a PWR pin cell example using C5G7 cross section data. cross section data.

Added in version 0.16.0.

Parameters:

second_temp (bool, optional) – Whether or not the cross sections should contain two temperature datapoints. The first data point is the C5G7 cross sections, which corresponds to a temperature of 294 K. The second data point is the C5G7 cross sections multiplied by 1/2, which corresponds to a temperature of 3934 K. This temperature dependence is fictitious; it is used for testing temperature feedback in the random ray solver.

Returns:

model – A PWR pin cell model

Return type:

openmc.Model