


{"id":99157,"date":"2019-11-25T10:10:55","date_gmt":"2019-11-25T10:10:55","guid":{"rendered":"\/forum\/forums\/reply\/99157\/"},"modified":"2019-11-25T10:10:55","modified_gmt":"2019-11-25T10:10:55","slug":"99157","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/99157\/","title":{"rendered":"Reply To: Scripting BladeGen using BGI file: LE control points on hub and shroud"},"content":{"rendered":"<p>Hello,<\/p>\n<p><\/p>\n<p>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.<\/p>\n<p><\/p>\n<p>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:<\/p>\n<p><\/p>\n<p>ANSYS_FolderaisolBladeModelerBladeGenBladeBatch.exe BGI_FolderNew.BGI -TG Folder_To_Write_To<\/p>\n<p><\/p>\n<p>I hope this helps!<\/p>\n<p><\/p>\n<p>James<\/p>\n","protected":false},"template":"","class_list":["post-99157","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/99157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/99157\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=99157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}