opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
- From: Adelmann Andreas <andreas.adelmann AT psi.ch>
- To: Can Davut <can.davut AT manchester.ac.uk>
- Cc: "opal AT lists.psi.ch" <Opal AT lists.psi.ch>
- Subject: Re: [Opal] CSR Calculation Crash in Symmetric C-Chicane Simulation (OPAL-t)
- Date: Fri, 2 May 2025 14:45:04 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=psi.ch; dmarc=pass action=none header.from=psi.ch; dkim=pass header.d=psi.ch; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fJ0LqzR8qi7uwaqoPRlxlM3lG4z7hmsc57TKUZRo6nM=; b=juC2KBx1DZr5NIINUxXlcY8TadgPQ+Ye5wXSGBwNzSZWelkww1pt4CEeBIjCr/MUEkI4r4y75p6MaOnxiERoboAronNgf+lQD0gmPliOzBTXMl0PvqfaLz0EdtPOi/FHuLIMkgFRUtaUuPAkkzDIDoMhyffJIywHWp1Dxaj59DK1BVMNfmGkGEZaLAxt+cHrSPuTUnlC+GQ82IBg9vwgUvBi3CFXDYihQzUHjma1NoJZWK1VIVD1DOfyq9pHgcz9W5mFTmSNSUFTmjg2LHMesNccmZeZ4GksrVU+z06S06+uu+XixbwMKicvLjONGKBDDL6Uk/dy7/Xg20YbsXc0pw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ah/RHKAf9mKvA7LIpdYnBOItSep1XbEdGBnzYXMIjGR9mjH5UVYea4jGnpzirkIbzUJ6oBFw63vW1jvkId56bpXtiETTOCEe0vVhom9gyOUtgs7p+tn7+r0cBAt6VmFWSXuH1FKPJ0Jb7z92YeAJqmKlc32onXLwnMeRNxco5f9gg5DLcu/rFi2rtAH5H/ndIMP5qSFnm7H8cMF7IkzTCOQmnFVx73oIJaSvfrmyX9GYTUxs7huzOYsrHxXOkN8SF4AyLrR8nVZzEhl7YdpZ1VHXam9bjgXpJZGR+9Mw18XJgAHul8+ycoC9VJQc1L0obxFrTNv1rAzdanw/PyLhBg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=psi.ch;
Hi Can thanks for the additional information. Will have a look at the problem now.
Last think, I assume you use the latest release of OPAL, correct?
A
On 2 May 2025, at 05:58, Can Davut <can.davut AT manchester.ac.uk> wrote:Hi Andy,I initially thought the error was caused by the time step I used for the chicane—since the integration depends on it—so I reduced it to 30 μm, but the error persisted. I also tweaked the filter and wake-function parameters, but without success.Because I use the same field map for all four dipoles and can save the CSR data for the first dipole and the drift without issue, I’ve ruled out the field map as the source of the problem.It seems that increasing the time step before the chicane causes the beam to arrive in under 30 s. If it would help, I can share an HDF5 file so you can use the restart command to diagnose what’s going wrong in the chicane.I’d greatly appreciate any insights you might have.Best regards,CanKimden: Adelmann Andreas <andreas.adelmann AT psi.ch>
Tarih: 01 May 2025 17:57
Kime: Can Davut <can.davut AT manchester.ac.uk>
Konu: Re: [Opal] CSR Calculation Crash in Symmetric C-Chicane Simulation (OPAL-t)Hi Can, yes I got the reproducer and had a quick look. I can not see an immediateerror on your side. Can you make the problem smaller i.e. just the chicane? This would help in debuggingthe problem. Maybe it is just an unfortunate combination of parameters.We need to solve a nonlinear set of equations and the Newton solver is not convergingwithin the 100 iterations. Maybe your case needs more than 100 but I do not yet know.Thanks AndyOn 1 May 2025, at 11:18, Can Davut <can.davut AT manchester.ac.uk> wrote:Hi Andy,I sent the reproducer in private yesterday. I hope you received it. Just in case I forward it.Thanks in advance for your help.Best Regards,CanKimden: Can Davut
Tarih: 30 April 2025 13:35
Kime: Adelmann Andreas <andreas.adelmann AT psi.ch>
Konu: YNT: [Opal] CSR Calculation Crash in Symmetric C-Chicane Simulation (OPAL-t)Hi Andy,Please find attached reproducer file including the field maps and input script.Best Regards,CanKimden: Adelmann Andreas <andreas.adelmann AT psi.ch>
Tarih: 30 April 2025 13:29
Kime: Can Davut <can.davut AT manchester.ac.uk>
Bilgi: opal AT lists.psi.ch
Konu: Re: [Opal] CSR Calculation Crash in Symmetric C-Chicane Simulation (OPAL-t)Hi Can can you send us a reproducer?Thanks Andy
On 30 Apr 2025, at 04:13, Can Davut <can.davut AT manchester.ac.uk> wrote:Dear OPAL developers and users,I am experiencing issues with the CSR calculations in my OPAL-t simulations.Following the examples provided in the manual, I set up a symmetric C-shaped chicane using RBEND dipoles and the default field map ("1DPROFILE1-DEFAULT.T7") for 25 cm magnets. The bunch compresses by the desired factor of 2, and the tracking completes successfully when CSR effects are not monitored.However, when I attempt to monitor CSR effects, I define a filter as:CSR_FILTER: FILTER, TYPE = "Savitzky-Golay", NPOINTS = 20, NLEFT = 4, NRIGHT = 4, POLYORDER = 4;and then define the wake function as:FS_CSR_WAKE: WAKE, TYPE = "1D-CSR-IGF", NBIN = 200, FILTERS = "CSR_FILTER";This wake function is assigned to all dipoles and subsequent drifts. When the simulation runs with this setup, it crashes at the entrance of the second dipole. I also attempted to enable CSRDUMP = TRUE to monitor the raw CSR wake data but encountered the same issue.The relevant error message is:
<image001.png>Could you please help me understand what might be causing this issue, so that I can investigate the CSR impact on the bunch more effectively?Thank you very much in advance for your support.Best Regards,CanDr. Can Davut | Research AssociateAccelerator Physics Group | Department of Physics & Astronomy | The University of ManchesterOffice : 7.25 Schuster Building / A24B Cockcroft Institute
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
-
Re: [Opal] CSR Calculation Crash in Symmetric C-Chicane Simulation (OPAL-t),
Adelmann Andreas, 05/02/2025
-
Re: [Opal] CSR Calculation Crash in Symmetric C-Chicane Simulation (OPAL-t),
Can Davut, 05/02/2025
-
Re: [Opal] CSR Calculation Crash in Symmetric C-Chicane Simulation (OPAL-t),
Adelmann Andreas, 05/02/2025
-
YNT: [Opal] CSR Calculation Crash in Symmetric C-Chicane Simulation (OPAL-t),
Can Davut, 05/02/2025
- Re: [Opal] CSR Calculation Crash in Symmetric C-Chicane Simulation (OPAL-t), Adelmann Andreas, 05/02/2025
-
YNT: [Opal] CSR Calculation Crash in Symmetric C-Chicane Simulation (OPAL-t),
Can Davut, 05/02/2025
-
Re: [Opal] CSR Calculation Crash in Symmetric C-Chicane Simulation (OPAL-t),
Adelmann Andreas, 05/02/2025
-
Re: [Opal] CSR Calculation Crash in Symmetric C-Chicane Simulation (OPAL-t),
Can Davut, 05/02/2025
Archive powered by MHonArc 2.6.24.