# How can I add chlorine to garfield++?

**URL:** <https://root-forum.cern.ch/t/how-can-i-add-chlorine-to-garfield/46415>\
**Category:** Garfield++\
**Created:** [August 24, 2021, 12:39am UTC](https://root-forum.cern.ch/t/how-can-i-add-chlorine-to-garfield/46415 "2021-08-24T00:39:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thunder](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/thunder/32/27159_2.png) [@Thunder](https://root-forum.cern.ch/u/Thunder)\
**Post date:** [August 24, 2021, 12:39am UTC](https://root-forum.cern.ch/t/how-can-i-add-chlorine-to-garfield/46415/1 "2021-08-24T00:39:12Z")

</div>

Hi,

I am trying to simulate a gas cell with a mixed gas of Kr and Cl using garifled++.

The GEM example in the UserGuide file, it seems to be setting the gas via Magboltz.

But Magboltz doesn’t seem to have data on chlorine.

Is there any other way to use chlorine in garfield++?

---

<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:** [August 24, 2021, 7:22am UTC](https://root-forum.cern.ch/t/how-can-i-add-chlorine-to-garfield/46415/2 "2021-08-24T07:22:56Z")

</div>

Hi,  
not really, unfortunately. In theory, if you have data for the macroscopic electron transport parameters such as drift velocity, diffusion coefficients, Townsend coefficient etc. you can set them explicitly in the `Medium` class. Alternatively, you could contact the author of Magboltz and ask whether it’s possible to add chlorine to the list of gases (but that would take some time)…

---

<div class="post-metadata">

**Author:** ![Thunder](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/thunder/32/27159_2.png) [@Thunder](https://root-forum.cern.ch/u/Thunder)\
**Post date:** [August 24, 2021, 8:57am UTC](https://root-forum.cern.ch/t/how-can-i-add-chlorine-to-garfield/46415/3 "2021-08-24T08:57:54Z")

</div>

Thanks for your reply.

I’ll look up the data or contact the author.

---

<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:** [September 7, 2021, 8:58am UTC](https://root-forum.cern.ch/t/how-can-i-add-chlorine-to-garfield/46415/4 "2021-09-07T08:58:23Z")

</div>

Closed on September 7, 2021, 8:58am UTC

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