Skip to Content.
Sympa Menu

opal - [Opal] Inquiry on Converting GMSH Mesh to H5hut File for OPAL Simulation

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

[Opal] Inquiry on Converting GMSH Mesh to H5hut File for OPAL Simulation


Chronological Thread  
  • From: 陈汐 <chenxi AT impcas.ac.cn>
  • To: opal AT lists.psi.ch
  • Subject: [Opal] Inquiry on Converting GMSH Mesh to H5hut File for OPAL Simulation
  • Date: Tue, 10 Dec 2024 10:57:41 +0800 (GMT+08:00)


Dear Sir/Madam,


I am currently working on simulating the spiral inflector and central region of a cyclotron accelerator using the OPAL. To calculate the beam loss, I need to import the geometry of the spiral inflector electrode and central region into my simulation.

In OPAL, I understand that the GEOMETRY command  can be used to import geometry file information in H5hut file (e.g., Geometry, FILE="input.h5"). In the paper "Realistic Simulation of Cyclotron Spiral Inflector within a Particle-in-Cell Framework", it is mentioned that the geometry can be meshed using GMSH software. However, I could not find any detailed explanation on how to convert the GMSH-generated mesh into an H5hut file for use in OPAL simulations. 


Additionally, I was unable to find relevant information in the OPAL manual (Chapter 20 Geometry)  regarding this conversion.


Could anybody kindly share any methods or tools that convert a GMSH mesh into an H5hut file? Any insights or advice would be greatly appreciated.

Thank you very much for your time and consideration. I look forward to your response.

Best regards,

Xi Chen




Xi Chen
Institute of Modern Physics, Chinese Academy of Sciences (IMP/CAS)
509 Nanchang Road, Lanzhou, Gansu, 730000, China
Tel: +8618759079398
Email: chenxi AT impcas.ac.cn









Archive powered by MHonArc 2.6.24.

Top of Page