# How to get induced current signal from a special shape of anode

**URL:** <https://root-forum.cern.ch/t/how-to-get-induced-current-signal-from-a-special-shape-of-anode/43735>\
**Category:** Garfield++\
**Created:** [February 27, 2021, 4:09pm UTC](https://root-forum.cern.ch/t/how-to-get-induced-current-signal-from-a-special-shape-of-anode/43735 "2021-02-27T16:09:44Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![hatiden1](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/hatiden1/32/25053_2.png) [@hatiden1](https://root-forum.cern.ch/u/hatiden1)\
**Post date:** [February 27, 2021, 4:09pm UTC](https://root-forum.cern.ch/t/how-to-get-induced-current-signal-from-a-special-shape-of-anode/43735/1 "2021-02-27T16:09:44Z")

</div>

Hello,  
I simulate the zp1200(a geiger muller tube) by using Garfield++,the model structure as figure 1, and the electric field and the mesh generated from the COMSOL as figure 2.  
Could you tell me how to get the induced current signal from the anode as figure 3

 ![1](https://root-forum.cern.ch/uploads/default/original/3X/e/d/ed4d68d75e478793e834a2f5d23bb10289e92631.jpeg) ![2](https://root-forum.cern.ch/uploads/default/original/3X/1/f/1f4947e3b962c72fe0caf9054f21794e54f17e2f.png) ![3](https://root-forum.cern.ch/uploads/default/original/3X/7/b/7bda88e24edf665c76a85d027fc08e4e17231a1f.png)

---

<div class="post-metadata">

**Author:** ![Eddy\_Offermann](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eddy_offermann/32/25079_2.png) [@Eddy\_Offermann](https://root-forum.cern.ch/u/Eddy_Offermann)\
**Post date:** [February 28, 2021, 1:55pm UTC](https://root-forum.cern.ch/t/how-to-get-induced-current-signal-from-a-special-shape-of-anode/43735/2 "2021-02-28T13:55:41Z")

</div>

Maybe better to contact directly the authors:

- If you have any questions, please send a mail to [garfield-support@cern.ch](mailto:garfield-support@cern.ch) (or contact [Heinrich Schindler](mailto:heinrich.schindler@cern.ch) or [Rob Veenhof](mailto:rob.veenhof@cern.ch) directly).

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [February 28, 2021, 4:57pm UTC](https://root-forum.cern.ch/t/how-to-get-induced-current-signal-from-a-special-shape-of-anode/43735/3 "2021-02-28T16:57:22Z")

</div>

Hi,  
sorry for not replying to your earlier e-mail on the same subject.  
To simulate the induced current you will need map of the weighting potential. To calculate this map in COMSOL, you use the same mesh as you used for calculating the electric field, but apply a different set of boundary conditions, namely 1 V at the electrode you want to readout (i. e. the wire) and 0 V at the other electrodes. You can load this map in `ComponentComsol` using the function `SetWeightingField`.  
You then also need to request the induced current to be calculated for this weighting field using the function `AddElectrode` of your `Sensor` object, see the “recipe” the  
[website](https://garfieldpp.web.cern.ch/garfieldpp/examples/signals/).  
Since you are dealing with a (very) high gas gain, it doesn’t make sense to simulate all electrons in the avalanche individually, so you probably want to use the class `DriftLineRKF` for simulating the electron avalanche.

Since Garfield++ is typically used for simulating detectors operating in proportional mode, I’m afraid that things won’t work out of the box if you want to simulate signals in the Geiger regime:

- Photon feedback is not included in the simulation so you will not get secondary avalanches.
- The effect of space charge on the electric field is taken into account (not by default anyway). If you want to do it rigorously, you would need to recalculate an electric field map in COMSOL for different stages of space charge build up.

Now we can of course give it a try to make it work, and perhaps there are some shortcuts/tricks we can use, but it will need some work…

---

<div class="post-metadata">

**Author:** ![hatiden1](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/hatiden1/32/25053_2.png) [@hatiden1](https://root-forum.cern.ch/u/hatiden1)\
**Post date:** [March 1, 2021, 12:54am UTC](https://root-forum.cern.ch/t/how-to-get-induced-current-signal-from-a-special-shape-of-anode/43735/4 "2021-03-01T00:54:13Z")

</div>

Thank your for your rely,i will try it.

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [March 1, 2021, 9:15am UTC](https://root-forum.cern.ch/t/how-to-get-induced-current-signal-from-a-special-shape-of-anode/43735/5 "2021-03-01T09:15:44Z")

</div>

A hydrodynamic finite-element calculation is probably a better approach for your setup. You can find some pointers for doing this kind of simulation using COMSOL on this page:

[https://garfieldpp.web.cern.ch/examples/avalanches\_streamers/](https://garfieldpp.web.cern.ch/examples/avalanches_streamers/)

---

<div class="post-metadata">

**Author:** ![hatiden1](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/hatiden1/32/25053_2.png) [@hatiden1](https://root-forum.cern.ch/u/hatiden1)\
**Post date:** [March 3, 2021, 2:55am UTC](https://root-forum.cern.ch/t/how-to-get-induced-current-signal-from-a-special-shape-of-anode/43735/6 "2021-03-03T02:55:12Z")

</div>

Thank you,emmm…  
can the hydrodynamic finite-element be export to interface with Garfield++?

---

<div class="post-metadata">

**Author:** ![hatiden1](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/hatiden1/32/25053_2.png) [@hatiden1](https://root-forum.cern.ch/u/hatiden1)\
**Post date:** [March 3, 2021, 2:56am UTC](https://root-forum.cern.ch/t/how-to-get-induced-current-signal-from-a-special-shape-of-anode/43735/7 "2021-03-03T02:56:01Z")

</div>

Thank you.

---

<div class="post-metadata">

**Author:** ![hatiden1](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/hatiden1/32/25053_2.png) [@hatiden1](https://root-forum.cern.ch/u/hatiden1)\
**Post date:** [March 3, 2021, 3:45am UTC](https://root-forum.cern.ch/t/how-to-get-induced-current-signal-from-a-special-shape-of-anode/43735/8 "2021-03-03T03:45:38Z")

</div>

hi,  
thank you for your reply.I’ve read the content of website calculation of induced currents.  
but,i am not familar with ANSYS,and what is the “WSOL.lis” file refer to?  
The COMSL export file contains “mesh.mphtxt”, “dielectrics.dat”, “field.txt”, how can i get the file as the same funciton as “WSOL.lis”, could you offer some examples or tips? Thanks

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [March 3, 2021, 8:22am UTC](https://root-forum.cern.ch/t/how-to-get-induced-current-signal-from-a-special-shape-of-anode/43735/9 "2021-03-03T08:22:38Z")

</div>

With the hydrodynamic approach you would simulate the induced current signal in Comsol, so I’m not sure if there’s much post-processing you could do in Garfield++ afterwards?

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [March 3, 2021, 8:26am UTC](https://root-forum.cern.ch/t/how-to-get-induced-current-signal-from-a-special-shape-of-anode/43735/10 "2021-03-03T08:26:13Z")

</div>

The equivalent in COMSOL would be a `field.txt` file which contains the solution for the weighting field configuration, i. e. 1 V applied to the electrode that you read out (= the wire) and 0 V to the other electrodes (= the tube).

---

<div class="post-metadata">

**Author:** ![hatiden1](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/hatiden1/32/25053_2.png) [@hatiden1](https://root-forum.cern.ch/u/hatiden1)\
**Post date:** [March 4, 2021, 2:42pm UTC](https://root-forum.cern.ch/t/how-to-get-induced-current-signal-from-a-special-shape-of-anode/43735/11 "2021-03-04T14:42:47Z")

</div>

Is there any COMSOL example to refered to?I’ve create the “Data1” in “Export”,however,how can i export another “Data2” for the weighting filed?  
it there is, could you send the file to my [e-mail,hatiden@msn.com](mailto:e-mail,hatiden@msn.com)  
Thanks a lot.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [March 18, 2021, 2:42pm UTC](https://root-forum.cern.ch/t/how-to-get-induced-current-signal-from-a-special-shape-of-anode/43735/12 "2021-03-18T14:42:53Z")

</div>

Closed on March 18, 2021, 2:42pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
