Skip to main content
Solved

Errors when creating NSC 2D Plot


qmducla

Hi, I’m trying to make a NSC 2D plot where I sweep the incidence angle of light going into a cuboid sample and use the NSRA operand to determine the path length. This is an example using a 2 degree incidence angle:

However, there are some instances where the NSRA operand gives an error (‘Geometry error. Run the NSC Ray Trace tool for more information.’)  I think the issue might be when the incidence light and output light are collinear with each other (so they overlap, essentially) but I might also be wrong. An example of this is when the incidence light is 0 degrees.

What happens then is when I try to make a NSC 2D plot, there are certain step counts that are invalid, causing the whole graph to give an error:

Is there a way to ignore these instances when making the 2D plot?

Best answer by Mark.Nicholson

No, there isn’t. It’s better to find what’s causing the error and fix it.

There’s a ‘Create Error Ray’ tool that will create a single ray from the last known geometry error, so you can see what’s causing the error.

  • M
View original
Did this topic help you find an answer to your question?

3 replies

Mark.Nicholson
Luminary
Forum|alt.badge.img+3

No, there isn’t. It’s better to find what’s causing the error and fix it.

There’s a ‘Create Error Ray’ tool that will create a single ray from the last known geometry error, so you can see what’s causing the error.

  • M

qmducla
  • Author
  • Monochrome
  • 1 reply
  • August 18, 2023

Hi Mark, thank you for your rely!

I tried looking into it further and it seems like the issue is coming from the beam abruptly stopping at not propagating further even though it should. Here is a screenshot of what I mean by this:

I am not sure why it does this. Can you provide some insights on how I can solve this?

Many thanks in advance.


Kevin Scales
En-Lightened
Forum|alt.badge.img+1
  • En-Lightened
  • 185 replies
  • August 22, 2023

A ray will only travel so far before it runs out of allocated segments or it loses too much energy and is discarded. If that diagram is showing a single ray then it has gone through a lot of material and had many reflections, so it is probably become too low in energy to continue.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings