From 80b46f70e61e830ff789733799e4093b1d20c66b Mon Sep 17 00:00:00 2001 From: csendlinger Date: Mon, 22 Sep 2025 10:31:43 +0200 Subject: [PATCH] Updated example json file for WGTS setup --- ...awing.json => parameter_WGTS_example.json} | 115 ++++++++++-------- 1 file changed, 62 insertions(+), 53 deletions(-) rename simulation_config/{parameter_katrin_drawing.json => parameter_WGTS_example.json} (92%) diff --git a/simulation_config/parameter_katrin_drawing.json b/simulation_config/parameter_WGTS_example.json similarity index 92% rename from simulation_config/parameter_katrin_drawing.json rename to simulation_config/parameter_WGTS_example.json index ed0d524..baec76c 100755 --- a/simulation_config/parameter_katrin_drawing.json +++ b/simulation_config/parameter_WGTS_example.json @@ -9,7 +9,7 @@ } }, "Longitudinal": { - "NumberOfBins": 50, + "NumberOfBins": 100, "MaxLength": { "value": 1657, "unit": "cm" @@ -60,7 +60,7 @@ }, "xValuesKey": "/z_position(m)", "yValuesKey": "/n(m3)", - "prefactor": 1E20 + "prefactor": 6.337599E20 } } } @@ -124,11 +124,12 @@ "Tracked": { "e-": { "ParticleType": "electron", + "StoreInQueue": "true", "Mover": { - "Drift": { - "MaximalMovedDistance": { - "value": 1E-3, - "unit": "m" + "Boris": { + "MaximalTimestepLength": { + "value": 2e-11, + "unit": "s" } } }, @@ -168,7 +169,7 @@ }, "EnergyBinning": { "Type": "Logarithmic", - "NumberOfBins": 10, + "NumberOfBins": 100, "MinEnergy": { "value": 1E-6, "unit": "eV" @@ -180,7 +181,7 @@ }, "PitchAngleBinning": { "Type": "Linear", - "NumberOfBins": 15 + "NumberOfBins": 5 } } }, @@ -213,7 +214,7 @@ "CompositeAngleDistribution": { "LowerDistribution": { "Isotropic": {} - }, + }, "HigherDistribution": { "AngleDistributionFromFile": { "PathToH5": { @@ -350,18 +351,19 @@ }, "T2+": { "ParticleType": "T2+", + "StoreInQueue": "false", "Mover": { - "Drift": { - "MaximalMovedDistance": { - "value": 1E-3, - "unit": "m" + "Boris": { + "MaximalTimestepLength": { + "value": 6e-11, + "unit": "s" } } }, "Terminator": { "MaximumInteractions": 1E6, "MaxTimeAlive": { - "value": 1, + "value": 10, "unit": "s" }, "BoundaryGeometry": { @@ -389,19 +391,19 @@ }, "EnergyBinning": { "Type": "Logarithmic", - "NumberOfBins": 10, + "NumberOfBins": 50, "MinEnergy": { "value": 1E-6, "unit": "eV" }, "MaxEnergy": { - "value": 1E3, + "value": 1E1, "unit": "eV" } }, "PitchAngleBinning": { "Type": "Linear", - "NumberOfBins": 15 + "NumberOfBins": 5 } } }, @@ -434,6 +436,7 @@ "clustering": { "Type": "Clustering", "Target": "TritiumGas", + "ClusteringType": "radiative", "Product": "T3+", "CrossSection": { "PredefinedFunction": "T2pT2_clustering_janev" @@ -446,11 +449,11 @@ }, "T+": { "ParticleType": "T+", + "StoreInQueue": "false", "Mover": { "Boris": { - "BorisStepsPerMovementCylce": 10, "MaximalTimestepLength": { - "value": 1E-8, + "value": 6e-11, "unit": "s" } } @@ -458,7 +461,7 @@ "Terminator": { "MaximumInteractions": 1E6, "MaxTimeAlive": { - "value": 1, + "value": 10, "unit": "s" }, "BoundaryGeometry": { @@ -486,19 +489,19 @@ }, "EnergyBinning": { "Type": "Logarithmic", - "NumberOfBins": 10, + "NumberOfBins": 50, "MinEnergy": { "value": 1E-6, "unit": "eV" }, "MaxEnergy": { - "value": 1E3, + "value": 1E1, "unit": "eV" } }, "PitchAngleBinning": { "Type": "Linear", - "NumberOfBins": 15 + "NumberOfBins": 5 } } }, @@ -534,6 +537,7 @@ "clustering1": { "Type": "Clustering", "Target": "TritiumGas", + "ClusteringType": "radiative", "Product": "T3+", "CrossSection": { "PredefinedFunction": "TpT2_clustering_radiative_ascendion_pasil" @@ -542,6 +546,7 @@ "clustering2": { "Type": "Clustering", "Target": "TritiumGas", + "ClusteringType": "tertiary", "Product": "T3+", "CrossSection": { "PredefinedFunction": "TpT2_clustering_tertiary_ascendion_pasil" @@ -554,18 +559,19 @@ }, "T3+": { "ParticleType": "T3+", + "StoreInQueue": "false", "Mover": { - "Drift": { - "MaximalMovedDistance": { - "value": 1E-3, - "unit": "m" + "Boris": { + "MaximalTimestepLength": { + "value": 6e-11, + "unit": "s" } } }, "Terminator": { "MaximumInteractions": 1E6, "MaxTimeAlive": { - "value": 1, + "value": 10, "unit": "s" }, "BoundaryGeometry": { @@ -593,7 +599,7 @@ }, "EnergyBinning": { "Type": "Logarithmic", - "NumberOfBins": 10, + "NumberOfBins": 100, "MinEnergy": { "value": 1E-6, "unit": "eV" @@ -605,7 +611,7 @@ }, "PitchAngleBinning": { "Type": "Linear", - "NumberOfBins": 15 + "NumberOfBins": 5 } } }, @@ -770,7 +776,7 @@ } }, "Activity": { - "value": 1E7, + "value": 3.7e10, "unit": "Bq" } }, @@ -809,7 +815,7 @@ "VectorFieldFunctionInZ": { "zFunction": { "Constant3D": { - "constant": 2.5 + "constant": 0.025 } } } @@ -823,13 +829,13 @@ } } } - }, + }, "GravityField": { "VectorField": { "VectorFieldFunctionInZ": { "zFunction": { "Constant3D": { - "constant": 0 + "constant": 0.0 } } } @@ -846,7 +852,7 @@ }, "Boundary": { "Top": { - "type": "neumann", + "type": "dirichlet", "value": 0 }, "Bottom": { @@ -860,53 +866,56 @@ }, "TargetAccuracy": 1e-6, "NumCycles": 2e4, - "DoSolver": "false" + "DoSolver": "true" }, "Simulation": { - "NumberTimesteps": 10, - "EventStride": 1000, + "NumberTimesteps": 20, + "EventStride": 10, "TimeResolutionEvents": 10, - "DensityEventsPerCPU": 1000, - "BetaDecayEventsPerCPU": 1000 + "BetaDecayEventsPerCPU": 10, + "InjectionStride": 1, + "NumberDensityParticlesPerBinPerCPU": 1 }, "Output": { "folder": "output", - "filename": "katrin_drawing", + "filename": "wgts", "DensityFields": { "Species": "all", - "Intervall": 1, + "Intervall": 288, "OverwriteLast": "false" }, "CurrentBorders": { "Species": "all", - "Intervall": "EachSync", + "Intervall": 288, "OverwriteLast": "false" }, "DeletionLogger": { "Species": "all", - "Intervall": "EachSync", + "Intervall": 288, "OverwriteLast": "false" }, "PoissonSolver": { - "Intervall": 1, + "Intervall": 288, "OverwriteLast": "false" }, "RestartInfo": { - "Intervall": 1, + "Intervall": 288, "OverwriteLast": "false" + }, + "Particles": { + "Intervall": 2880 } }, - "Restart" : { + "Restart": { "Do": "false", - "SyncPeriod": 2, + "SyncPeriod": 2880, "PathToH5": { - "Type": "RelativeToHomebase", - "RelativePath": "output", - "Filename": "breakInMover3", - "comment": "if the restarted file and the output file are the same, the data that is restarted from is overwritten!" + "Type": "AbsolutePath", + "AbsoluteFolderPath": "/home/christian/Documents/Heidelberg/karl/timeResolvedTests/thermalization/output", + "Filename": "const_target_energy" } }, "RandomNumbers": { "Seed": 1337 } -} \ No newline at end of file +}