No calculation of electrons related information

Hi! I use comsol to build a model and import it into Garfield for signal simulation. During operation, the program don’t report errors and the electric field map have been successfully displayed, but the information about the track and position of electrons has not been calculated. I want to know what’s going on.
This is the running result:

Heed:
Database path: /home/jack/garfield/Heed/heed++/database
MediumMagboltz::LoadGasFile: Reading p160kpa.gas.
MediumMagboltz::LoadGasFile: Version 12
MediumMagboltz::LoadGasFile:
Gas composition set to Ar/CH4 (90/10)
MediumMagboltz::LoadIonMobility:
Read 26 values from file /home/jack/garfield/Data/IonMobility_Ar+_Ar.txt
ComponentComsol::Initialise: 149389 nodes.
ComponentComsol::Initialise: 109951 elements.
ComponentComsol::Initialise: Reading potentials.
[======================================================================]
ComponentComsol::Initialise: Done.
ComponentComsol::PrintRange:
Dimensions of the elementary block
-15 < x < 15 cm,
-15 < y < 15 cm,
-20 < z < 20 cm,
0 < V < 1000 V.
Periodicities
x: none
y: none
z: none
ComponentComsol::PrintMaterials:
Currently 2 materials are defined.
Index Permittivity Resistivity Notes
0 1 -1 Ar/CH4, drift medium, ionisable (drift medium)
1 1e+10 -1
Sensor::AddElectrode:
Added readout electrode “cathode”.
All signals are reset.
Sensor::AddElectrode:
Added readout electrode “anodeT”.
All signals are reset.
Sensor::AddElectrode:
Added readout electrode “anodeB”.
All signals are reset.
Sensor::SetTimeWindow: Resetting all signals.
ComponentComsol::FindElement13:
Caching the bounding boxes of all elements… done.
ComponentComsol::InitializeTetrahedralTree: Success.
TrackSrim::Print:
SRIM energy loss table

Energy     EM Loss     HD loss       Range  l straggle  t straggle
 [MeV]    [MeV/cm]    [MeV/cm]        [cm]       [cm]        [cm]

     1     3.20501  0.00383607       0.363    0.027555    0.035188
   1.1     3.10563  0.00354538       0.394     0.02819    0.036077
   1.2     3.00873  0.00329942       0.427    0.028837    0.036971
   1.3     2.91432  0.00308823       0.461      0.0295    0.037874
   1.4     2.82488   0.0029019       0.495    0.030181    0.038791
   1.5     2.73792   0.0027404       0.531    0.030881    0.039726
   1.6     2.65842   0.0025963       0.568    0.031601    0.040681
   1.7      2.5814  0.00246761       0.606    0.032341    0.041659
   1.8     2.51183  0.00235208       0.645    0.033103     0.04266
     2     2.37965  0.00215232       0.726    0.035626     0.04474
  2.25     2.23506  0.00194859       0.834    0.039475    0.047493
   2.5     2.10884  0.00178213       0.949    0.043405    0.050426
  2.75     1.99779  0.00164375       1.071    0.047419    0.053542
     3     1.89915  0.00152623       1.198    0.051515    0.056843
  3.25      1.8112  0.00142536       1.333    0.055693    0.060328
   3.5     1.73194   0.0013379       1.474    0.059951    0.063995
  3.75     1.66039  0.00126113       1.621    0.064286    0.067842
     4      1.5953  0.00119331       1.774    0.068697    0.071865
   4.5     1.48151  0.00107827       2.098    0.084203    0.080431
     5     1.38461  0.000984607       2.446     0.09916    0.089663
   5.5     1.30138  0.000906842       2.818       0.114    0.099535
     6     1.22908  0.000841003       3.212       0.129        0.11

Work function: 27000 eV
Fano factor: 0.19
Ion charge: 2
Mass: 3728.77 MeV
Density: 0.0024845 g/cm3
A, Z: 21.3904, 10
New Track
New Track
New Track
New Track
New Track
New Track
New Track
New Track
New Track
New Track
Sensor::IntegrateSignal: No signals present.
Sensor::IntegrateSignal: No signals present.
Sensor::IntegrateSignal: No signals present.
Done

I sincerely thank you for your help.

Hi,
this doesn’t seem right:

Work function: 27000 eV

Do you set the W value explicitly in your code?

Sorry, I’m a beginner. What does the W value mean?
This is my code:
tpctest.cpp (9.7 KB)

Thank you very much for your suggestion. I turned down the value of w, and the program calculated the electron trajectory, but no signal came out. Are there any other problems in the code?

Sorry for my late reply. I didn’t spot anything obvious in the code. If you provide your gas file and SRIM output file I can take a look…

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