Surface thicknesses of subtraction solids

Hi all,

I’ve been trying to think up a way to implement a surface thickness for the surface created by a cylindrical hole drilled through a box with SubtractionSolid, but am a bit unsure how to correctly get the depth in the material if a particle is incident from this surface. In my case, this is to model some defect on the surface of a detector so that I can ignore energy deposition in this thickness.

Can this be accomplished with a LogicalSkinSurface? I’ve only really seen that used for optical physics, which isn’t the case here. It doesn’t seem clear how to set a thickness for the skin surface and then check if the particle depth in the material is greater than this value when recording energy deposition.

I think the quickest way to go about this would be to simply define more subtraction solids to create the correct volumes that wrap around the detector, so this is mainly just a question for fun, but I think it would be worthwhile to understand if there’s other ways of implementing surface thickness if possible.

Thank you!

1 Like

A logical skin surface has no thickness (that is, it is infinitely thin), so no, your task cannot be accomplished this was.

I don’t understand what you are trying to do.