Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2018-06-13 15:33:10

marcoC
Member
Registered: 2018-06-13
Posts: 14

NameError: name 'unnamed0' is not defined

Hi,
I am a newbie in salome_meca.

I have installed salome meca in my debian 8 laptop.

The package starts, but when I try to load a .hdf file, the following exception occurs:



NameError: name 'unnamed0' is not defined, near the line 15: u'IMPR_RESU (RESU =_F (RESULTAT =unnamed0 ),UNITE =80 )'

Traceback (most recent call last):
  File "/home/marco/salome_meca/V2017.0.2/modules/ASTERSTUDY_201702/lib/python2.7/site-packages/asterstudy/datamodel/comm2study.py", line 283, in convert
    exec text in self._exec_ctxt # pragma pylint: disable=exec-used
  File "<string>", line 15, in <module>
NameError: name 'unnamed0' is not defined



How can I fix it ?

Regards,

marcoC

Offline

#2 2018-06-13 16:01:42

Groguiguy
Member
From: Centrale Lille
Registered: 2017-11-07
Posts: 81

Re: NameError: name 'unnamed0' is not defined

Hi,

RESULTAT must be same name of your resolution name : by default reslin for resolution lineaire and resnonl for resolution non lineaire. It is to specify what kind of results do you want.

Like that :
IMPR_RESU (RESU =_F (RESULTAT =reslin ),UNITE =80 )

Offline

#3 2018-06-13 17:27:58

marcoC
Member
Registered: 2018-06-13
Posts: 14

Re: NameError: name 'unnamed0' is not defined

Thank's for your replay,

which and where it is a text file in which I can define the solutor.

The .hdf file is a compiled file and, from this point of view, is useless. Is there a python file in which fix this problem ?

Have I to manage this throught a dump study ?

Regards,

marcoC

Offline

Board footer