# The relationship between the gas pressure and the average collected charge

**URL:** <https://root-forum.cern.ch/t/the-relationship-between-the-gas-pressure-and-the-average-collected-charge/48972>\
**Category:** Garfield++\
**Created:** [February 28, 2022, 6:35am UTC](https://root-forum.cern.ch/t/the-relationship-between-the-gas-pressure-and-the-average-collected-charge/48972 "2022-02-28T06:35:06Z")\
**Posts on this page:** 5\
**Page:** 6

<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 24, 2022, 2:50pm UTC](https://root-forum.cern.ch/t/the-relationship-between-the-gas-pressure-and-the-average-collected-charge/48972/104 "2022-03-24T14:50:20Z")

</div>

Yes, that’s correct. There is no out-of-the-box method for simulating space charge in Garfield++. With `ComponentAnalyticField` you can include point charges but I’m afraid it won’t be straightforward to simulate your scenario.

---

<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 24, 2022, 2:50pm UTC](https://root-forum.cern.ch/t/the-relationship-between-the-gas-pressure-and-the-average-collected-charge/48972/105 "2022-03-24T14:50:55Z")

</div>

> [@XiCheng](#):
>
> Can I consider it to be that the bigger value of ncoll, the precisely of the calculation results.

Correct.

---

<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 24, 2022, 2:53pm UTC](https://root-forum.cern.ch/t/the-relationship-between-the-gas-pressure-and-the-average-collected-charge/48972/106 "2022-03-24T14:53:36Z")

</div>

> [@XiCheng](#):
>
> The ne is 20

nE = 20 means 20 intervals (i. e. 20 points between emin and emax), not a spacing of 20 V/cm. Please have a look at the available documentation, e. g. [this page](https://garfieldpp.web.cern.ch/garfieldpp/examples/gasfiles/).

---

<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:** [March 25, 2022, 2:48am UTC](https://root-forum.cern.ch/t/the-relationship-between-the-gas-pressure-and-the-average-collected-charge/48972/107 "2022-03-25T02:48:54Z")

</div>

Hi,  
Thanks a lot for your reply  
I will proceed to finish the work, and I find that there are some software based on the Monte Carlo to simulate the particle transportation,such as the Garfield++, the Geant 4, the Fluka etc. Do you know what’s the different between them or the advantages respectively

---

<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:** [April 8, 2022, 2:49am UTC](https://root-forum.cern.ch/t/the-relationship-between-the-gas-pressure-and-the-average-collected-charge/48972/108 "2022-04-08T02:49:39Z")

</div>

Closed on April 8, 2022, 2:49am 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/the-relationship-between-the-gas-pressure-and-the-average-collected-charge/48972.md?page=5)
