Cant seem to get Field probe (Reduced diagnostics) running #4502
-
Reduced diagnostics: Cant seem to get a field probe running in a moving window in the Z direction. it dumps only the 0th step with no updates to the data as the simulation runs. As I understand, the files should be updated every 10 steps with the iteration/time[[0]step()/[1]time(s)] column modifying in the data file every time data is dumped. All I get is 0's (since laser does not exist at time step 0) and a linear z, as the field probe setup. The probe is defined within the initial window. And as I understand the probe should move automatically with the v_window. Tried also with WarpX@23.08, 23.05
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hank you for reporting this. What is the physical extend of your simulation in:
and what moving window or boosted frame options do you set? Are there any warnings showing up when you run the simulation? What is the latest version of WarpX you tried, |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply, sorry I seem to have missed this message since there was no email sent to me after your response. The extents of the simulation are its a moving window with in the z direction without a boosted frame. There are no warnings as the simulation begins. No i have not tried the field probe with 23.12. Is it also possible to have updates to the spack repository as new releases are released? Thanks, |
Beta Was this translation helpful? Give feedback.
-
Dear Axl,
Finally, I understood the field probe!
The intervals is the interval parser... FP.intervals=100 just does not
work! Its not documented as far as i saw (even in the examples as far as I
remember)
The one below works!
warpx.reduced_diags_names = FP
FP.type = FieldProbe
FP.intervals = 1:200:2
Sheroy
…On Tue, Aug 20, 2024 at 8:14 PM Calcifer Phillips ***@***.***> wrote:
@Poto45 <https://github.com/Poto45>
I seem to be running into the same issue. Have you found a way for it to
work?
Your initial field probe in z=.01 is outside of the simulation [-0.0336
to -0.0076], which is why the particle is removed. With FP.do_moving_window_FP
= 1 if would be outside of the domain forever.
Note that we do not yet support field probes that enter a domain at a
later time, but that would be a good feature to add: #5153
<#5153>
Alright. I've gotten it to write data to the file now, if the point starts
within the moving window domain (for both 0 and 1 of do_moving_window_FP).
For both cases, though, I get the same information and only up to z=0.0256.
Also, in both cases, the part_z_lev0- never changes from what I set it to
as -0.0078, so it doesn't appear to be following the moving window.
However, I really want the poynting vector as a specific location in the
simulation that is at the end of the structure. This means that it won't be
within the moving window domain when it starts. If I do the simulation with
do_moving_window_FP=0 and have the z=0.01, for example, the simulation
fails. Does that mean that this cannot be done? Thanks.
(as an example, say I want the poynting vector along the dotted line in
the photo attached)
PXL_20240820_171204316.jpg (view on web)
<https://github.com/user-attachments/assets/db4b0621-8b21-4fe9-a3a1-3e32898c91ca>
—
Reply to this email directly, view it on GitHub
<#4502 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ4VGE65CIZGJBRZ3QZ474TZSN2QNAVCNFSM6AAAAABMYXIKFSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZZHA2TOOA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
@Poto45
Your initial field probe in
z=.01
is outside of the simulation [-0.0336 to -0.0076], which is why the particle is removed. WithFP.do_moving_window_FP = 1
if would be outside of the domain forever.Note that we do not yet support field probes that enter a domain at a later time, but that would be a good feature to add: #5153