Message: Re: Adding multiple SPENVIS GCR Spectra to 1 GPS macro file Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Adding multiple SPENVIS GCR Spectra to 1 GPS macro file 

Forum: Space Applications
Re: Question Adding multiple SPENVIS GCR Spectra to 1 GPS macro file (David Hodge)
Date: Jun 27, 02:45
From: Hugh Evans <Hugh Evans>

Hi David,

At this point SPENVIS only generates a macro file for a single ion species. However, it is possible to construct a macro file with multiple sources. For an example, see the MC-SCREAM model under radiation sources and effects/solar cell radiation damage. MC-SCREAM creates a macro file with the trapped electron, trapped proton and solar proton sources.

With this method, the normalisation factor for each source is set via the "/gps/source/intensity" macro, and the overall normalisation is set with the "/analysis/normalise" macro, which should be the sum of the various intensities.

For example:
# Trapped protons:
/gps/particle proton
/gps/ene/type Arb
/gps/ene/diffspec true
/gps/hist/type arb
/gps/ene/min 1.000E-01 MeV
/gps/ene/max 2.000E+00 MeV
/gps/source/intensity 3.645E+14
/gps/hist/point 1.000E-01 6.125E+07
...
# Trapped electrons:
/gps/source/add 1
/geometry/setGPSsource
/gps/particle e-
/gps/ene/type Arb
/gps/ene/diffspec true
/gps/hist/type arb
/gps/ene/min 9.200E-04 MeV
/gps/ene/max 3.970E+00 MeV
/gps/source/intensity 7.472E+16
/gps/hist/point 9.200E-04 1.872E+11
...
# Solar protons
/gps/source/add 1
/geometry/setGPSsource
/gps/particle proton
/gps/ene/type Arb
/gps/ene/diffspec true
/gps/hist/type arb
/gps/ene/min 1.000E-01 MeV
/gps/ene/max 5.000E+02 MeV
/gps/source/intensity 2.866E+11
/gps/hist/point 1.000E-01 1.005E+13
...
# Overall Normalisation factor
/analysis/normalise 7.508E+16 cm2


Regards Hugh

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Adding multiple SPENVIS GCR Spectra to 1 GPS macro file   (David Hodge - Jun 28, 01:15)
 Add Message Add Message
to: "Re: Adding multiple SPENVIS GCR Spectra to 1 GPS macro file"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]