Resource Menu


posted by julien at Oct 8, 2005 5:29 PM
Quote

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.

posted by Kouichirou Ikeda at Oct 7, 2005 3:59 PM
Quote
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 <SolverInit>
            2. nullnullnull
            nullnullnullnull
          nullnullnullnull
        nullnullnullnull
      nullnullnullnull
    nullnullnullnull
null>>>>>> BEGIN TASK EXCEPTION HANDLING Traceback (most recent call last): File "D:ProgramsSpis3.1.01ThirdPartJythonjython-2.1......SpisUIBinTasksTaskSolverInit.py", line 58, in run_task sharedSolver! 'SpisNumCaller' ! = SpisNumCaller(sharedNum! 'SNVolList' !, File "D:ProgramsSpis3.1.01ThirdPartJythonjython-2.1......SpisUIBinSpisNumCaller.py", line 62, in init sharedSolver! 'jytop' ! = JyTop4(SNVolList, SNSurfList, File "D:ProgramsSpis3.1.01ThirdPartJythonjython-2.1......SpisUIBinJyTop4.py", line 86, in init self.cellNb = SNVolList! 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

posted by julien at May 4, 2005 4:08 PM
Quote
_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)

posted by julien at May 4, 2005 4:08 PM
Quote
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.
    2. 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.

posted by julien at May 4, 2005 4:08 PM
Quote
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

      null
    1. this normal?
    2. 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 null
    1. main is starting for a test
    2. 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
      null
    1. the mx flag a solution? Where should it be set?
    2. 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

    posted by julien at May 4, 2005 4:08 PM
    Quote
    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.

    posted by julien at May 4, 2005 4:08 PM
    Quote
    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

    posted by julien at May 4, 2005 4:08 PM
    Quote
    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.02DocDocSpisUIHOWTOFaq_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 <GroupEditor> >>>>>> BEGIN TASK EXCEPTION HANDLING Traceback (most recent call last): File "D:PIC-Condivisione-AlessandroSPISSpis2.99.02SpisUIBinTasksTaskGroupEditor.py", line 305, in run_task editor.show() File "D:PIC-Condivisione-AlessandroSPISSpis2.99.02SpisUIBinTasksTaskGroupEditor.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 <Mesher3D> >>>>>> BEGIN TASK EXCEPTION HANDLING Traceback (most recent call last): File "D:PIC-Condivisione-AlessandroSPISSpis2.99.02SpisUIBinTasksTaskMesher3D.py", line 83, in run_task TheMesher.mesh3DwithGmsh(sharedFiles! 'TheCADFileOut' !, TheMeshFile) File "D:PIC-Condivisione-AlessandroSPISSpis2.99.02SpisUI.BinMesher.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