# Strange result for ion drift velocity in low pressure propane, missing long. diffusion coefficient

**URL:** <https://root-forum.cern.ch/t/strange-result-for-ion-drift-velocity-in-low-pressure-propane-missing-long-diffusion-coefficient/60453>\
**Category:** Garfield++\
**Created:** [August 8, 2024, 1:06pm UTC](https://root-forum.cern.ch/t/strange-result-for-ion-drift-velocity-in-low-pressure-propane-missing-long-diffusion-coefficient/60453 "2024-08-08T13:06:55Z")\
**Posts on this page:** 3\
**Page:** 2

<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:** [September 18, 2024, 3:39am UTC](https://root-forum.cern.ch/t/strange-result-for-ion-drift-velocity-in-low-pressure-propane-missing-long-diffusion-coefficient/60453/21 "2024-09-18T03:39:57Z")

</div>

Hi,  
I made a few changes trying to improve the interpolation/extrapolation of the ion velocity:

> **[Commits · ion-velocity · garfield / garfieldpp · GitLab](https://gitlab.cern.ch/garfield/garfieldpp/-/commits/ion-velocity)**
>
> http://garfieldpp.web.cern.ch/garfieldpp/

I will run a few checks and then merge to the master branch.

Using this branch, and the following script/options I got a (somewhat) more reasonable shape for the ion velocity.

```auto
import ROOT
import Garfield

gas = ROOT.Garfield.MediumMagboltz()
gas.LoadGasFile('C3H8_1Torr_313K_0.1_to_1800.gas')
gas.SetExtrapolationMethodIonMobility("constant", "exponential")
gas.LoadIonMobility('IonMobility_C3H8+_C3H8.txt')
gas.PrintGas()

view = ROOT.Garfield.ViewMedium(gas)
cV = ROOT.TCanvas('cV', '', 600, 600)
view.SetCanvas(cV)
view.PlotIonVelocity()

```

Not an ideal solution, but perhaps a work-around…

---

<div class="post-metadata">

**Author:** ![VictorM](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/victorm/32/36543_2.png) [@VictorM](https://root-forum.cern.ch/u/VictorM)\
**Post date:** [September 23, 2024, 2:25pm UTC](https://root-forum.cern.ch/t/strange-result-for-ion-drift-velocity-in-low-pressure-propane-missing-long-diffusion-coefficient/60453/22 "2024-09-23T14:25:43Z")

</div>

Thank you very much!

---

<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:** [October 7, 2024, 2:26pm UTC](https://root-forum.cern.ch/t/strange-result-for-ion-drift-velocity-in-low-pressure-propane-missing-long-diffusion-coefficient/60453/23 "2024-10-07T14:26:17Z")

</div>

Closed on October 7, 2024, 2:26pm UTC

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

[Previous page](https://root-forum.cern.ch/t/strange-result-for-ion-drift-velocity-in-low-pressure-propane-missing-long-diffusion-coefficient/60453.md?page=1)
