Extracting the integrated projection of a vector on to a trajectory
-
wrote on 12 Nov 2018, 21:14 last edited by
Hello,
I need to find the integration of E.dl (tangential E-field Integral) along a trajectory. Is there any way to extract it in Sim4Life?
Thanks.
-
The IMSAFE module can do that (and even more, since it can do perturbation of the base trajectory so that you can see how it affects the deposited power). This module is licensed separately but you should at least find the documentation in the User Manual.
Without using any special module, what you can already do is get the tangential E-field along the trajectory (drag&drop the spline in the Explorer tree of the Analysis tab, then select both E-field and Spline and click Interpolator. Then, in Field Data Tools, use the "Tangential Component" algorithm). Unfortunately, as far as I know, there is currently no algorithm that can do the integration of the resulting 1-D data quantity. You could do that easily by accessing the data via the Python API or exporting it to Excel or Matlab.
-
wrote on 13 Nov 2018, 18:28 last edited by Saya
Thanks for your reply.
When I select both E-field and line, the interpolator does not show up in the ribbon. What might be wrong with it? -
wrote on 14 Nov 2018, 14:16 last edited by Saya
Yes, I did. I drag and drop the line in the overall field, It comes up as "EM E(x,y,z,f0)- interpolator" . Then I select E-field from overall field and I click slice viewer in the ribbon. At the end I select these two together. But there is no interppolator in the ribbon. Do I do it right?
-
wrote on 16 Nov 2018, 17:33 last edited by
So I need to just drag and drop the line in the overall field since it comes up as "EM E(x,y,z,f0)- interpolator" and "Tangential-field" shows up in the "Field data tools" in the ribbon. Is that correct?
But when I try to export the result, there is an error "Failed to compute output attributes". How this problem could be fixed? -
Sorry I don't have Sim4Life in front of me right now, so can't take a screenshot, but you need to select both the E-field (from Overall Field sensor) and the Line object in the Output View window (use the CTRL key to multiselect) and then the Interpolator should be visible in the ribbon. Note that you need to do a multiselection twice: once on the sensors, to have the right quantities showing up in the Output View window, and once on the fields themselves.
You can also use the Workbench to do this kind of things, it's conceptually a bit easier to understand. -
wrote on 16 Nov 2018, 18:10 last edited by Saya
When I drag and drop the line in the explorer(overall field), just "EM E(x,y,z,f0)- interpolator" shows up in the output View window. And E-field and Line do not show up in the output view window simultaneously.
-
wrote on 16 Nov 2018, 19:37 last edited by
I drag and drop the line in the explorer and I select the E-field from overall field. When I select the line, the content in the output view changes, line appears in the output view and there is no E-field to select . It would be great if you provide me with a snap shot whenever you have Sim4Life.
-
wrote on 16 Nov 2018, 20:12 last edited by
Yeay. It worked. Great. Thank you so much for your patience :)
-
wrote on 16 Nov 2018, 20:16 last edited by SayaThis post is deleted!