Hi, could anyone tell me how to normalize the value extracted from the spatial legendre filter? The unit in the example is given as n/src, so if I multiply by source/sec, then I get n/sec, but as we know, the unit of flux is n/cm^2.sec. So, how to proceed further? Thanks in advance.
Retrieve the tallied expansion coefficients from the OpenMC output for each polynomial order. Then take the actual physical location where we want to know the flux and map it to a standardized scale between negative one and one, based on the filter’s minimum and maximum boundaries. Use a tool like a Python math library to evaluate the Legendre polynomials at that newly scaled position. Combine the tallied coefficients and the polynomial values to rebuild the spatial flux shape. Then, divide this by the total volume of the tally region to get the flux per individual simulated source particle. Multiply this result by the system’s true physical source emission rate to get the final flux in standard physical units.
I am not 100% sure about this.
@paulromano could you please confirm that what would be the correct way to do it?