[Gate-users] [How to use Magnetic Field in GATE]

Kyung-Nam Lee leeronaldo at naver.com
Fri Nov 4 16:47:52 CET 2011


Hello, GATE users in the world.

 

I have used GATE for simulation of dose distribution after passing through
passive beam nozzle in particle therapy.

 

For adding geometry of wobbler magnet, we want to generate magnetic field.

 

After some internet based search, I have got some grateful hints.

 

when we want to use uniform magnetic field with specific direction, we can
use following commands

 

#For z-direction

/gate/geometry/setMagField 0 0 3.0 T

# For x-direction

/gate/geometry/setMagField 10.0 0.0 0.0 T

 

However, if we want to use general function of magnetic field with time,
what is the commands can be used ??

 

I really hope to your comment.

 

Thank you^^

 

============================================================

Kyung-Nam Lee, M.S.

Research Physicist

Medical Physics Research Team

Dept. of Heavy Ion Clinical Research

Korea Heavy Ion Medical Accelerator (KHIMA)

KOREA INSTITUTE of RADIOLOGICAL & MEDICAL SCIENCE (KIRAMS)

#215-4 Gongneung-dong Nowon-gu 

Seoul 139-709, Korea

Tel: 82-2-2258-7504

Fax: 82-2-2258-7506

Mobile:82-10-6366-9161

E-Mail: leeronaldo at kirams.re.kr, leeronaldo at naver.com (with big file)

============================================================

 



More information about the Gate-users mailing list