openmc icon indicating copy to clipboard operation
openmc copied to clipboard

Surface flux tallies

Open paulromano opened this issue 13 years ago • 14 comments

paulromano avatar Jul 21 '11 00:07 paulromano

I can attack this tally. Is there any need date set that I should be aware of or can I attack at my leisure?

nelsonag avatar Mar 29 '13 14:03 nelsonag

Nope, no need date! As you can see this issue has languished for over a year, so definitely attack at your leisure.

paulromano avatar Apr 01 '13 23:04 paulromano

I spent some time yesterday thinking about how I was going to go about implementing this feature. The main difficulty would be how to calculate the surface area of the tally surface. If we limit OpenMC to just using meshes for the surfaces, then the area calculation is trivial. If we allow the CSG surfaces to be used then this becomes a much more involved calculation (it is my understanding that MCNP requires the user to input the area for CSG-type surface tallies).

So, my thought process moved on towards figuring out if CSG-type surfaces were even necessary or if mesh-based surface fluxes would suffice for real use-cases. I concluded that since the main applications of surface-flux tallies were either generating discontinuity factors or providing some form of boundary condition information (when angular information is provided as well), that mesh-based surface tallies would suffice.

I wanted to post this here before I start attacking the code so that anyone with a preference for CSG over mesh-based tallies can speak up.

nelsonag avatar May 18 '13 13:05 nelsonag

One thing I could think of where CSG might be useful is tallying leakage. I guess that would really be surface current rather than surface flux, but the infrastructure would be the same. However, it might make more sense to have a special leakage score (see #178).

paulromano avatar May 20 '13 04:05 paulromano

Yeah, I definitely agree with the need for a more specific leakage tally than the current one; but the leakage (and surface current) don't have a need for a surface area quantity, making their implementation much simpler than a CSG surface flux tally.

nelsonag avatar May 20 '13 11:05 nelsonag

Perhaps then a better starting point would be to have a CSG surface current tally. At this point I can see immediate uses for such a tally, whereas I don't have any specific use cases in mind yet for the more complicated surface flux tally.

paulromano avatar May 22 '13 03:05 paulromano

I could definitely use the mesh-based surface flux tallies when I am computing discontinuity factors for my baffle/reflector homogenization similar to the surface currents that are already implemented. Its fine if the flux is integrated over area, I can just divide it out on my own.

bhermanmit avatar May 22 '13 12:05 bhermanmit

You know, I don't see the area thing as a huge issue actually. Right now volume-integrated tallies are not normalized by volume, so doing the same for surface flux shouldn't be a big deal.

paulromano avatar May 22 '13 20:05 paulromano

You're right it probably isn't; especially if we willy have to rely on user supplied surface areas anyways, we might as well just be consistent for all types of surfaces.

nelsonag avatar Jun 02 '13 19:06 nelsonag

I wonder what I should do to transfer the flux scores' units into the common units——neutrons per centimeter squared per second.

ternence6 avatar Mar 26 '20 06:03 ternence6

@ternence6 We recently added a section in the user's guide about normalizing units: https://docs.openmc.org/en/latest/usersguide/tallies.html#normalization-of-tally-results

paulromano avatar Apr 21 '20 19:04 paulromano

@paulromano ty 👍

ternence6 avatar Apr 24 '20 13:04 ternence6

Is it correct that surface flux tallies remain unimplemented?

gonuke avatar May 29 '20 21:05 gonuke

@gonuke Yes, it is possible to tally surface currents, but surface fluxes remain to be implemented.

paulromano avatar Jun 09 '20 15:06 paulromano