Hello all,
I have a simple system of a source and an object (CAD object checked with “object is a detector”). The CAD object has a coating defined with 80 % reflectance and 20 % absorbtance.
I´m trying to get the absorbed energy via ZPL macro with the operand NSDD. However, with the macro shown below, I always get the fully incident energy and not only the absorbed one.
temp=NSDD(1,0,0,0)
NSTR 1,0,1,1,1,1,15
detector1= NSDD(1,2,0,4)
PRINT "Absorbed energy: ",detector1
In the help file (Non-sequential Ray Tracing and Detector Operands) it says:
For Object Is A Detector: There are two additional options for data. Data is 4 for absorbed flux and 5 for absorbed flux/area.
What am I doing wrong?
Greetings
Julian
Best answer by David.Nguyen
View original