Ansys Learning Forum › Forums › Discuss Simulation › 3D Design › Scripting BladeGen using BGI file: LE control points on hub and shroud › Reply To: Scripting BladeGen using BGI file: LE control points on hub and shroud
Hello,
My workflow was defined outside of workbench. That is, I created a template script for each ANSYS package (BladeGen, TurboGrid, and CFX) and using Python filled in the necessary fields for the templates and ran each package from command line. I defined a function which took in an array of numbers which defined the design variables and output the quantities of interest (e.g. efficiency). I could then use off-the-shelf optimisers or my own to perform optimisation.
For BladeGen in particular, once I had a baseline geometry with all of the design parameters (e.g. blade angle distributions, blade thickness distributions, etc.), I created a BGI file. In this BGI file, all I had to do was to change the numeric values for each of the design parameters when I wanted to create a BGI file for a new geometry. Once I had the new BGI file, I could create the TurboGrid profiles using the BladeBatch executable. In my case, this was done by running the following:
ANSYS_FolderaisolBladeModelerBladeGenBladeBatch.exe BGI_FolderNew.BGI -TG Folder_To_Write_To
I hope this helps!
James