Extracting the integrated projection of a vector on to a trajectory


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?


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.

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?

Did you drag&drop the line into the Explorer first? This step is necessary to create a discretised version of the CAD object.

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?

No, you should not need the slice viewer. The interpolator connects directly to the E-field itself, not its "viewer".

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.

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.

You need to drag & drop into an empty space in the Explorer tree, not onto the Overall Field. Both are possible, but they do different things 🙂

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.

you have to use the CTRL key to multiselect. First the Overall Field and Line in the Explorer window.... then E and line in the Output view.

Yeay. It worked. Great. Thank you so much for your patience 🙂

This post is deleted!