Simulating a moving laser for Laser Sintering process

I have used local cylindrical co ordinate system for locating center of laser on powder bed.

However the energy distribution in laser spot depends upon distance of node from the center of laser spot.

for every load step I need to calculate distance of each node from center and the compare it with laser dimension for application of heat

Can any body write a sample code for this purpose or any hint for how to do this?(any other approach is also welcome)

Similar questions and discussions