I am trying to analyze the results of my ray-tracing simulation in Comsol itself (i.e. not relying on "Export" nodes). As part of my analysis, I need a table where each row corresponds to a ray, and with several columns for several properties of each ray. For example, lets say I want a list of rays were for each ray, I have the x-position and optical path length in the table.
It seems to me that this should be straightforward, but I have been unable to find a solution. Here is where I have failed so far:
- The "Ray evaluation" node doesn't allow for mulitple values to be computed.
- The "Global evaluation sweep" node can't access the individual rays (I couldn't figure out how to use the with/withsol/... operators at least)
- The "Evaluation group" node doesn't behave as expected when "Transpose" is activated - instead of yielding a table with two columns, I get a table with one column, where the individual results are concatenated
- The "Export" node doesn't allow me to use the data within Comsol itself
Is there any way to create such a table?