CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Import_igg_project Indentation problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2013, 10:28
Question Import_igg_project Indentation problem
  #1
New Member
 
Barend de Villiers
Join Date: Jul 2013
Posts: 1
Rep Power: 0
Oom Loot is on a distinguished road
Good day Guys.

I'm currently working with Numeca FINE/Design3D and I have to couple a centrifugal compressor to a radial (vaned) diffuser. The script file (.py/python format) used to merge the rows and create the mesh has to import the .igg files for both rows i.e.

"def multistage_script_assembly(row1_mesh , row2_mesh , multistage_mesh):
import_igg_project("/home/slagter..._222/_dbs/multistage/ImpAnchorRough.igg","row1")
import_igg_project("/home/slagter...r_222/_dbs/multistage/DiffWholeMeshRough.igg","row2")".

This script is then rewritten for each of the samples flow 1, flow 2 ... and so forth. The problem is that after the defining (def) function the indentation of the import_igg_project ('...') is not seen and hence a indentation error occurs. I've received the script file directly from Numeca and haven't programmed in python much.

Any help would be greatly appreciated.
Regards.
Oom Loot.
Oom Loot is offline   Reply With Quote

Reply

Tags
error, import_igg_project, indentation, multistage_script


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 06:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 15:52


All times are GMT -4. The time now is 16:42.