[Archive] Hot and Cold electrons

Message by Göran Ödmark:
I’ve been experimenting with having two populations of electrons, hot and cold.
electron population 1: 0.015 eV and n~10^11electron population 2: have tested 100-1000 eV and n~10^6
having real problems with this… SPIS crashes when the simulations is initiating. What could be the problem here? Has it something to do with the timestep? It works fine without the hot electrons.
Also, do you have any ideas of how to add precipitating auroral electrons to my simulations? I’ve been thinking of ion type: electron and using the ion drift, but it just does not feel right.

Message by Jean-Francois Roussel:
the information “it crashes” is a little too global/vague.
There are 2 types of crashes:
1- exception: please send the exception report (on one of the log windows / log files)
2- brutal disappearance of the framework: it should not happen in SPIS since exceptions are always caught at some level
it is yet known to happen in one case only: out of memory.
If case 2:

  • monitor memory usage increase during execution
  • increase the maximum thanks to -Xmx option in Jython launching script in ThirdPart/Jython/jython2.1/jython.bat for Windows or equivalent script file for other OS.
To your 2nd question: yes a 2nd electron population of higher energy is a good way of modeling precipitating electrons keep me informed of your progress... JFR

Message by wang ji:

Do you meet the following error message?I got a exception when I tested the two-box model with hot and cold electrons and cold ion. But if I change the character length larger in geo file, it seems ok until SPIS-UI has no response, or menu and toolbar disappear, just left SPIS-UI blank so that I have to close the program.
Exception in thread “AWT-EventQueue-0” java.lang.ArrayIndexOutOfBoundsException: No such child: 5
at java.awt.Container.getComponent(Unknown Source)
at javax.swing.JComponent.rectangleIsObscured(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)