attribute error TurbomachineryModel.py

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
attene
Posts: 68
Joined: Fri Jun 29, 2018 10:54 am

attribute error TurbomachineryModel.py

Post 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
Yvan Fournier
Posts: 4251
Joined: Mon Feb 20, 2012 3:25 pm

Re: attribute error TurbomachineryModel.py

Post 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
attene
Posts: 68
Joined: Fri Jun 29, 2018 10:54 am

Re: attribute error TurbomachineryModel.py

Post 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
Post Reply