# Garfield++

**URL:** https://root-forum.cern.ch/c/garfieldxx/25.md

[Latest](https://root-forum.cern.ch/latest.md) · [Categories](https://root-forum.cern.ch/categories.md) · [Tags](https://root-forum.cern.ch/tags.md)

---

## [About the Garfield++ category](https://root-forum.cern.ch/t/about-the-garfield-category/29418)

<div class="topic-metadata">

**Author:** [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 2:53pm UTC](https://root-forum.cern.ch/t/about-the-garfield-category/29418 "2018-06-19T14:53:18Z")

</div>

Discuss Garfield-related problems here!

---

## [FE mesh visualisation of silvaco str file](https://root-forum.cern.ch/t/fe-mesh-visualisation-of-silvaco-str-file/65055)

<div class="topic-metadata">

**Author:** [@venomslasher](https://root-forum.cern.ch/u/venomslasher)\
**Replies:** 1\
**Last updated:** [November 18, 2026, 12:25pm UTC](https://root-forum.cern.ch/t/fe-mesh-visualisation-of-silvaco-str-file/65055 "2026-11-18T12:25:24Z")

</div>

Hi all, I was trying to visualise the mesh generated from Silvaco, stored in a str file. I have also tried with the Sentaurus provided in the example TCAD. In both cases, I am unable to get a render in the root TCanvas.…

---

## [Title: Garfield++ TrackSrim: premature termination at low ion energy and possible cluster-size dependence of ionisation yield](https://root-forum.cern.ch/t/title-garfield-tracksrim-premature-termination-at-low-ion-energy-and-possible-cluster-size-dependence-of-ionisation-yield/65042)

<div class="topic-metadata">

**Author:** [@pedro](https://root-forum.cern.ch/u/pedro)\
**Replies:** 1\
**Last updated:** [October 30, 2026, 4:52pm UTC](https://root-forum.cern.ch/t/title-garfield-tracksrim-premature-termination-at-low-ion-energy-and-possible-cluster-size-dependence-of-ionisation-yield/65042 "2026-10-30T16:52:46Z")

</div>

Hello, I am using Garfield++ TrackSrim to simulate low-energy lithium-ion ionisation. I found unexpectedly low electron yields and would appreciate advice on whether my interpretation and proposed changes are reasonable…

---

## [Avalanche photons in Garfield++](https://root-forum.cern.ch/t/avalanche-photons-in-garfield/65003)

<div class="topic-metadata">

**Author:** [@lomarcel](https://root-forum.cern.ch/u/lomarcel)\
**Replies:** 6\
**Last updated:** [October 16, 2026, 10:20am UTC](https://root-forum.cern.ch/t/avalanche-photons-in-garfield/65003 "2026-10-16T10:20:24Z")

</div>

Dear all I have a question regarding the handling of avalanche photons in AvalancheMicroscopic. What I do in my code is to extract from TrackHeed the number of clusters, loop over all the clusters electrons and for eac…

---

## [GarfieldGPU Elmer](https://root-forum.cern.ch/t/garfieldgpu-elmer/64965)

<div class="topic-metadata">

**Author:** [@malkaiser](https://root-forum.cern.ch/u/malkaiser)\
**Replies:** 1\
**Last updated:** [August 6, 2026, 1:25pm UTC](https://root-forum.cern.ch/t/garfieldgpu-elmer/64965 "2026-08-06T13:25:47Z")

</div>

Hi all, I’d just like to confirm whether or not GPU acceleration works with Elmer at the minute - the GemGPU example with Ansys works fine, but modifying the Elmer lem example to use AvalancheMicroscopic with GPU via Se…

---

## [Avalanche Microscopic in neBEM is too slow](https://root-forum.cern.ch/t/avalanche-microscopic-in-nebem-is-too-slow/64953)

<div class="topic-metadata">

**Author:** [@DanielFachieri](https://root-forum.cern.ch/u/DanielFachieri)\
**Replies:** 4\
**Last updated:** [July 30, 2026, 3:12pm UTC](https://root-forum.cern.ch/t/avalanche-microscopic-in-nebem-is-too-slow/64953 "2026-07-30T15:12:30Z")

</div>

Dear all, I’m trying to run a simulation of a GEM to quantify gain and transparency. I used the biconical gem example in Garfield/Examples/neBEM, added the gas volume to the script and run the for loop to just 5 events …

---

## [AvalancheMicroscopic RAM increased usage in newest commits](https://root-forum.cern.ch/t/avalanchemicroscopic-ram-increased-usage-in-newest-commits/64935)

<div class="topic-metadata">

**Author:** [@Ciepiel1](https://root-forum.cern.ch/u/Ciepiel1)\
**Replies:** 5\
**Last updated:** [July 14, 2026, 10:00am UTC](https://root-forum.cern.ch/t/avalanchemicroscopic-ram-increased-usage-in-newest-commits/64935 "2026-07-14T10:00:56Z")

</div>

Hello, I’m running triple GEM simulations and when trying to generate signals I ran into a problem. Trying to simulate electrons from one avalanche starting from the induction gap (75000 electrons): propagate them with …

---

## [Problem with Silvaco TCAD to Garfield++](https://root-forum.cern.ch/t/problem-with-silvaco-tcad-to-garfield/64914)

<div class="topic-metadata">

**Author:** [@ahaines561](https://root-forum.cern.ch/u/ahaines561)\
**Replies:** 6\
**Last updated:** [July 6, 2026, 4:24pm UTC](https://root-forum.cern.ch/t/problem-with-silvaco-tcad-to-garfield/64914 "2026-07-06T16:24:02Z")

</div>

I am working on modeling a silicon diode and electron avalanche simulation and am looking to import electric field maps and geometry profiles generated in Silvaco TCAD (specifically .str structure and .sta files). Lookin…

---

## [Building problem with GPU](https://root-forum.cern.ch/t/building-problem-with-gpu/64902)

<div class="topic-metadata">

**Author:** [@katoy](https://root-forum.cern.ch/u/katoy)\
**Replies:** 4\
**Last updated:** [June 24, 2026, 5:59am UTC](https://root-forum.cern.ch/t/building-problem-with-gpu/64902 "2026-06-24T05:59:39Z")

</div>

I’m trying to build Garfield (master blanch) with GPU in my PC(AlmaLinux10.2). My PC has already installed ROOT v6.36.04 and v6.40.00 . When I build Garfield, the below message showed and can’t build it. $cmake -Dcuda=O…

---

## [Penning effect for Drift Tube for (Ar/CO2)](https://root-forum.cern.ch/t/penning-effect-for-drift-tube-for-ar-co2/64888)

<div class="topic-metadata">

**Author:** [@rostislav](https://root-forum.cern.ch/u/rostislav)\
**Replies:** 6\
**Last updated:** [June 10, 2026, 10:59pm UTC](https://root-forum.cern.ch/t/penning-effect-for-drift-tube-for-ar-co2/64888 "2026-06-10T22:59:19Z")

</div>

Hello everyone. I attempted to reproduce the results presented in the paper ( 1-s2.0-S0168900214010924-main.pdf (871.9 KB)(1) ) for a drift tube filled with an Ar (50%) + CO₂ (50%) gas mixture. However, the values obt…

---

## [Residual kinetic energy of Li7 from TrackSrim in Garfield++](https://root-forum.cern.ch/t/residual-kinetic-energy-of-li7-from-tracksrim-in-garfield/64839)

<div class="topic-metadata">

**Author:** [@pedro](https://root-forum.cern.ch/u/pedro)\
**Replies:** 3\
**Last updated:** [May 16, 2026, 8:41am UTC](https://root-forum.cern.ch/t/residual-kinetic-energy-of-li7-from-tracksrim-in-garfield/64839 "2026-05-16T08:41:39Z")

</div>

@hschindl I’m using Tracksrim in garfield++ to simulate detector response. When Li7 particles propagate in the He/N2 gas volume, I noticed that clusters.back().kinetic always leaves 5–30 keV kinetic energy that is not co…

---

## [Trying simulationo of the hole(mesh) in the garfield++](https://root-forum.cern.ch/t/trying-simulationo-of-the-hole-mesh-in-the-garfield/64799)

<div class="topic-metadata">

**Author:** [@rostislav](https://root-forum.cern.ch/u/rostislav)\
**Replies:** 12\
**Last updated:** [May 10, 2026, 9:00pm UTC](https://root-forum.cern.ch/t/trying-simulationo-of-the-hole-mesh-in-the-garfield/64799 "2026-05-10T21:00:42Z")

</div>

Hello everyone. Sorry to bother you. I am trying to model a Micromegas detector mesh in Garfield++. As a first step, I want to model a single square hole in the mesh. The hole size is 70 × 70 µm. The detector configurati…

---

## [How to calculate nuclear stopping energy in gas](https://root-forum.cern.ch/t/how-to-calculate-nuclear-stopping-energy-in-gas/64831)

<div class="topic-metadata">

**Author:** [@pedro](https://root-forum.cern.ch/u/pedro)\
**Replies:** 4\
**Last updated:** [May 9, 2026, 8:22am UTC](https://root-forum.cern.ch/t/how-to-calculate-nuclear-stopping-energy-in-gas/64831 "2026-05-09T08:22:31Z")

</div>

I am using Garfield++ TrackSrim to simulate the ionization produced by the Li-7 and alpha particles from the reaction in a gas-filled compensated ionization chamber. The detector geometry contains a gas gap between elec…

---

## [Creating a custom gas with imported transport data](https://root-forum.cern.ch/t/creating-a-custom-gas-with-imported-transport-data/64793)

<div class="topic-metadata">

**Author:** [@Max\_Schmit](https://root-forum.cern.ch/u/Max_Schmit)\
**Replies:** 12\
**Last updated:** [April 24, 2026, 1:47pm UTC](https://root-forum.cern.ch/t/creating-a-custom-gas-with-imported-transport-data/64793 "2026-04-24T13:47:00Z")

</div>

Hi everyone, I am trying to create a custom gas in Garfield++ for a gas that is not implemented in Garfield/Magboltz (in my case TMS). Since integrating full cross sections into Magboltz is not feasible, I am instead us…

---

## [Error in ComponentGrid::GetData?](https://root-forum.cern.ch/t/error-in-componentgrid-getdata/64813)

<div class="topic-metadata">

**Author:** [@JoeM](https://root-forum.cern.ch/u/JoeM)\
**Replies:** 3\
**Last updated:** [April 23, 2026, 12:41pm UTC](https://root-forum.cern.ch/t/error-in-componentgrid-getdata/64813 "2026-04-23T12:41:39Z")

</div>

Hello, I think there’s a small error in the GetData function of ComponentGrid.cpp as Reduce is called on xi only and not yi and zi. Thanks for keeping Garfield++ going, Joe.

---

## [Magboltz attachment coefficients at low electric field strength](https://root-forum.cern.ch/t/magboltz-attachment-coefficients-at-low-electric-field-strength/64809)

<div class="topic-metadata">

**Author:** [@jondclarke](https://root-forum.cern.ch/u/jondclarke)\
**Replies:** 2\
**Last updated:** [April 21, 2026, 5:46pm UTC](https://root-forum.cern.ch/t/magboltz-attachment-coefficients-at-low-electric-field-strength/64809 "2026-04-21T17:46:14Z")

</div>

I wasn’t sure where to post for help with Magboltz, so I’m hoping the ROOT newbie forum will be gentle! I am a PhD student working on the NEWS-G dark matter experiment at Queen’s University, Canada. I am studying the ef…

---

## [NeBem error during installation in macos 12.4.8 sonoma](https://root-forum.cern.ch/t/nebem-error-during-installation-in-macos-12-4-8-sonoma/64777)

<div class="topic-metadata">

**Author:** [@Trinayan\_Saikia](https://root-forum.cern.ch/u/Trinayan_Saikia)\
**Replies:** 2\
**Last updated:** [March 30, 2026, 2:31pm UTC](https://root-forum.cern.ch/t/nebem-error-during-installation-in-macos-12-4-8-sonoma/64777 "2026-03-30T14:31:00Z")

</div>

\[ 15%\] Building CXX object NeBem/CMakeFiles/neBEM.dir/Isles.c.o clang: warning: treating ‘c’ input as ‘c++’ when in C++ mode, this behavior is deprecated \[-Wdeprecated\] /Users/trinitysantiago/trinity\_data/softwares/gar…

---

## [ERROR: GPU use requested but Garfield has not been built with GPU support](https://root-forum.cern.ch/t/error-gpu-use-requested-but-garfield-has-not-been-built-with-gpu-support/64764)

<div class="topic-metadata">

**Author:** [@wgb520](https://root-forum.cern.ch/u/wgb520)\
**Replies:** 4\
**Last updated:** [March 27, 2026, 8:23am UTC](https://root-forum.cern.ch/t/error-gpu-use-requested-but-garfield-has-not-been-built-with-gpu-support/64764 "2026-03-27T08:23:31Z")

</div>

Hello, When I attempted to run the GEMGPU program in Ubuntu 24.04 using WSL2, and used the parameter “–gpu”, it displayed the error message “ERROR: Requested GPU usage but Garfield has not been built with GPU support” A…

---

## [The VSCode editor cannot find the Garfield++ header file](https://root-forum.cern.ch/t/the-vscode-editor-cannot-find-the-garfield-header-file/64751)

<div class="topic-metadata">

**Author:** [@wgb520](https://root-forum.cern.ch/u/wgb520)\
**Replies:** 3\
**Last updated:** [March 13, 2026, 2:39pm UTC](https://root-forum.cern.ch/t/the-vscode-editor-cannot-find-the-garfield-header-file/64751 "2026-03-13T14:39:08Z")

</div>

ROOT Version: 6.36.08 Built for linuxx8664gcc on Mar 10 2026, 09:46:52 cmake version 3.28.3 gcc version 13.3.0 I have successfully installed Garfield++ and VSCode, but my compiler is unable to correctly recognize the…

---

## [MultiCore implementation with neBEM](https://root-forum.cern.ch/t/multicore-implementation-with-nebem/64729)

<div class="topic-metadata">

**Author:** [@gzunica](https://root-forum.cern.ch/u/gzunica)\
**Replies:** 3\
**Last updated:** [March 9, 2026, 2:51pm UTC](https://root-forum.cern.ch/t/multicore-implementation-with-nebem/64729 "2026-03-09T14:51:05Z")

</div>

Dear Experts, I am am trying to parallelise the computation and inversion of the influence matrix in neBEM. I’m using “nebem.SetNumberOf Threads()” to do so, but it seems that increasing the number of requested cores i…

---

## [Suppress Penning Transfer G++ Warning?](https://root-forum.cern.ch/t/suppress-penning-transfer-g-warning/64730)

<div class="topic-metadata">

**Author:** [@JamesIV](https://root-forum.cern.ch/u/JamesIV)\
**Replies:** 3\
**Last updated:** [March 5, 2026, 8:23pm UTC](https://root-forum.cern.ch/t/suppress-penning-transfer-g-warning/64730 "2026-03-05T20:23:42Z")

</div>

Hey! Real quick question. Is it possible to suppress the following warning message in Garfield++? “MediumMagboltz::EnablePenningTransfer: Warning: present gas table has no ionisation rates. Ignore this message if you …

---

## [Garfield++ source code contribution](https://root-forum.cern.ch/t/garfield-source-code-contribution/64691)

<div class="topic-metadata">

**Author:** [@xkolar74](https://root-forum.cern.ch/u/xkolar74)\
**Replies:** 3\
**Last updated:** [February 12, 2026, 9:37am UTC](https://root-forum.cern.ch/t/garfield-source-code-contribution/64691 "2026-02-12T09:37:47Z")

</div>

Hello, I am following up on my previous forum post regarding the simulation of a spherical proportional counter using rotational symmetry of 2D FieldMap: https://root-forum.cern.ch/t/simulation-of-spherical-proportiona…

---

## [Installation error at make step](https://root-forum.cern.ch/t/installation-error-at-make-step/64627)

<div class="topic-metadata">

**Author:** [@Divyang](https://root-forum.cern.ch/u/Divyang)\
**Replies:** 11\
**Last updated:** [February 8, 2026, 8:45pm UTC](https://root-forum.cern.ch/t/installation-error-at-make-step/64627 "2026-02-08T20:45:15Z")

</div>

Hello, I am trying to install Garfield++ using the instructions from this webpage: Installation - Garfield++ At the “make -j4” step, I encountered the following error In file included from input\_line\_9:7: In file incl…

---

## [Issue with multible gas volumes as active medium](https://root-forum.cern.ch/t/issue-with-multible-gas-volumes-as-active-medium/64629)

<div class="topic-metadata">

**Author:** [@ErikEhlert](https://root-forum.cern.ch/u/ErikEhlert)\
**Replies:** 4\
**Last updated:** [February 4, 2026, 2:12pm UTC](https://root-forum.cern.ch/t/issue-with-multible-gas-volumes-as-active-medium/64629 "2026-02-04T14:12:48Z")

</div>

Hello, I’m just starting with Garfield++ and have hit my first roadblock during the geometry/detector setup. Tl-dr: Only one of the gas volumes is used as active medium. I am trying to simulate a 3 layer GEM detector.…

---

## [Error analysis for Magboltz or gas file](https://root-forum.cern.ch/t/error-analysis-for-magboltz-or-gas-file/64622)

<div class="topic-metadata">

**Author:** [@wjsdms0721](https://root-forum.cern.ch/u/wjsdms0721)\
**Replies:** 3\
**Last updated:** [February 4, 2026, 1:12pm UTC](https://root-forum.cern.ch/t/error-analysis-for-magboltz-or-gas-file/64622 "2026-02-04T13:12:36Z")

</div>

Hello. I am curious about something analysing .gas file data. I have understood that ncoll in gas.GenerateGasTable(ncoll) defines the number of collision multiplied by 1e+7 while an electron moves through the gas. Howe…

---

## [Field lines crossing conductor plates in neBEM](https://root-forum.cern.ch/t/field-lines-crossing-conductor-plates-in-nebem/64590)

<div class="topic-metadata">

**Author:** [@gzunica](https://root-forum.cern.ch/u/gzunica)\
**Replies:** 4\
**Last updated:** [February 3, 2026, 10:24pm UTC](https://root-forum.cern.ch/t/field-lines-crossing-conductor-plates-in-nebem/64590 "2026-02-03T22:24:24Z")

</div>

Dear Experts, I am simulating an MPGD with neBEM. The geometry is a simple parallel plate with an insulator layer on top of the lower conductor plate/backplane and alternating field/sense strips on top of the insulator (…

---

## [Electrons can not drift in xeon](https://root-forum.cern.ch/t/electrons-can-not-drift-in-xeon/64617)

<div class="topic-metadata">

**Author:** [@wxj-imp](https://root-forum.cern.ch/u/wxj-imp)\
**Replies:** 1\
**Last updated:** [January 29, 2026, 4:31pm UTC](https://root-forum.cern.ch/t/electrons-can-not-drift-in-xeon/64617 "2026-01-29T16:31:57Z")

</div>

Dear Experts When I use TrackSrim and ComponentComsol to simulate the drift of electrons ionized by alpha track,something wrong occured.The electrons seems cannot drift to anode(a pin-shape anode),the code stopped at th…

---

## [Announcement of a school dedicated to the simulation of Gaseous Detectors](https://root-forum.cern.ch/t/announcement-of-a-school-dedicated-to-the-simulation-of-gaseous-detectors/64582)

<div class="topic-metadata">

**Author:** [@Piet](https://root-forum.cern.ch/u/Piet)\
**Replies:** 0\
**Last updated:** [January 12, 2026, 12:28pm UTC](https://root-forum.cern.ch/t/announcement-of-a-school-dedicated-to-the-simulation-of-gaseous-detectors/64582 "2026-01-12T12:28:39Z")

</div>

Dear Colleagues, As you are using this forum for all questions related to the simulation of particle detectors with Garfield++, we would like to take the opportunity to inform you about the DRD1 Gaseous Detector Simulat…

---

## [Charge Sharing Phenomenon between Collector and Guard Ring in GARFIELD Ionization Chamber Simulation](https://root-forum.cern.ch/t/charge-sharing-phenomenon-between-collector-and-guard-ring-in-garfield-ionization-chamber-simulation/64554)

<div class="topic-metadata">

**Author:** [@pedro](https://root-forum.cern.ch/u/pedro)\
**Replies:** 3\
**Last updated:** [January 12, 2026, 12:18pm UTC](https://root-forum.cern.ch/t/charge-sharing-phenomenon-between-collector-and-guard-ring-in-garfield-ionization-chamber-simulation/64554 "2026-01-12T12:18:13Z")

</div>

I’m simulating an ionization chamber with GARFIELD, where the electric field is imported from COMSOL. An electron-ion pair is generated inside the chamber, with the anode on the top and the bottom electrode consisting of…

---

## [Unexpected diffusion with AvalancheMC at high pressure (10 atm) for negative ions](https://root-forum.cern.ch/t/unexpected-diffusion-with-avalanchemc-at-high-pressure-10-atm-for-negative-ions/64548)

<div class="topic-metadata">

**Author:** [@dm-leo](https://root-forum.cern.ch/u/dm-leo)\
**Replies:** 1\
**Last updated:** [December 22, 2025, 5:34pm UTC](https://root-forum.cern.ch/t/unexpected-diffusion-with-avalanchemc-at-high-pressure-10-atm-for-negative-ions/64548 "2025-12-22T17:34:10Z")

</div>

Dear all, I am encountering an issue with AvalancheMC when simulating negative ion drift in SF6 at high pressure (10 atm / 7600 Torr). The model is just two parallel plates, the mobility is loaded by external file with…

[Next page](https://root-forum.cern.ch/c/garfieldxx/25.md?page=1)
