comsol导入garfieldpp,测试时报错,得出图片空白是为什么,
E = (-0, -0, -0)
V = 0
status = 0
❌ 错误:电场为0 → potential.txt有问题
✅ 介质存在(gas映射成功)
ComponentComsol::Coordinates13:
buntu@ubuntu-virtual-machine:~/garfieldpp_old/shili/THGEM$ ./test_comsol
==== TEST START ====
ComponentComsol::Initialise: 15056 nodes.
ComponentComsol::Initialise: 10073 elements.
ComponentComsol::Initialise: Reading potentials.
ComponentComsol::Initialise:
Missing potentials for 14666 nodes.
ComponentComsol::Prepare:
Caching the bounding boxes of all elements... done.
Initialized tetrahedral tree.
ComponentComsol::Initialise: Done.
--- 电场范围 ---
ComponentComsol::PrintRange:
Dimensions of the elementary block
-0.02 < x < 0.02 cm,
-0.02 < y < 0.02 cm,
-0.25 < z < 0.25 cm,
-1300 < V < 450 V.
Periodicities
x: none
y: none
z: none
--- 材料信息 ---
ComponentComsol::PrintMaterials:
Currently 3 materials are defined.
Index Permittivity Resistivity Notes
0 1 -1 (drift medium)
1 1 -1
2 4.4 -1
MediumMagboltz::SetComposition: Ar/CO2 (80/20)
MediumMagboltz::Mixer:
4000 linear energy steps between 0 and 40 eV.
ARGON ANISOTROPIC 201
mass: 39.948 amu
ionisation threshold: 15.7596 eV
44 inelastic terms (44 excitations, 0 superelastic, 0 other)
CO2 2018 ANISOTROPIC
mass: 44.0095 amu
ionisation threshold: 13.776 eV
144 inelastic terms (0 excitations, 35 superelastic, 109 other)
MediumMagboltz::Mixer:
Lowest ionisation threshold in the mixture: 13.776 eV (CO2)
MediumMagboltz::Mixer:
Energy [eV] Collision Rate [ns-1]
2.50 1068.85
7.50 2892.41
12.50 5363.62
17.50 8777.02
22.50 11300.56
27.50 12660.82
32.50 12521.53
37.50 12101.91
MediumMagboltz::ComputePhotonCollisionTable:
Energy [eV] Mean free path [um]
1.00 ------------
3.00 ------------
5.00 ------------
7.00 288302.9619
9.00 3279.0615
11.00 23.1076
13.00 31.4118
15.00 145.1898
17.00 13.2429
19.00 11.1775
MediumMagboltz::EnablePenningTransfer:
Warning: present gas table has no ionisation rates.
Ignore this message if you are using microscopic tracking only.
MediumMagboltz::EnablePenningTransfer:
Penning transfer probability for 44 Ar excitation levels set to r = 0.5
ComponentComsol::SetGas: Associating material 0 with Ar/CO2.
ComponentComsol::SetGas: Associating material 1 with Ar/CO2.