Page 1 of 1

Can Elegant perform 3D field calculations?

Posted: 26 Jun 2025, 22:24
by Zhenbiao
Hi,

I have 3D field data of an RF cavity exported from CST. Can Elegant use this 3D field data for simulations? If it is possible, how should I proceed?

Best,
Zhenbiao

Re: Can Elegant perform 3D field calculations?

Posted: 14 Aug 2025, 13:42
by michael_borland
Zhenbiao,

Elegant does not have that capability. There are some similar capabilities that might get you some of what you want:
1. RFTMEZ0 allows simulating a TM-mode rf cavity specified by the on-axis Ez field.
2. SHRFDF allows simulating a deflecting cavity using space harmonics.
3. SCRIPT allows inserting an arbitrary element into a beamline as an external program/script.

--Michael