Hello,I want to use the
DriftlineRKF
class to get the induced current of electrons and ions. I calculated the gas table and imported it into the program. But in the end, no current signal was obtained, and it was a blank.
The figure below is the result I got after running my code.
This is my code.
sdj.C (8.0 KB)
I look forward to your answer very much.
Not sure… Can you plot the weighting potential?
Today I replaced the DriftLineRKF
with AvalancheMC
, so that I can get the induced current signal.
It’s weird.
Yes, that’s weird, I need to look into that…
I added a line of code, and then I got the current signal.
drift.UseWeightingPotential(true);
I guess maybe , UseWeightingPotential
is off by default.
Hmm… yes, by default DriftLineRKF
uses the weighting field instead of the weighting potential for calculating the induced current.
Great that you made it work! I will do a bit of debugging to understand why using the weighting field didn’t work…
system
Closed
January 19, 2022, 2:09pm
8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.