# Unit of Diffusion Coefficients Not Clear

**URL:** <https://root-forum.cern.ch/t/unit-of-diffusion-coefficients-not-clear/45671>\
**Category:** Garfield++\
**Created:** [July 4, 2021, 6:33am UTC](https://root-forum.cern.ch/t/unit-of-diffusion-coefficients-not-clear/45671 "2021-07-04T06:33:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![SSJ](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/ccd318/32.png) [@SSJ](https://root-forum.cern.ch/u/SSJ)\
**Post date:** [July 4, 2021, 6:33am UTC](https://root-forum.cern.ch/t/unit-of-diffusion-coefficients-not-clear/45671/1 "2021-07-04T06:33:49Z")

</div>

Hello all,

I have been using Magboltz (interfaced with Garfield++) to generate some gas files to study the transport properties of some gas mixtures. I have noticed that while retrieving the transport parameters of the gas, the unit of Diffusion Coefficients (both longitudinal and tranverse) is in cm^(0.5) rather than in the unit that is generally used - (cm^2)/s. I tried to look at the Doxygen documentation - [Garfield++: Garfield::Medium Class Reference](https://garfieldpp.web.cern.ch/documentation/doxygen/html/classGarfield_1_1Medium.html#a40626fa14e6f68c316bfcd96cae54314)  
and also at the Garfield++ User Guide - [https://garfieldpp.web.cern.ch/garfieldpp/documentation/UserGuide.pdf](https://garfieldpp.web.cern.ch/garfieldpp/documentation/UserGuide.pdf),  
but I can’t see the mention of any conversion factor.

Hence, I would really appreciate it if someone would let me know the conversion factor that is associated with these units because otherwise I will not be able to make any inferences from the values of the Diffusion coefficients that I get.

Thank you.

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [July 4, 2021, 9:16am UTC](https://root-forum.cern.ch/t/unit-of-diffusion-coefficients-not-clear/45671/2 "2021-07-04T09:16:34Z")

</div>

I’m sure @hschindl will be able to help you

---

<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:** [July 4, 2021, 10:57am UTC](https://root-forum.cern.ch/t/unit-of-diffusion-coefficients-not-clear/45671/3 "2021-07-04T10:57:34Z")

</div>

Hi,

the (transverse) diffusion coefficient used in Garfield and Magboltz (let’s call it D’) is defined such that electrons drifting in a uniform electric field over a distance z have a spread

σ = D’ \sqrt{z}

in the directions transverse to the electric field. D’ (unit: \sqrt{cm}) is related to the usual diffusion coefficient (unit cm^2 / s) by

D’ = \sqrt{2 D / v}

where v is the drift velocity.

[https://garfieldpp.web.cern.ch/garfieldpp/qa/index.php?qa=1&qa\_1=why-is-the-unit-of-the-diffusion-coefficients-cm1-2](https://garfieldpp.web.cern.ch/garfieldpp/qa/index.php?qa=1&qa_1=why-is-the-unit-of-the-diffusion-coefficients-cm1-2)

I agree that it’s a bit confusing; I should add an explanation to the user guide…

---

<div class="post-metadata">

**Author:** ![SSJ](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/ccd318/32.png) [@SSJ](https://root-forum.cern.ch/u/SSJ)\
**Post date:** [July 5, 2021, 2:55pm UTC](https://root-forum.cern.ch/t/unit-of-diffusion-coefficients-not-clear/45671/4 "2021-07-05T14:55:47Z")

</div>

Thank you for such a prompt reply. So just to be sure, the same relation also works for longitudinal diffusion coefficient, or is there a different conversion relation for 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:** [July 5, 2021, 3:17pm UTC](https://root-forum.cern.ch/t/unit-of-diffusion-coefficients-not-clear/45671/5 "2021-07-05T15:17:42Z")

</div>

Hi,  
yes, the conversion works the same way for the longitudinal diffusion coefficient.

---

<div class="post-metadata">

**Author:** ![SSJ](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/ccd318/32.png) [@SSJ](https://root-forum.cern.ch/u/SSJ)\
**Post date:** [July 6, 2021, 4:38am UTC](https://root-forum.cern.ch/t/unit-of-diffusion-coefficients-not-clear/45671/6 "2021-07-06T04:38:00Z")

</div>

Awesome! Thank you.

---

<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:** [July 20, 2021, 4:38am UTC](https://root-forum.cern.ch/t/unit-of-diffusion-coefficients-not-clear/45671/7 "2021-07-20T04:38:24Z")

</div>

Closed on July 20, 2021, 4:38am UTC

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