Removed comments and added examples

This commit is contained in:
Jonas Kellerer
2022-11-21 13:44:24 +01:00
parent b7a65dd8fe
commit f2d4ad3525
38 changed files with 209 additions and 20902 deletions
+90 -190
View File
@@ -2,7 +2,7 @@
"GlobalPositionBinning": {
"CylinderBinning": {
"Radial": {
"NumberOfBins": 15,
"NumberOfBins": 1,
"MaxRadius": {
"value": 4.5,
"unit": "cm"
@@ -16,7 +16,7 @@
}
},
"Azimuthal": {
"NumberOfBins": 4
"NumberOfBins": 1
}
}
},
@@ -55,23 +55,21 @@
"PiecewiseLinear": {
"xValues": [
0,
1.43,
3,
8,
13,
14.57,
7.4999,
7.5,
8.5,
8.5001,
16
],
"yValues": [
5E-4,
0.002,
0.02,
0,
0,
1,
0.02,
0.002,
5E-4
1,
0,
0
],
"prefactor": 1E20
"prefactor": 1E22
}
}
}
@@ -114,20 +112,8 @@
}
},
"fk": {
"PiecewiseLinear": {
"xValues": [
0,
7.99,
8.01,
16
],
"yValues": [
-100,
-100,
100,
100
],
"prefactor": 1
"Constant": {
"constant": 0
}
}
}
@@ -141,122 +127,10 @@
"e-": {
"ParticleType": "electron",
"Mover": {
"Boris": {
"BorisStepsPerMovementCylce": 10,
"MaximalTimestepLength": {
"value": 1E-12,
"unit": "s"
}
}
},
"Terminator": {
"MaximumInteractions": 1E6,
"MaxTimeAlive": {
"value": 1,
"unit": "s"
},
"BoundaryGeometry": {
"Cylinder": {
"Radius": {
"value": 4.5,
"unit": "cm"
},
"Height": {
"value": 1600,
"unit": "cm"
}
}
}
},
"Reflector": {
"ReflectorDPS": {
"position_z": {
"value": 1600,
"unit": "cm"
}
}
},
"DensityField": {
"DynamicDensityField": {
"PositionBinning": {
"CreateSameAs": [
"GlobalPositionBinning"
]
},
"EnergyBinning": {
"Type": "Logarithmic",
"NumberOfBins": 100,
"MinEnergy": {
"value": 1E-6,
"unit": "eV"
},
"MaxEnergy": {
"value": 20E3,
"unit": "eV"
}
}
}
},
"VelocityDistribution": {
"null": {}
},
"DriftVelocity": {
"null": {}
},
"Loggers": {
"Deletion": {
"Type": "all"
}
},
"CurrentCollector": {
"PositionBinning": {
"CreateSameAs": [
"GlobalPositionBinning"
]
}
},
"Interactions": {
"elastic": {
"Type": "ElasticScattering",
"CrossSection": {
"PredefinedFunction": "eT2_elastic_scattering_constant"
},
"Target": "TritiumGas",
"ScatteringAngleDistribution": {
"Isotropic": {}
}
},
"janev_non_diss": {
"Type": "ElectronIonization",
"IonizationModel": "JanevNonDiss",
"Target": "TritiumGas",
"OutgoingElectron": "e-",
"OutgoingIon": "T2+"
},
"janev_diss_to_ground": {
"Type": "ElectronIonization",
"IonizationModel": "JanevDissToGround",
"Target": "TritiumGas",
"OutgoingElectron": "e-",
"OutgoingIon": "T+"
},
"janev_diss_to_first_excited": {
"Type": "ElectronIonization",
"IonizationModel": "JanevDissToFirstExcited",
"Target": "TritiumGas",
"OutgoingElectron": "e-",
"OutgoingIon": "T+"
}
}
},
"T2+": {
"ParticleType": "T2+",
"Mover": {
"Boris": {
"BorisStepsPerMovementCylce": 10,
"MaximalTimestepLength": {
"value": 1E-8,
"unit": "s"
"Drift": {
"MaximalMovedDistance": {
"value": 0.001,
"unit": "m"
}
}
},
@@ -297,7 +171,7 @@
"unit": "eV"
},
"MaxEnergy": {
"value": 1E3,
"value": 1E2,
"unit": "eV"
}
}
@@ -322,19 +196,32 @@
}
},
"Interactions": {
"name1": {
"free": {
"Type": "FreeMovement"
},
"elastic": {
"Type": "ElasticScattering",
"CrossSection": {
"1dFunction": {
"Constant": {
"constant": 1.412E-19
}
}
},
"Target": "TritiumGas",
"ScatteringAngleDistribution": {
"Isotropic": {}
}
}
}
},
"T+": {
"ParticleType": "T+",
"Mover": {
"Boris": {
"BorisStepsPerMovementCylce": 10,
"MaximalTimestepLength": {
"value": 1E-8,
"unit": "s"
"Drift": {
"MaximalMovedDistance": {
"value": 0.001,
"unit": "m"
}
}
},
@@ -400,8 +287,22 @@
}
},
"Interactions": {
"name1": {
"free": {
"Type": "FreeMovement"
},
"elastic": {
"Type": "ElasticScattering",
"CrossSection": {
"1dFunction": {
"Constant": {
"constant": 1.412E-19
}
}
},
"Target": "TritiumGas",
"ScatteringAngleDistribution": {
"Isotropic": {}
}
}
}
}
@@ -414,12 +315,24 @@
"CreationVelocityDistribution": {
"VelocityDistributionFromFunction": {
"VelocityDistributionFunction": {
"IsotropicDistribution": {
"DirectedDistribution": {
"EnergyDistributionFunction": {
"TritiumBetaDecay": {}
"Constant": {
"constant": {
"value": 8E-3,
"unit": "eV"
}
}
},
"Mass": {
"FromParticleType": "electron"
},
"Direction": {
"vector": [
0,
0,
-1
]
}
}
}
@@ -427,21 +340,28 @@
}
},
"specie2": {
"TrackedSpecieName": "T2+",
"TrackedSpecieName": "T+",
"CreationVelocityDistribution": {
"VelocityDistributionFromFunction": {
"VelocityDistributionFunction": {
"IsotropicDistribution": {
"DirectedDistribution": {
"EnergyDistributionFunction": {
"MaxwellBoltzmann": {
"Temperature": {
"value": 80,
"unit": "K"
"Constant": {
"constant": {
"value": 20E-2,
"unit": "eV"
}
}
},
"Mass": {
"FromParticleType": "T2"
"FromParticleType": "T+"
},
"Direction": {
"vector": [
0,
0,
-1
]
}
}
}
@@ -465,26 +385,8 @@
}
},
"fk": {
"PiecewiseLinear": {
"xValues": [
0,
1.43,
3,
8,
13,
14.57,
16
],
"yValues": [
5E-4,
0.002,
0.02,
1,
0.02,
0.002,
5E-4
],
"prefactor": 1E15
"Constant": {
"constant": 0.5
}
}
}
@@ -493,7 +395,7 @@
},
"DensityLimit": {
"min": 0,
"max": 1E15
"max": 1
},
"PositionLimits": {
"rPosition": {
@@ -505,8 +407,8 @@
"max": 6.28318530718
},
"zPosition": {
"min": 0,
"max": 16.0
"min": 7.94,
"max": 7.96
}
}
},
@@ -574,8 +476,8 @@
"UseInSimulation": "false"
},
"Simulation": {
"SimulatedEvents": 1,
"EventStride": 1
"SimulatedEvents": 100,
"EventStride": 100
},
"Output": {
"folder": "output",
@@ -588,15 +490,13 @@
"CurrentBorders": {
"Species": [
"e-",
"T2+"
"T+"
],
"Intervall": "EachSync",
"OverwriteLast": "true"
},
"DeletionLogger": {
"Species": [
"all"
],
"Species": "all",
"Intervall": "EachSync",
"OverwriteLast": "true"
}