Hello everyone,
I am using CylindricalMesh and tally the axial flux at r=55.8cm to 56.2cm. My code is as follow:
mesh_axial = openmc.CylindricalMesh(
name=‘Mesh_Axial’,
r_grid=np.linspace(55.8, 56.2, 2),
phi_grid=np.linspace(0.0, 6.283185307179586, 2),
z_grid=np.linspace(0, 200, 21))
And I found that the result is not equivalent to the sum of the flux at r=‘55.8cm to 56cm’ and r=‘56cm to 56.2cm’.
More precisely, I run with the line ‘r_grid=np.linspace(55.8, 56.2, 2)’ and get flux1. Then I change the line into ‘r_grid=np.linspace(55.8, 56.0, 2)’ and ‘r_grid=np.linspace(56.0, 56.2, 2)’, and run respectively to get the axial flux2 and flux3.
My question is: flux1 is not equal to flux2+flux3. Is there something wrong I’ve made? Why are the results different when using a total mesh compared to the meshed divided?