Skip to content
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

ZMT zurich med tech

  1. Home
  2. Sim4Life
  3. Analysis & Postprocessing
  4. Extracting the integrated projection of a vector on to a trajectory

Extracting the integrated projection of a vector on to a trajectory

Scheduled Pinned Locked Moved Analysis & Postprocessing
14 Posts 2 Posters 1.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Saya
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    1
    • SylvainS Offline
      SylvainS Offline
      Sylvain
      ZMT
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Saya
        wrote on last edited by Saya
        #3

        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?

        1 Reply Last reply
        0
        • SylvainS Offline
          SylvainS Offline
          Sylvain
          ZMT
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Saya
            wrote on last edited by Saya
            #5

            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?

            1 Reply Last reply
            0
            • SylvainS Offline
              SylvainS Offline
              Sylvain
              ZMT
              wrote on last edited by
              #6

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

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Saya
                wrote on last edited by
                #7

                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?

                1 Reply Last reply
                0
                • SylvainS Offline
                  SylvainS Offline
                  Sylvain
                  ZMT
                  wrote on last edited by
                  #8

                  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.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    Saya
                    wrote on last edited by Saya
                    #9

                    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.

                    1 Reply Last reply
                    0
                    • SylvainS Offline
                      SylvainS Offline
                      Sylvain
                      ZMT
                      wrote on last edited by
                      #10

                      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 :)

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        Saya
                        wrote on last edited by
                        #11

                        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.

                        1 Reply Last reply
                        0
                        • SylvainS Offline
                          SylvainS Offline
                          Sylvain
                          ZMT
                          wrote on last edited by
                          #12

                          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.

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            Saya
                            wrote on last edited by
                            #13

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

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              Saya
                              wrote on last edited by Saya
                              #14
                              This post is deleted!
                              1 Reply Last reply
                              1
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Search