Download presentation
Presentation is loading. Please wait.
Published byMagdalena Couse Modified over 9 years ago
1
Implementation of MAGNETOCOSMICS into SPENVIS L. Desorgher 1, B. Quaghebeur 2, D. Heynderickx 2, H. Evans 3, G. Santini 3 and E.O. Flückiger 1 1. Physikalisches Institut, University of Bern 2. Belgian Institute of Space Aeronomy 3. ESA/ESTEC
2
MAGNETOCOSMICS SPENVIS and Geant4 Space User's Workshop 2005, Leuven Overview Cosmics rays in the Earth's magnetosphere MAGNETOCOSMICS Geant4 web interface prototype
3
MAGNETOCOSMICS SPENVIS and Geant4 Space User's Workshop 2005, Leuven Access of cosmic rays in the Earth's magnetospheric models Numerical integration of Lorentz equation backward in time Trajectories are function of rigidity R=p/qc Cosmic ray access to a position Computation of reverse trajectories in function of rigidity R=p/qc
4
MAGNETOCOSMICS SPENVIS and Geant4 Space User's Workshop 2005, Leuven Access of cosmic rays in the Earth's magnetospheric models Numerical integration of Lorentz equation backward in time Trajectories are function of rigidity R=p/qc Cosmic ray access to a position Allowed trajectories Forbidden trajectories Asymptotic direction
5
MAGNETOCOSMICS SPENVIS and Geant4 Space User's Workshop 2005, Leuven Cutoff rigidity definition Allowed Forbidden R>Ru all trajectories are allowed R<Rlall trajectories are forbidden Effective cutoff Rc = Ru -nallowed
6
MAGNETOCOSMICS SPENVIS and Geant4 Space User's Workshop 2005, Leuven MAGNETOCOSMICS Cosmic ray trajectory code based on Geant4 Tracing of charged particle trajectories in different model of the geomagnetic field Internal: Dipole, IGRF External: Tsyganenko89c, 96, 01 Computation of cutoff rigidities in function of position, direction, time and geomagnetic activity Computation of asymptotic direction Visualisation of particle trajectories and magnetic field lines
7
MAGNETOCOSMICS SPENVIS and Geant4 Space User's Workshop 2005, Leuven MAGNETOCOSMICS in SPENVIS Different user cases are considered : Tracing and visualisation: backward or forward trajectories magnetic field lines Computation of cutoff rigidity At a single position For a trajectory (off line) For a position grid (off line) Possible Bfield models Dipole, IGRF, Tsyganenko89c Tsyganenko96, 01 only for advanced users
8
MAGNETOCOSMICS SPENVIS and Geant4 Space User's Workshop 2005, Leuven Tracing and visualisation
9
MAGNETOCOSMICS SPENVIS and Geant4 Space User's Workshop 2005, Leuven Tracing and visualisation
10
MAGNETOCOSMICS SPENVIS and Geant4 Space User's Workshop 2005, Leuven Cutoff Rigidity Computation Input Name list from Spenvis G4Macro file Python script G4Run
11
MAGNETOCOSMICS SPENVIS and Geant4 Space User's Workshop 2005, Leuven Cutoff Rigidity computation Single point Results
12
MAGNETOCOSMICS SPENVIS and Geant4 Space User's Workshop 2005, Leuven Cutoff Rigidities vs position R c [GV] Magnetic shielding on Earth
13
MAGNETOCOSMICS SPENVIS and Geant4 Space User's Workshop 2005, Leuven MAGNETOCOSMICS/SPE NVIS IMPLEMENTATION Modify G4 code to match SPENVIS input/output format Documentation describing the input and ouput of the user cases User input web pages + checking of input parameters Developement of scripts (python, perl,...) that generate G4Macro files according to the input parameters Launch code Script + Output
14
Geant4 Web Interface Prototype Suite of PHP functions for an easier or automatic implementation of a Geant4 application into a web server Communication between PHP and G4 application trough socket technology Use of the G4UIGainServer class in G4 Socket functionalities are available in PHP Generate Dynamic web page for input parameters PHP functions that replace user defined input parameters in g4macro templates
15
Geant4 Web Interface Prototype G4 coding needed only in the main file: G4UIsession* session = new G4UIGainPHPServer();
16
Geant4 Web Interface
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.