- #1
19matthew89
- 47
- 12
- TL;DR Summary
- Error with SDEF for particle starting in a cell with zero importance
Hi everyone,
My plan is defining a surface source on a cylindrical object (cylindrical surface+top end+bottom end) and I am interested in what happens outside the cylindrical body. To avoid distortions of particles starting on the surface, directed inwards and emerging on the other side of the body, I set the importance inside the cylinder =0 so that all the particles entering the inner region are killed (keeping in mind to double the probability of particles for normalization as half of them are terminated).
However, this seems to be an issue as the error "source particle started in a cell of zero importance" stops the execution of the code.
I didn't think that was a problem.
How do you recommend to solve it?
My plan is defining a surface source on a cylindrical object (cylindrical surface+top end+bottom end) and I am interested in what happens outside the cylindrical body. To avoid distortions of particles starting on the surface, directed inwards and emerging on the other side of the body, I set the importance inside the cylinder =0 so that all the particles entering the inner region are killed (keeping in mind to double the probability of particles for normalization as half of them are terminated).
However, this seems to be an issue as the error "source particle started in a cell of zero importance" stops the execution of the code.
I didn't think that was a problem.
How do you recommend to solve it?
- The first idea is to shift slightly off the source so that all the particles are started in a cell of importance different than 0 and, in case they move inwards they'll just cover a little distance and then be killed
- Use maybe the card SB? But I have not really understood how this works for normalization. Is normalization not affected because weights are already modified to keep SB into account?
- Do you have any other recommendation?