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. Compute the total current flowing between two electrodes in an Electro Quasistatic LF simulation

Compute the total current flowing between two electrodes in an Electro Quasistatic LF simulation

Scheduled Pinned Locked Moved Analysis & Postprocessing
fluxevaluatorimpedance
17 Posts 9 Posters 3.0k 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.
  • D Offline
    D Offline
    daolin_qu
    wrote on last edited by
    #5

    Can I consider the current in the body during electrode stimulation like this? First, the simulation result can get the current density. Its unit is A/m². Assuming that the current current density is 100A/m², I want to calculate the current at a certain point in the muscle Intensity, I choose 1mm², then the current density at this time becomes 0.1mA/mm², can I consider the current intensity at the current position as 0.1mA?

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

      Current intensity is defined for a given cross-section. Usually, it is used for wires, where the cross-section is obvious, and it relates to the "amount of current" passing through the wire. A bit like the amount of water passing under a bridge, for a river (referred to as volumetric flow rate, or "discharge").
      For an infinitesimal point, it doesn't make much sense to speak of current intensity (or of flow rate, for the river analogy). The relevant quantity, in that case, is the flux of current (or water...), expressed in A/m2 (or volume/s/m2).

      I hope this helps.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gbgbha
        wrote on last edited by
        #7

        Hi @Sylvain, thanks for the tips. Is the total evaluated flux returned in RMS or absolute magnitude?

        SylvainS 1 Reply Last reply
        0
        • G gbgbha

          Hi @Sylvain, thanks for the tips. Is the total evaluated flux returned in RMS or absolute magnitude?

          SylvainS Offline
          SylvainS Offline
          Sylvain
          ZMT
          wrote on last edited by
          #8

          @gbgbha the evaluator would typically return a complex number, which should be interpreted as a phasor (at the frequency at which the fields were computed). Take the absolute value of that number to get the peak total current, divide by sqrt(2) to get the RMS.

          1 Reply Last reply
          0
          • SylvainS Sylvain

            Assume we have an LF simulation with two electrodes, at + and - 1V, respectively, as shown in the voxel view below. We want to compute the total current flowing between the two electrodes.

            0_1506927345681_9ab23e8c-d86a-4022-a10f-cb9c60f86150-image.png

            We start by creating a plane that cut through the computational domain, with each electrode in either part of the plane:

            0_1506927426717_bc53c93c-1e31-461b-8a96-12420a339a88-image.png

            We then use the Flux Evaluator to compute the total current flowing through the plane:

            H Offline
            H Offline
            hiTina
            wrote on last edited by
            #9

            @sylvain when we create the plane to compute the current ,I want to know how to set up the plane in the stimulation tab? setting in the boundary condition or else? hope your reply.

            SylvainS 1 Reply Last reply
            0
            • H hiTina

              @sylvain when we create the plane to compute the current ,I want to know how to set up the plane in the stimulation tab? setting in the boundary condition or else? hope your reply.

              SylvainS Offline
              SylvainS Offline
              Sylvain
              ZMT
              wrote on last edited by
              #10

              @hitina typically, you would create the plane in the Model tab of Sim4Life, then use it in the Analysis tab. Use the "Model-Tree" window to drag and drop the plane (or any other CAD object, for that matter) into the Explorer tree of the Analysis tab.
              This creates a grid (Surface mesh) out of the CAD object that can be used for further postprocessing. Note that its mesh resolution can be changed (you would typically do that later, so you can see how it affects the end results when you refresh the pipeline).
              By selecting the "Surface mesh" and any other field quantity (e.g. J(x,y,z,f0)), you can then make use of the "Flux Evaluator" algorithm. Use the Ctrl key to select multiple items.

              I hope this helps.

              H 1 Reply Last reply
              0
              • SylvainS Sylvain referenced this topic on
              • SylvainS Sylvain

                @hitina typically, you would create the plane in the Model tab of Sim4Life, then use it in the Analysis tab. Use the "Model-Tree" window to drag and drop the plane (or any other CAD object, for that matter) into the Explorer tree of the Analysis tab.
                This creates a grid (Surface mesh) out of the CAD object that can be used for further postprocessing. Note that its mesh resolution can be changed (you would typically do that later, so you can see how it affects the end results when you refresh the pipeline).
                By selecting the "Surface mesh" and any other field quantity (e.g. J(x,y,z,f0)), you can then make use of the "Flux Evaluator" algorithm. Use the Ctrl key to select multiple items.

                I hope this helps.

                H Offline
                H Offline
                hiTina
                wrote on last edited by
                #11

                @sylvain Thanks for your reply. I try to create a plane and drag and drop the plane into the Explorer tree of the Analysis tab.I enable the J(x,y,z,f0) and click the Flux Evaluator button. The result shows errors as follow.微信图片_20211022221230.png
                How can I use the created plane to compute the current?微信图片_20211022221225.png
                Should I set the created plane as the target surface of the flux evaluator ? the error shows invalid target surface at input. looking forward to your reply.

                SylvainS 1 Reply Last reply
                0
                • H hiTina

                  @sylvain Thanks for your reply. I try to create a plane and drag and drop the plane into the Explorer tree of the Analysis tab.I enable the J(x,y,z,f0) and click the Flux Evaluator button. The result shows errors as follow.微信图片_20211022221230.png
                  How can I use the created plane to compute the current?微信图片_20211022221225.png
                  Should I set the created plane as the target surface of the flux evaluator ? the error shows invalid target surface at input. looking forward to your reply.

                  SylvainS Offline
                  SylvainS Offline
                  Sylvain
                  ZMT
                  wrote on last edited by
                  #12

                  @hiTina it's not clear from your post whether you selected both the J field and the surface before clicking "Flux Evaluator".
                  What I mean is that you should see something like this in the Output View and then click "Flux Evaluator"
                  8768d17a-0430-462b-91b6-b0cd1db12608-image.png

                  Once you've done that, the Workbench would show something like this:
                  df5cca15-502b-4875-8c51-c919fb93fff1-image.png

                  H 1 Reply Last reply
                  0
                  • SylvainS Sylvain

                    @hiTina it's not clear from your post whether you selected both the J field and the surface before clicking "Flux Evaluator".
                    What I mean is that you should see something like this in the Output View and then click "Flux Evaluator"
                    8768d17a-0430-462b-91b6-b0cd1db12608-image.png

                    Once you've done that, the Workbench would show something like this:
                    df5cca15-502b-4875-8c51-c919fb93fff1-image.png

                    H Offline
                    H Offline
                    hiTina
                    wrote on last edited by
                    #13

                    @sylvain okay, thank you very much .I will try again.

                    1 Reply Last reply
                    0
                    • O oeddaoui referenced this topic on
                    • Paria M.P Offline
                      Paria M.P Offline
                      Paria M.
                      wrote on last edited by
                      #14

                      @Sylvain
                      Hi, I followed the steps you described in this post to obtain the flux between two electodes in my simulation. The resulted Total Flux is (-1.22514 mA/m^2 m^2). I want to nolmalize the E-field in my simulation to have the current of 1 mA/m^2 m^2 between the electrodes. Could you please guide me on how to do that using the "Field Normalizer" at field data tools section?

                      As seen in the attached picture, when I refresh the Field Normalizer, I get error.

                      d9dc8eab-7131-4432-85e9-bc057251fc40-image.png

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        halder
                        ZMT
                        wrote on last edited by
                        #15

                        @Paria-M You can use the field along with the averaged flux density and then use the field normalizer, for the target value you have to input the current in units of A/m^2.

                        image.png
                        image.png

                        1 Reply Last reply
                        1
                        • Paria M.P Offline
                          Paria M.P Offline
                          Paria M.
                          wrote on last edited by
                          #16

                          @halder Thank you for your response. I want the total current of 1 mA flowing between my two electrodes. In this case, I should put the target value as (1 mA/area of the plane I have drawn between two electrodes)?
                          since my plane area is 182mm*220mm, then I should select the target value to be 0.024975 A/m2. Is this the correct approach?

                          1 Reply Last reply
                          0
                          • C Cindy645 referenced this topic on
                          • SylvainS Sylvain

                            Assume we have an LF simulation with two electrodes, at + and - 1V, respectively, as shown in the voxel view below. We want to compute the total current flowing between the two electrodes.

                            0_1506927345681_9ab23e8c-d86a-4022-a10f-cb9c60f86150-image.png

                            We start by creating a plane that cut through the computational domain, with each electrode in either part of the plane:

                            0_1506927426717_bc53c93c-1e31-461b-8a96-12420a339a88-image.png

                            We then use the Flux Evaluator to compute the total current flowing through the plane:

                            C Offline
                            C Offline
                            Cindy645
                            wrote on last edited by
                            #17

                            @Sylvain Hi Sylvain! Thanks for sharing the method. I tried it in this very simple structure but get unexpected result for current density. Also available at my post here https://forum.zmt.swiss/post/2071.

                            I use the following very simple structure to test whether I am using the LF Ohmic Quasi-Static Solver correctly. The voltage comes out as expected but the current (density) is incorrect. I have these three electrodes of the same radius (1mm) stacking together (touching each other) in an electrode-cylinder-electrode configuration. I want to apply to a 2V (+1V top, -1V bottom) to the two silver electrodes and achieve a 1 kA current through. So I chose the cylinder material (copper) and length such that the resistance is 2 mOhm.

                            After running the simulation, where I place a line as voltage sensor (it runs from 2mm offset from the top electrode to 2mm offset from the bottom electrode, in the centre), it gives a value of -1.9786V as expected.
                            When I combine the J(x,y,z,f0) from the overall field and a plane I created and use flux evaluator to measure total current density as described here, unexpected resutls occur. I tried two different planes and they gave different results::

                            1. A block with 0mm thickness and 1m x 1m in area in the middle of the cylinder parallel to the electrodes, result: 1 A/m^2, multiply by the area gives 1A
                            2. A cylinder with 0mm thickness and 1mm in radius in the middle of the cylinder parallel to the elctrodes, resutls: 49.7369 A/m^2, multiply by the area gives 0.156mA
                              (P.S. why the current density has a unit of [A/m^2 m^2]?)

                            Model, Simulation and Analysis details are summaried in the screenshots attached. IMG_5162.jpg IMG_5163.jpg IMG_5164.jpg Screenshot 2025-01-12 at 21.26.50.jpg Screenshot 2025-01-12 at 21.27.16.jpg Screenshot 2025-01-12 at 21.27.32.jpg Screenshot 2025-01-12 at 21.31.17.jpg Screenshot 2025-01-12 at 21.34.49.jpg Screenshot 2025-01-12 at 21.35.28.jpg

                            1 Reply Last reply
                            0
                            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