Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Plotting the intensity as a surface plot from a ray tracing computation
Posted Feb 9, 2018, 3:10 a.m. EST Ray Optics, Results & Visualization Version 5.3a 3 Replies
Please login with a confirmed email address before reporting spam
Hi, I am new to Comsol Multiphysics and just started to use its ray tracing capabilities. I am sucessfull in propagating some rays over a specified distance which is all I do at the moment. For this purpose I have a working plane with a rectangle as my only element in the geometry. I have defined a surface under the data sets tab in results and now I want to plot the intensity distribution at the working plane as a contour plot. However, when I add a 2d plotting group with a surface plot and try to chose gop.I as the variable to plot, I get an error message:
Cannot evaluate expression. Undefined variable. - Variable: comp1.gop.I - Geometry: geom1 - Boundary: 1 Failed to evaluate expression. - Expression: comp1.gop.I - Plot: surf1 (Surface)
So what am I doing wrong and how can I achieve what I like, which is to plot the intensity of my rays at a specified plane as a contour plot? I attached a .mph file of my attempt.
Attachments: