openmc.data.WattEnergy

class openmc.data.WattEnergy(a, b, u)[source]

Energy-dependent Watt spectrum represented as

\[f(E \rightarrow E') = \frac{e^{-E'/a}}{I} \sinh \left ( \sqrt{bE'} \right ) \]
Parameters
  • a (openmc.data.Tabulated1D) – Energy-dependent parameters tabulated as function of incident neutron energy

  • b (openmc.data.Tabulated1D) – Energy-dependent parameters tabulated as function of incident neutron energy

  • u (float) – Constant introduced to define the proper upper limit for the final particle energy such that \(0 \le E' \le E - U\)

Variables
  • b (a,) – Energy-dependent parameters tabulated as function of incident neutron energy

  • u (float) – Constant introduced to define the proper upper limit for the final particle energy such that \(0 \le E' \le E - U\)

classmethod from_ace(ace, idx)[source]

Create a Watt fission spectrum from an ACE table

Parameters
Returns

Watt fission spectrum

Return type

openmc.data.WattEnergy

classmethod from_endf(file_obj, params)[source]

Generate Watt fission spectrum from an ENDF evaluation

Parameters
  • file_obj (file-like object) – ENDF file positioned at the start of a section for an energy distribution.

  • params (list) – List of parameters at the start of the energy distribution that includes the LF value indicating what type of energy distribution is present.

Returns

Watt fission spectrum

Return type

openmc.data.WattEnergy

classmethod from_hdf5(group)[source]

Generate Watt fission spectrum from HDF5 data

Parameters

group (h5py.Group) – HDF5 group to read from

Returns

Watt fission spectrum

Return type

openmc.data.WattEnergy

to_hdf5(group)[source]

Write distribution to an HDF5 group

Parameters

group (h5py.Group) – HDF5 group to write to