# \[Archive\] Troubles with demo file

**URL:** https://forum.spis.org/t/archive-troubles-with-demo-file/386
**Category:** SPIS
**Created:** [4 May 2005 16:08 UTC](https://forum.spis.org/t/archive-troubles-with-demo-file/386 "2005-05-04T16:08:00Z")
**Posts on this page:** 9
**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: [4 May 2005 16:08 UTC](https://forum.spis.org/t/archive-troubles-with-demo-file/386/1 "2005-05-04T16:08:00Z")

</div>

Message by **julien** :  
**Extracted from old forums.**  
Previously posted by Ale: Thu Apr 29, 2004 10:45 am Post subject: Troubles with demo file

Dear Julien/all,  
I report you some apparent problems we are experiencing with SPIS, when trying to follow the “Step by step group and data management” tutorial found under Spis2.99.02\Doc\DocSpisUI\HOWTO\Faq\_Kiruna.pdf. We are using the Demo\_5.geo cad file (from the documentation it appears that groups currently do work only with this file?). At point 7 of the procedure, when the Group Editor is launched, the following error message is obtained:  
task GroupEditor begins  
No GeoGroup detected, please import a file

> > > > > > Exception raised in task   
> > > > > > BEGIN TASK EXCEPTION HANDLING  
> > > > > > Traceback (most recent call last):  
> > > > > > File “D:\PIC-Condivisione-Alessandro\SPIS\Spis2.99.02\SpisUI\Bin\Tasks\TaskGroupEditor.py”, line 305, in run\_task  
> > > > > > editor.show()  
> > > > > > File “D:\PIC-Condivisione-Alessandro\SPIS\Spis2.99.02\SpisUI\Bin\Tasks\TaskGroupEditor.py”, line 259, in show  
> > > > > > self.frame.show()  
> > > > > > AttributeError: instance of ‘GroupEditor’ has no attribute ‘frame’  
> > > > > > END TASK EXCEPTION HANDLING  
> > > > > > task GroupEditor just terminate  
> > > > > > Moreover, if I get it right, at this point of the procedure I should be able to launch the 3D mesher, even if the geometry groups have not been defined. But trying to launch the 3D mesher results in the following error message:

task Mesher3D begins

> > > > > > Exception raised in task   
> > > > > > BEGIN TASK EXCEPTION HANDLING  
> > > > > > Traceback (most recent call last):  
> > > > > > File “D:\PIC-Condivisione-Alessandro\SPIS\Spis2.99.02\SpisUI\Bin\Tasks\TaskMesher3D.py”, line 83, in run\_task  
> > > > > > TheMesher.mesh3DwithGmsh(sharedFiles[! ‘TheCADFileOut’ !](https://forum.spis.org/projects/spine/home/community/forumsPages/spis/cf89748e7f000002018558330842a077/cf89753e7f00000200ed2dac94e09332/'TheCADFileOut'), TheMeshFile)  
> > > > > > File “D:\PIC-Condivisione-Alessandro\SPIS\Spis2.99.02\SpisUI.\Bin\Mesher.py”, line 142, in mesh3DwithGmsh  
> > > > > > self.cmd = GL\_CMD\_GMSH + ’ -3 ‘+self.FileName1\_geo+’ -o ‘+self.FileName3\_msh+’ \> '+self.FileName3\_out  
> > > > > > TypeError: **add** nor **radd** defined for these operands  
> > > > > > END TASK EXCEPTION HANDLING  
> > > > > > task Mesher3D just terminate  
> > > > > > Do you have any hints or suggestions about what’s wrong? Thank you.  
> > > > > > Regards,  
> > > > > > Alessandro

---

<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: [4 May 2005 16:08 UTC](https://forum.spis.org/t/archive-troubles-with-demo-file/386/2 "2005-05-04T16:08:00Z")

</div>

Message by **julien** :  
**Extracted from old forums.**  
Previously posted by Mike: Mon Sep 20, 2004 5:54 pm Post subject:

Dear lewis,  
if I am not mistaken, this error results from selecting the worng data mesh. By default, the list in the fieldchooser shows only NODE, you have to select the appropriate mesh type, i.e. triangular for surface data fields and tetrahedron for volume data fields. It should work with that. btw, if you have volume data (-\> tetrahedron), use the “cut plane” feature to make cuts that can be visualised properly.  
hope I could help.  
cheers  
mike  
\_\_\_\_\_\_\_\_\_\_\_\_\_  
Michael Klicker

---

<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: [4 May 2005 16:08 UTC](https://forum.spis.org/t/archive-troubles-with-demo-file/386/3 "2005-05-04T16:08:00Z")

</div>

Message by **julien** :  
Fri May 07, 2004 2:09 pm Post subject: Dear Allessandro,  
I am not sure to have a complete an full answer for both questions.  
First, Are you sure to have imported correctly your CAD model, clicking on the “Load CAD” button after to have opened the file with “Open CAD” ?  
I remind you that “Open CAD” jsut makes the link to the corresponding file, but does not load explicitly the CAD file into the framework.  
Regarding the second question, i suppose than error in due to the fact that your gmsh tool is located in a directory with a space charactere in the path. Check this. Otherwise, this may have the same reason that previously (CAD not loaded properly).  
For a first try, I recommande to use the default properties and groups settings with Demo5.geo, as follow:

### ) "Open CAD" button and choose Demo5.geo.
2 ) "Load CAD"  
3 ) "Properties" -\>"Default Material Settings"  
4 ) "Groups" -\> Init Default Groups  
5 ) "Mesh 3D" button  
6 ) "Convert grps" button  
7 ) "Fields" button  
8 ) "Init Solver" button  
9 ) "Run Solver" button  
10 ) "Fileds" -\> "DataField chooser"  
11 ) Choose the DataField tha tyou want to display, for example "potential time...."  
12 ) In the DataField chooser and in the Visu Type menu, coose tethraedron and click on the "View Grid" button.  
13 ) "3D plot" button and in the opened viewer in the menu "Actors"-\> "Add/Remove". Choose the corresponding actor.  
However, a new and more advanced version is coming soon, including more advanced controle in the order of the various tasks and with a better script for Windows. Hope that this helps. Best, Ju.

---

<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: [4 May 2005 16:08 UTC](https://forum.spis.org/t/archive-troubles-with-demo-file/386/4 "2005-05-04T16:08:00Z")

</div>

Message by **julien** :  
**Extracted from old forums.**  
Previously posted by engwall: Tue May 11, 2004 4:43 pm Post subject:  
Dear Julien, Alessandro and the rest,  
I have also experienced some trouble with the group management and 3D-meshing, so I tried the step-by-step solution provided by Julien above. This was an improvement but I still have some problems:

1. When pressing "Fields" button (step 7) the scroll bar in the log window disappears and I get the following message:

null null null null null null- DataField AND CORRESPONDING MeshField
nullnullnullnullnullnullxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

FieldManager Task Time = 0 Mn 4.11899995803833 S  
= 0 Mn 4.11899995803833 S  
task FieldManager just terminate

null1. this normal?
null
2. When I press "RunSolver" the solver starts: null
null
  1. JyTop begins

null
nullwe call SpisNumCaller
1. SpisNum caller #

null null
null null null null null1. main is starting for a test
null null
null null null null null null null null- after a few moments the whole SpisUI crashes with the following message:
null null null null null null- of Memory
nullnullnullYou might want to try the -mx flag to increase heap size
null1. the mx flag a solution? Where should it be set?
null
3. General questions:
1. What does the "Field" button (step 7) do?

b. Do I really have to care about the individual steps 6-9? Couldn't this be just one button click? Cheers, Erik

---

<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: [4 May 2005 16:08 UTC](https://forum.spis.org/t/archive-troubles-with-demo-file/386/5 "2005-05-04T16:08:00Z")

</div>

Message by **julien** :  
**Extracted from old forums.**  
Previously posted by forest: Tue May 25, 2004 2:33 am Post subject:  
Dear Erik, dear Allesendro,  
In answer to Erik’s mail.  
**Point 1:**  
FieldManager Task Time = 0 Mn 4.11899995803833 S = 0 Mn 4.11899995803833 S  
task FieldManager just terminate  
Yes! This is the normal terminaison of the corresponding task. Normally every thing is going ok until now in your simulation.  
**Point 2:**  
Out of Memory  
You might want to try the -mx flag to increase heap size  
null

null 1. is due because the memory stack of your Java Machine (JVM) is not marge enough. The -Xmx or -mx flag is used for this.
null

nullEdit the launching script for jython in your Jython directory and modify the command line as follow: "${JYTHON\_HOME}/../../JVM/Linux-I386/jre/bin/java" -Xmx990m -Dpython.home="${JYTHON\_HOME}" -classpath "${JYTHON\_HOME}/jython.jar:$CLASSPATH" "org.python.util.jython" "$@" Remark: This normally on only one line in the script. Here the memory is set at 990 Mb. This is explained in details in the Readme. **Point 3: Action of the "Field" button:** When you define physical on the CAD model under gmsh, you just tag each choosen element of CAD. The group manager of SPIS will associate the properties (material, electrical nodes, Numerical plasma characteristics) to these groups according the definition of your BC and the needs of the solver. For example, this will attribute some flag to tell the solver that some elements correspond the spacecraft surface. At this step, groups are defined with respect to the CAD model. The "convert grp" button will converte these CAD groups to mesh groups. At this step, corresponding mesh elements will be taged with the corresponding group number. But at this step the properties not mapped, i.e deplyed on the meshing. "Field" will deployed each propertie on the whole meshing, with the corresponding value on each element. For exemple, a flag of definition of the S/C surface will be equal to 1 on elements on the surface and equal to 0 on the other. Then only simple vectors and matrix are passed to the solver to defined the boundary and intial conditions. Best, J.

---

<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: [4 May 2005 16:08 UTC](https://forum.spis.org/t/archive-troubles-with-demo-file/386/6 "2005-05-04T16:08:00Z")

</div>

Message by **julien** :  
\_Extracted from old forums.\_\_  
Previously posted by Lewis: Wed Sep 15, 2004 6:27 pm Post subject:  
Hi Spis members.  
I have been trying to use the version 3 of the spis software without much luck. I have followed suggestions that I found on this forum (copied below)  
For a first try, I recommande to use the default properties and groups settings with Demo5.geo, as follow:

### ) "Open CAD" button and choose Demo5.geo.
2 ) "Load CAD" 3 ) "Properties" -\>"Default Material Settings" 4 ) "Groups" -\> Init Default Groups 5 ) "Mesh 3D" button 6 ) "Convert grps" button 7 ) "Fields" button 8 ) "Init Solver" button 9 ) "Run Solver" button 10 ) "Fileds" -\> "DataField chooser" 11 ) Choose the DataField tha tyou want to display, for example "potential time...." 12 ) In the DataField chooser and in the Visu Type menu, coose tethraedron and click on the "View Grid" button. 13 ) "3D plot" button and in the opened viewer in the menu "Actors"-\> "Add/Remove". Choose the corresponding actor. Everything seems to work fine until point 13. In the 3D plot window there does not appear to be any available actors and I get the following log message. Humm...your list of elements to display is empty. Are you sure to you choose the right dimension to display ? I recommend you to check. Total number of unrolled tops of cells 0 Total number of completed cells 0

Any help would be gratefully received.  
Gethyn Lewis (MSSL)

---

<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: [7 October 2005 15:59 UTC](https://forum.spis.org/t/archive-troubles-with-demo-file/386/7 "2005-10-07T15:59:00Z")

</div>

Message by **Kouichirou Ikeda** :  
Hello,  
I am using SPIS3.1.01 on windowsXP for my research.  
When I tried to run demo5.geo, error occurred.  
And, I do not have any idea to resolve that.  
The detailed process I made was as follows.

1. “Open CAD” button and choose Demo5.geo.
2. “Load CAD”
3. “Properties” -\>“Default Material Settings”
4. “Groups” -\> Init Default Groups
5. “Mesh 3D” button
6. “Convert grps” button
7. “Fields” button
8. “Init Solver” button
9. “Run Solver” button
10. “Fileds” -\> “DataField chooser”
11. Choose the DataField that you want to display, for example “potential time…”
12. In the DataField chooser and in the “Visu Type” menu, choose tethraedron and click on the “View Grid” button.
13. “3D plot” button and in the opened viewer in the menu “Actors”-\> “Add/Remove”. Choose the corresponding actor.  
I used the default setting in all the processes.  
But, I’ve met the following error message during number 8)“Init Solver”.

* * *
task SolverInit begins Solver Initialisation
1. SpisNum caller #

null
null null null null
null null null null
null null null null
null null null null
null null null null
null null null 1. Exception raised in task 
nullnullnull
nullnullnullnull
nullnullnullnull
nullnullnullnull
nullnullnullnull
nullnullnullnull
null\>\>\>\>\>\> BEGIN TASK EXCEPTION HANDLING Traceback (most recent call last): File "D:\Programs\Spis3.1.01\ThirdPart\Jython\jython-2.1......\SpisUI\Bin\Tasks\TaskSolverInit.py", line 58, in run\_task sharedSolver[! 'SpisNumCaller' !](https://forum.spis.org/projects/spine/home/community/forumsPages/spis/cf89748e7f000002018558330842a077/cb60bab5c0a80014001e380a39e0c9a3/'SpisNumCaller') = SpisNumCaller(sharedNum[! 'SNVolList' !](https://forum.spis.org/projects/spine/home/community/forumsPages/spis/cf89748e7f000002018558330842a077/cb60bab5c0a80014001e380a39e0c9a3/'SNVolList'), File "D:\Programs\Spis3.1.01\ThirdPart\Jython\jython-2.1......\SpisUI\Bin\SpisNumCaller.py", line 62, in **init** sharedSolver[! 'jytop' !](https://forum.spis.org/projects/spine/home/community/forumsPages/spis/cf89748e7f000002018558330842a077/cb60bab5c0a80014001e380a39e0c9a3/'jytop') = JyTop4(SNVolList, SNSurfList, File "D:\Programs\Spis3.1.01\ThirdPart\Jython\jython-2.1......\SpisUI\Bin\JyTop4.py", line 86, in **init** self.cellNb = SNVolList[! 0 !](https://forum.spis.org/projects/spine/home/community/forumsPages/spis/cf89748e7f000002018558330842a077/cb60bab5c0a80014001e380a39e0c9a3/0) AttributeError: **getitem** \>\>\>\>\>\> END TASK EXCEPTION HANDLING task SolverInit just terminate
* * *
Do you have any hints or suggestions about what's wrong? Thank you. Regards, Kouichirou

---

<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: [8 October 2005 17:29 UTC](https://forum.spis.org/t/archive-troubles-with-demo-file/386/8 "2005-10-08T17:29:00Z")

</div>

Message by **julien** :  
Dear SPIS users,  
We are currently studing the problems that you have found. We guess that this is an error in the groups definition and/or the 3.1 version that you are using, but we need to check deeper before to give you a clear and definitive answer.  
Anyway, we will very soon put on the SPINE server a complet test/reference project with the groups and properties already defined.  
A candidte release of the new version of SPIS will be also probably published this month.  
We give you more informations very soon.  
Best,  
Ju for the SPIS team.

---

<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 10:12 UTC](https://forum.spis.org/t/archive-troubles-with-demo-file/386/9 "2020-07-10T10:12:07Z")

</div>


