Wednesday, April 04, 2007

Thesis stuff

Did a few runs testing various pitch angle things

Rewrote the thesis outline to incorperate the new bits, then did a short form official outline for Jochen.

Tried to get hold of appropriate thesis latex templates, but David's legacy of shutting off access to all students who have left mean I have no access to such things...

Steve's off to get more cross-sections for me. Reliving his life as a chemist...

Labels: , , ,

Monday, April 02, 2007

Continuing

Ok, on with the checks:

1.38 KeV
100k

2.03 KeV
1M+ (Hurray!)

2.98 KeV
1M

4.4 KeV
1M+ (Hurray!)

6.4 KeV
10,000ok

9.4 KeV
1000ok

14 KeV
1000ok

20.8 KeV
1000ok

30.5 KeV
1000ok

...where 'ok' is listed it means the energy has been checked at that flux, but no higher yet. Higher energy electrons take longer to deal with as they pass through a larger slab of atmosphere, they penetrate into the small increments area requiring extra calculations, they last longer and they produce more secondaries that require thermalisation. Fortunately, above a certain energy, they're also able to fly through the atmosphere with few interactions. Unfortunately, we're not dealing with those energies...

There is a problem to be resolved to do with excitation recording, which mismatches altitudes and array size. This will be sorted. It is done. I'll compile at a later date - the program will, that is, not me myself.

Have grabbed even more profiles off Makenzie.

Labels: , ,

Friday, March 30, 2007

More work

Brief overview with the 'new era of Jovian auroral understanding' ie Steve's ideas on Makenzie's profiles. Yep, there are new ones, lots of them, with interesting things to look at.

One run finished (the last of the set that were running, meaning all I have to do is wait until the new regime is in place and set off the seven old ones again). Saturn5000 was the 12eV SD+1 run. It has been analysed.

Of course, first there is CTIP...

I have just had a look at putting the small increments thing in and it seems ok. Like everything else...

Sigh, "bus errror", should'a known it...

hmmm, will try a few runs on other computers using proton1...

Fails on rimmer

can't compile on C3

Going on keter... on the slow processors...

Trying out 31eV runs whilst waiting. It doesn't dip into the small increments level too deeply at this point, so may or may not avoid bus errors. On the other hand, ramping up the number of electrons fired does invite more errors to show their hand...

...bus error at 100k dammit!

Hmmm, difficult one. The lower energy stuff could probably quite happilly live without the small increments stuff, but the high energy stuff really needs it, otherwise there's the risk of crossing into an unrealistic pressure level. I'll run through the other energies and see if any of them can complete...

...one minor comfort, doing the 46eV lot, is that I do get ionisation in all pressure levels, as hoped.

...bus error at 100k

66eV
...100k again

96eV
...1M this time. Dammit... so close...

140eV
100k

206eV
100k

300eV
1M

440eV
1M

650eV
1M+ (hurray!)

950eV
1M

Don't yet have time to try out:
1380, 2030, 2980, 4400, 6400, 9400, 14000, 20800, 30500

I have actually remembered that since I have to divide all answers by a thousand to account for path length, 100k is more than enough anyway... and the answers (suggesting final peak rates from just shy of 1000 to just shy of 10,000 pcm3) is what is expected.

Must/may also do runs with pitch angle distributions, plus magnetic effects... after all...

Labels: , , , , , ,

Thursday, March 29, 2007

Back to CTIP-type

Ok, still need to adjust the NDenses:
electron - common blocks, declarations, pdf, adjustments, selection - done!
strike - common blocks, declarations, pdf, adjustments, selection - done!
proton - common blocks, declarations, files, arrays, outputs - done!
proton1 - common blocks, declarations, files, arrays, outputs - done!
selectron - common blocks, declarations, pdf, adjustments, selection - done!
recoil - common blocks, declarations, pdf, adjustments, selection - done!
back - common blocks, declarations, pdf, adjustments, selection - done!
hit - common blocks, declarations, pdf, adjustments, selection - done!

But does it all compile? Yep.

Now I have a model with O, O2 and N2 being struck by incoming electrons, with no magnetic effects, as desired. However, this model contains old MSIS number densities. To convert to CTIP type completely, I need the CTIP densities in there as well as the altitude range.

The list of subroutines is:
randgen - no change
atom - no change
cross - no change
electron - changes
strike - changes
proton - changes
proton1 - changes
selectron - changes
recoil - changes
back - changes
hit - changes

Curent state of the input files:
NDens0 - Changes
NDens1 - Changes
NDens2 - Changes
NDens3 - Changes
Temp - Changes

...although I fear I may require one or two other pressure levels for expansion... we shall see...

ok, lets 'ave a look.

We're going from 1-600km to 80-580km, a change from 600 to 501 altitude levels.

Ok, changes in input files:
NDens0 - number of levels altered
NDens1 - CTIP numbers in
NDens2 - CTIP numbers in
NDens3 - CTIP numbers in
Temp - CTIP numbers in

Easy to follow...

So, subroutines:
electron - declarations, altitude incrementation, recording - done!
strike - declarations, alt. inc., recording - done!
proton - declarations, orientation adjustment, output - done!
proton1 - declarations, orientation adjustment, output - done!
selectron - declarations, alt. inc., recording - done!
recoil - declarations, alt. inc., recording - done!
back - declarations, alt. inc., recording - done!
hit - declarations, alt. inc., recording - done!

Compilation stuff - compiled first time

suspicious...

Quick test. 1keV gives 100+ km peak, sounds fine.

Another quick test. 10keV gives peak around 90km.

Yet another quick test. 30keV gives peak above 80km.

Seems ok so far.

100eV peaked - if that's the word - at about 130km. 50eV above it.

All the alts should be a little low as its a winter solstice atmosphere. They are indeed a little low, but not by too much in comparison to the atmospheric motion (we've lost about 20km cf the msis density height). Hmmm. Seems to work. For the really high energy stuff, I should add a lower atmospheric bin that can take the additional levels of precipitation and hold them for later uses (ie, total number of ionisations/excitations etc should remain equal as the atmosphere expands/contracts etc). Of course, further reasons for them being lower include the lack of mirroring or any pitch angle effects in there, plus no tilted field lines, as would be normal. Yep, a quick run raises the 1keV peak by nearly 10km when including the tilt. A pa spectru shouldn't be as significent a raise, but including mirroring and expansion, I think it's a pretty safe bet that the model's ok.

So, now I have a 'working' model, I can ruin it. I mean, use it. I need to feed through about a million electrons of each of the 19 DMSP levels. For the upper energies, this can be done immediately as they'll thermalise in the atmosphere above the lower boundary. For the high energy stuff, I'll need a lower atmosphere to help ascertain how much total ionisation there is - and the energy expended in creating it. Usefull here is the secondary/primary split, which tells me what the primary beam is doing and what the secondary beam then does. Changes in the primary beam affect the secondary beam - this is of paramount importance in the really high energy stuff. Not sure I'll actually use it here though...

We require:
31, 46, 66, 96, 140, 206, 300, 440, 650, 950, 1380, 2030, 2980, 4400, 6400, 9400, 14000, 20800, 30500eV runs.

Hmmm, should validate this thing soon... beyond the wishy washy validations and the validations of other near identical models. This one's new and has a defined purpose... plus it predates the arrival of the protonic version that should seal my fate...

It is total energy flux devoted to ionisation that needs to be conserved, so, in effect, it doesn't matter what the lower atmospheric composition is, just how many wallops I get from it... and from what in it... (in the case of those electrons of low enough energy to care).

Now, asides from anything else, I need to plot out what should happen for the proton version. I require:
O, O+, O-, O2, O2+, O2-, N2, N2+, N2-, H, H+, H-, e-
...and a grid of cross-sections between each of them and themselves, each one equivalent to the size of the e- grid.

Frightening innit. And that's just a 'surface' (as in scratching the) model... A proper one would involve everything down to bare nuclei, plus N stuff etc. But could be a way to start off DICE as a proper thing...

Ok, a real 'surface' model would just take the primary beam ionisations, but that wouldn't be any fun, would it?

Now a more interesting example would be could I construct a series of models similar to the electron one, but for each of the proton constituents (H, O, O2, N2), then find a way to coadd the resultant primary beams one by one?

That's it for today

Also sketched out an outline for the chapter relevant to this stuff

Labels: , , ,

Saturday, March 24, 2007

Next thing

Ok, the CTIPtype RIDE has lost its magnetic field. Next thing's to lose all the extraneous atmospheric species:

Current state of the modules:
randgen - No need to change
atom - Needs to be adjusted
cross - Needs adjusting
electron - Needs adjusting
strike - Needs adjusting
proton - Needs adjusting
proton1 - Needs adjusting
selectron - Needs adjusting
recoil - Needs adjusting
back - Needs adjusting
hit - Needs adjusting

Curent state of the input files:
NDens0 - Remains
NDens1 - Remains
NDens2 - Remains
NDens3 - Goes
NDens4 - Becomes NDens3
NDens5 - Goes
NDens6 - Goes
NDens7 - Goes
Temp - Remains

Note this is an intermediate step, which is why I don't just keep NDens1-3. I'm recreating RIDE from its own number densities before putting in the new ones.

Extraneous NDens' removed, N2 NDens renamed

Adjustments:
atom - adjusted arrays - done!
cross - adjusted echeck, adjusted ecross, adjusted cross - done!

Ok, for when I return:
electron
strike
proton
proton1
selectron
recoil
back
hit

Labels: , ,