[Archive] Erosion modelling

Message by Till Gebhardt:
I try to model the erosion by a Hall thruster. The modelling of the thruster works fine. But as soon as switch on the erosion calculation the simulation stops always after the same time step giving following error message:

spis.Util.Exception.SpisRuntimeException: Units are not convertible: cannot scale from unit m-2.s-1 to m-2.A
at spis.Util.Phys.Unit1.getDoubleScalingFactorTo(Unit1.java:500)
at spis.Util.Phys.Unit1.getScalingFactorTo(Unit1.java:493)
at spis.Util.Func.ConvertibleUnitScalFunctionOfScal.checkAndSetUnitIn(Co
at spis.Util.Table.FloatScalTable.applyFunc(FloatScalTable.java:346)
at spis.Surf.SurfField.ScalSurfField.applyFunc(ScalSurfField.java:165)
at spis.Util.Monitor.FieldMonitor.generateLogData(FieldMonitor.java:1626
at spis.Util.Monitor.FieldMonitor.generateSurfData(FieldMonitor.java:159
at spis.Util.Monitor.FieldMonitor.monitorCurrent(FieldMonitor.java:864)
at spis.Util.Monitor.FieldMonitor.monitorCurrent(FieldMonitor.java:788)
at spis.Util.Monitor.FieldMonitor.monitor(FieldMonitor.java:748)
at spis.Top.Simulation.SimulationFromUIParams.integrate(SimulationFromUI
at spis.Top.Simulation.SimulationFromUIParams.integrate(SimulationFromUI
at spis.Top.Top.Scenario.integrate(Scenario.java:106)
at spis.Top.Top.NumTopFromUI.integrate(NumTopFromUI.java:180)
at org.spis.ui.simulation.command.LaunchSimulationCommand$1.run(LaunchSi
at java.lang.Thread.run(Unknown Source)

Did it anybody have a similar issue or can give me some insight what might be reason?
Till Gebhardt

Message by Sébastien Hess:
do you have a global parameter called fluxChargeState and if so what is its value?

Message by Till Gebhardt:
Hi Sebastien,
yes, it is currently set to 4.

Message by Sébastien Hess:
If you try to set it to 2, does the simulation work?

Message by Till Gebhardt:
Yes, now the simulation is running. Thanks a lot for this tip.
The erosion values can now derived by looking at the “flux of eroded source 1.1”?The dimension “#/m2/s” gives the number of particles eroded per second and square meter.
Are these macroparticles or actual physical particles?

Message by Sébastien Hess:
All outputs are given in physical particles, except when it is explicitly stated that it concerns macroparticles (i.e. only for the macroparticle number per cell).