Probe output not working #577
-
I am putting probes at different points in EPOCH 1D simulation. However, with my recent input file, the output SDF file does not contain the probes output. I'm not sure why this is the case. Please help! The input file is below:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @wnguyen1312, I've run the simulation myself, and I do see probe outputs. For example, The probe outputs only exist if macro-particles have passed the probe since the previous output. For example, the 3672 macro-particles I mention have passed the probe in times between the write-time of Hope this helps, |
Beta Was this translation helpful? Give feedback.
Hey William @wnguyen1312,
In the previous method, all probe interactions are still recorded, they're just scattered about all the SDF files. You could still recover all the probe hits in the simulation if you scanned all the SDF files.
Yes, you can just dump a single SDF file at the end of the simulation, which would contain all the probe hits between the start and simulation end. The only disadvantage to this is that you lose temporal resolution - you don't know when the particles pass the probes, which you would have with the multiple SDF method.
However, if the probe times are important, you can switch on the
-DPROBE_TIME
compiler flag in EPOCH. This forces probe particles to output an…