Message by David Thorpe:
Hi, I am brand new to SPIS and was trying to create a most simple simulation to see how it works, I have a cube within a cube, with spacecraft surface, computational volume and external boundary properties set.
I have used the default settings in global parameters and tried to finalize run configuration and save project when an error occurs whilst initialising the numerical kernel.
java.lang.ArrayIndexOutOfBoundsException: 0
at spis.Solver.Poisson.PoissonInit.quicksort(PoissonInit.java:150)
at spis.Solver.Poisson.PoissonInit.renumcklb(PoissonInit.java:225)
at spis.Solver.Poisson.PoissonInit.cuthilMackee(PoissonInit.java:91)
at spis.Solver.Poisson.ConjGrad3DUnstructPoissonSolver.init(ConjGrad3DUnstructPoissonSolver.java:332)
at spis.Solver.Poisson.ConjGrad3DUnstructPoissonSolver.(ConjGrad3DUnstructPoissonSolver.java:185)
at spis.Top.Simulation.SimulationFromUIParams.init(SimulationFromUIParams.java:933)
at spis.Top.Simulation.SimulationFromUIParams.(SimulationFromUIParams.java:438)
at spis.Top.Top.NumTopFromUI.(NumTopFromUI.java:157)
at org.spis.ui.ui2num.util.Ui2Num.buildNumTopFromUI(Ui2Num.java:355)
at org.spis.ui.ui2num.command.NumTopFromUICommand.run(NumTopFromUICommand.java:162)
at org.spis.ui.ui2num.command.NumTopFromUICommand.run(NumTopFromUICommand.java:52)
at org.keridwen.core.messaging.AbstractCommand.execute(AbstractCommand.java:200)
at org.keridwen.core.messaging.DefaultBundleController$CallableCommand.call(DefaultBundleController.java:260)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Message by Christian Imhof:
Hi David,
although I am not completely sure what the posted error message is indicating I will let you know my opinion.
The only times I have experienced errors in the initialitation phase of the numerical kernel it has been due to an error in the basic setup of the geometrical system. Usually in more complicated geometries you can forget to assign some surfaces which leads to this error. Of course this will not be the cause in your test project, however, how have you defined the simulation volume? Have you assigned the complete inner part of your outer box as simulation volume or have you excluded the “spacecraft” interior / the inner box? It is important that you exclude this already in the GMSH model to avoid problems in the simulation. You should define a volume with the outer boundary and then define the satellite interior as a hole in the volume. If you use the graphical user interface of GMSH you can first assign the volume boundaries and afterwards the tool asks you to define the holes.
I hope this helps. Greetings
Christian
Message by David Thorpe:
Thank you, Christian.
This was exactly what was preventing me from progressing.