Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

CPT: Plotting Envelopes

Niek Applied Nuclear Physics

Please login with a confirmed email address before reporting spam

Hello,

I am trying to plot envelopes for charged particle tracing through elements like Einzel lenses and acceleration regions. Is there a simple concise way to plot the beam envelope [x,z]? I have tried cpt.cptmaxop_all1(x) with average beam position before which was succesful for beamlines without slits. Now that I have particles hitting walls, I cannot use the average particle position anymore..

I would expect to find a function that easily applies cptmaxop_all1 at every timestep, however I cannot find a way to do this.


0 Replies Last Post 2021年6月8日 GMT-4 10:03
COMSOL Moderator

Hello Niek

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.