Page 1 of 1

attribute error TurbomachineryModel.py

Posted: Tue Jul 31, 2018 9:54 am
by attene
Hi everybody,

I am having an issue regarding the set-up of the turbomachinery module (frozen rotor option) through the GUI.
I am trying to join to meshes (tank + turbine rotor).

After setting up the option that this module required I am not able anymore to visualize through the GUI the module itself ( If for example I want to come back to it for changing some of the option..). With the following issue this error is given in the terminal:
 
File "/usr/shared_apps/packages/code_saturne-5.0.8-gui/lib/python2.7/site-pack                                                 ages/code_saturne/Pages/TurboMachineryModel.py", line 298, in getRotorVelocity
    n = node.xmlGetNode('velocity')
AttributeError: 'NoneType' object has no attribute 'xmlGetNode'
 
Do you have any idea regarding this issue?
 
Regards,

FA

Re: attribute error TurbomachineryModel.py

Posted: Tue Jul 31, 2018 3:16 pm
by Yvan Fournier
Hello,

This is strange. Was the XML file build with the same version of the code ? Could you post it here ?

Regards,

Yvan

Re: attribute error TurbomachineryModel.py

Posted: Wed Aug 01, 2018 3:03 pm
by attene
Hi Yvan,

I do not why I solved that issue simply setting up again the case from scratch..and deleting the old one!
I will give you of course more information whether I come across this error in the future.

Regards,

FA