Hi all,
I would like to create 3 different figures with the openmc-plot-mesh-tally script, each one showing the neuron flux for a specific energy group: thermal (0 to 3 eV), intermediate (3 eV to 0.1 MeV) and fast (0.1 MeV to 10 MeV). For this purpose, I defined the following tally with mesh and energy filters:
mesh400 = openmc.RegularMesh(mesh_id=20)
mesh400.dimension = [100, 100]
mesh400.lower_left = [-27.02, -23.4]
mesh400.width = [0.5404, 0.468]
tally404 = openmc.Tally(name=‘flux’)
tally404.scores = [‘flux’]
tally404.filters = [openmc.MeshFilter(mesh400), openmc.EnergyFilter([0.0, 3.0, 0.1e6, 20.0e6])]
tallies.append(tally404)
From the Mesh Tally Plotter, I saw that the energy filter was separated like this: ([0. 3.] to [3.e+00 1.e+05]) and ([3.e+00 1.e+05] to [100000. 20000000.]). However, I was expecting three different intervals: [0, 3], [3, 1e+5] and [1e+5, 20e+6]. In addition, I cannot see the geometry.
I attached as an example a plot that I obtained defining a tally with an energy filter [0.0, 2.99, 3.0] and 100x100 mesh. I thought that with this energy filter I could create 2 images but I noticed that only one was generated.
Please, any suggestion on how to create these 3 different images considering the corresponding energy group
Thanks,
Javier