# \[Archive\] How to define the groups when the spacecraft surface is also the external boundary?

**URL:** <https://forum.spis.org/t/archive-how-to-define-the-groups-when-the-spacecraft-surface-is-also-the-external-boundary/667>\
**Category:** SPIS\
**Created:** [19 June 2015 17:14 UTC](https://forum.spis.org/t/archive-how-to-define-the-groups-when-the-spacecraft-surface-is-also-the-external-boundary/667 "2015-06-19T17:14:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forum.spis.org/uploads/default/original/1X/887f7e402a70666bad1816db2c64fefd698b4b0f.png) [@system](https://forum.spis.org/u/system)\
**Post date:** [19 June 2015 17:14 UTC](https://forum.spis.org/t/archive-how-to-define-the-groups-when-the-spacecraft-surface-is-also-the-external-boundary/667/1 "2015-06-19T17:14:00Z")

</div>

Message by **Lianghai Xie** :  
Hi,  
I am new to the SPIS. Now I’m trying to study the charging of lunar surface. It is different from spacecraft, since lunar surface can also be an external boundary in the simulation. I defined a cubic as the computational volume, with one of the face as the lunar surface (spacecraft surface) and the others as the external boundary, but met the following error:  
java.lang.ArrayIndexOutOfBoundsException: 15163  
at org.spis.ui.ui2num.util.PenelopeIdToSpisId.(PenelopeIdToSpisId.java:90)  
at org.spis.ui.ui2num.util.Ui2Num.buildNumTopFromUI(Ui2Num.java:264)  
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:259)  
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)  
Is the external boundary must closed surfaces? However, i tried to define all the faces of the cubic as the external boundary, the error still exist. So, please tell me how to define the groups for such a case!

---

<div class="post-metadata">

**Author:** ![system](https://forum.spis.org/uploads/default/original/1X/887f7e402a70666bad1816db2c64fefd698b4b0f.png) [@system](https://forum.spis.org/u/system)\
**Post date:** [22 June 2015 13:26 UTC](https://forum.spis.org/t/archive-how-to-define-the-groups-when-the-spacecraft-surface-is-also-the-external-boundary/667/2 "2015-06-22T13:26:00Z")

</div>

Message by **Jean-Charles Mateo-Velez** :  
Hi,  
one face for the spacecraft + 5 other for external + volume for plasma is OK normally.

---

<div class="post-metadata">

**Author:** ![system](https://forum.spis.org/uploads/default/original/1X/887f7e402a70666bad1816db2c64fefd698b4b0f.png) [@system](https://forum.spis.org/u/system)\
**Post date:** [10 July 2020 12:43 UTC](https://forum.spis.org/t/archive-how-to-define-the-groups-when-the-spacecraft-surface-is-also-the-external-boundary/667/3 "2020-07-10T12:43:47Z")

</div>

Closed on 10 July 2020 12:43 UTC


