|Message: Re: Transmission of Optical Photons||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Benton and Peter,
Thank you both for your helpful suggestions, I've tried to implement them and here's what I've discovered so far.
As per Benton's suggestion I've put in some code to see what's going on at my volume boundaries and had the program keep a running tally of the different options.
Number of optical photons created: 320
Boundary Event: # Of Occurances Absorption 0 Fresnel Reflection 5 Fresnel Refraction 323 Detection 0 (Not surprising, no detector defined) No Refractive Index 265 Of these, PreVolume expHall, PostVolume Detector: 22 PreVolume Wrap, PostVolume tracker: 242 PreVolume WrapCap, PostVolume ALRing: 1 Total Internal Reflection 81 Spike Reflection 27 Lambertion Reflection 27 Lobe Reflection 39 Back Scattered 29 Not A Boundary 0 Same Material 1 Step Too Small 208 Of these, PreVolume expHall, PostVolume Detector: 122 PreVolume Wrap, PostVolume Tracker; 85 Also note that when StepTooSmall occured I called the GetStepLength() function to see what the step size was and on each of these occurances it came up to be 0 cm. I'm not sure the significance of this.
I'm confused as to why I'd have the No Refractive Index occurring so much, it looks to me as if every material has has the correct number of indexes defined. Could this be related to the step too small issue? I am in the process of trying different step sizes, so far no difference.
I thought perhaps there was some kind of geometry overlap going on so after some work I got DAWN and DAVID installed and figured out how to work them. According to DAVID the .prim file produced by the run shows no overlapping of boundaries.
Reading file: g4_00.prim Data reading completed
*** 7 primitives ***
Investigating intersections of surfaces Intersection investigation completed
--------------------------------------------------------- !!! Number of intersected volumes : 0 !!! !!! Congratulations ! \(^o^)/ !!! ---------------------------------------------------------
File g4david.prim is generated
I am currently running through Peter's suggestion of looking at the optics starting from only 1 boundary and adding on each one at a time but I thought I'd post this and see if it provided any insight into my problem. I'm not an optics person, as is probably evident, and most of the significance of this boundary output eludes me.
Many Thanks! Jason
|Inline Depth:||Outline Depth:||Add message:|