armi.nuclearDataIO.cccc.rzflux module¶
Module for reading/writing RZFLUX CCCC interface files.
RZFLUX contains Regular Zone Flux, or multigroup flux by neutron energy group in each zone. It also can hold some convergence and neutron balance information.
The format is defined in [CCCC-IV].
Examples
>>> flux = rzflux.readBinary("RZFLUX")
>>> flux.groupFluxes[2, 0] *= 1.1
>>> rzflux.writeBinary(flux, "RZFLUX2")
>>> rzflux.writeAscii(flux, "RZFLUX2.ascii")
-
class
armi.nuclearDataIO.cccc.rzflux.
Convergence
[source]¶ Bases:
enum.Enum
Convergence behavior flags for ITPS from RZFLUX file.
-
NO_ITERATIONS
= 0¶
-
CONVERGED
= 1¶
-
CONVERGING
= 2¶
-
DIVERGING
= 3¶
-
-
class
armi.nuclearDataIO.cccc.rzflux.
RzfluxData
[source]¶ Bases:
armi.nuclearDataIO.cccc.cccc.DataContainer
Data representation that can be read from or written to a RZFLUX file.
Notes
Analogous to a IsotxsLibrary for ISTOXS files.
-
class
armi.nuclearDataIO.cccc.rzflux.
RzfluxStream
(data: armi.nuclearDataIO.cccc.cccc.DataContainer, fileName: str, fileMode: str)[source]¶ Bases:
armi.nuclearDataIO.cccc.cccc.StreamWithDataContainer
Stream for reading to/writing from with RZFLUX data.
- Parameters
Create an instance of a
Stream
.- Parameters