# How to get the Ion Mobility file

**URL:** <https://root-forum.cern.ch/t/how-to-get-the-ion-mobility-file/48339>\
**Category:** Garfield++\
**Created:** [January 11, 2022, 2:21pm UTC](https://root-forum.cern.ch/t/how-to-get-the-ion-mobility-file/48339 "2022-01-11T14:21:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [January 11, 2022, 2:21pm UTC](https://root-forum.cern.ch/t/how-to-get-the-ion-mobility-file/48339/1 "2022-01-11T14:21:33Z")

</div>

![image](https://root-forum.cern.ch/uploads/default/original/3X/0/c/0c6295cc7dc558363c3d03a8ad63bfcc97177688.png)

---

<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:** [January 11, 2022, 2:33pm UTC](https://root-forum.cern.ch/t/how-to-get-the-ion-mobility-file/48339/2 "2022-01-11T14:33:10Z")

</div>

Yes, that snippet of code loads a mobility file.

---

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [January 12, 2022, 1:38am UTC](https://root-forum.cern.ch/t/how-to-get-the-ion-mobility-file/48339/3 "2022-01-12T01:38:48Z")

</div>

So how to generate the IonMobility.txt?

---

<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:** [January 12, 2022, 10:31am UTC](https://root-forum.cern.ch/t/how-to-get-the-ion-mobility-file/48339/4 "2022-01-12T10:31:47Z")

</div>

You can find ion mobility files for a few gases in the `Data` directory of the Garfield++ source tree. These values are taken from literature, in particular from these compilations of tabulated ion transport data:

[http://dx.doi.org/10.1016/0092-640X(76)90001-2](http://dx.doi.org/10.1016/0092-640X(76)90001-2)  
[http://dx.doi.org/10.1016/0092-640X(78)90014-1](http://dx.doi.org/10.1016/0092-640X(78)90014-1)  
[http://dx.doi.org/10.1016/0092-640X(84)90018-4](http://dx.doi.org/10.1016/0092-640X(84)90018-4)  
[http://dx.doi.org/10.1006/adnd.1995.1004](http://dx.doi.org/10.1006/adnd.1995.1004)

In these papers, there are data for quite a lot of combinations of gas mixtures and ions; if there’s a particular one that’s interesting for you we can just add a file to the `Data` directory.

---

<div class="post-metadata">

**Author:** ![XiCheng](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/x/aca169/32.png) [@XiCheng](https://root-forum.cern.ch/u/XiCheng)\
**Post date:** [January 12, 2022, 4:19pm UTC](https://root-forum.cern.ch/t/how-to-get-the-ion-mobility-file/48339/5 "2022-01-12T16:19:36Z")

</div>

Hi,  
Thanks a lot for your reply and I realize it now.  
Besides would you please help me to take a look at the weight.lis problem for no induced current. It’s really a key problem for me to be solved and I really need your help.  
Thanks again for your help.

---

<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:** [January 26, 2022, 4:20pm UTC](https://root-forum.cern.ch/t/how-to-get-the-ion-mobility-file/48339/6 "2022-01-26T16:20:33Z")

</div>

Closed on January 26, 2022, 4:20pm UTC

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