Skip to Content.
Sympa Menu

opal - Re: [Opal] 3D electric fields data

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] 3D electric fields data


Chronological Thread 
  • From: "Calvo Portela, Pedro" <Pedro.Calvo AT ciemat.es>
  • To: Taufik Ssi <taufikis AT gmail.com>
  • Cc: opal <opal AT lists.psi.ch>
  • Subject: Re: [Opal] 3D electric fields data
  • Date: Wed, 22 Jan 2020 08:11:46 +0000
  • Accept-language: es-ES, en-US

Dear Taufik

I tell you how I get the electric field for BANDRF.

I get the data from ANSYS, and then I have to get a file compatible with ascii2h5block_asgic.cpp. So, I've develop a MATLAB program to interpolate the data to cartesian coordinates employing the properly mesh that I want for my h5part file. I could provide you an example of this file, if you need it. Then, I run cpp program with the properly limits and size of the mesh.

Cheers
Pedro


De: Taufik Ssi [taufikis AT gmail.com]
Enviado: domingo, 19 de enero de 2020 11:37
Para: Snuverink Jochem (PSI)
CC: Calvo Portela, Pedro; opal
Asunto: Re: [Opal] 3D electric fields data

Thank you.
How is the format of the electric field data from the TOSCA? Should I get the data from the TOSCA at  the points of a polar coordinate and write the data in the Cartesian coordinate?

Best regards,
Taufik

On Mon, Jan 13, 2020 at 10:13 PM Snuverink Jochem (PSI) <jochem.snuverink AT psi.ch> wrote:

Dear Taufik,

Please find the file attached.

Best regards,

Jochem

On 10/01/2020 08:30, Taufik Ssi wrote:

Dear Pedro Calvo Portela,

 

Thank you. I installed OPAL from binary distribution. In OPAL 2.0.2 version, there is src folder but it's only empty folder. Meanwhile, there is no such folder In the OPAL 2.2.0. So how to get ascii2h5block_asgic.cpp?

 

Best regards,

 

Taufik

Center for Accelerator Science and Technology -

National Nuclear Energy agency of Indonesia

https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif

 

On Thu, Jan 9, 2020 at 4:34 AM Calvo Portela, Pedro <Pedro.Calvo AT ciemat.es> wrote:

Dear Taufik

 

The file format needed in TYPE=BANDRF is h5part. You can convert any ascii data file to h5part with the cpp program found in src/tools/BandRF/ascii2h5block_asgic.cpp, in your opal directory. You have to modify the geometric limits of the region of the electric field and the mesh inside this file

 

Cheers

 

Pedro Calvo Portela
Unidad de Aceleradores - CIEMAT
Avenida Complutense 40, Edificio 7
28040 Madrid
Tel: +34 – 91 496 2554


De: opal-request AT lists.psi.ch [opal-request AT lists.psi.ch] en nombre de Taufik Ssi [taufikis AT gmail.com]
Enviado: jueves, 09 de enero de 2020 8:40
Para: opal
Asunto: [Opal] 3D electric fields data

Dear All,
 
I want to import Dee electric fields data for cyclotron particle tracking
simulation. From OPAL manual, it can be done by using TYPE=BANDRF.
However, I am still confused about how the 3D electric field data format
should be written. Can anyone help me with this case?
Thanks,
 
Best regards,
Taufik

 




Archive powered by MHonArc 2.6.19.

Top of Page