


{"id":30852,"date":"2018-10-11T09:42:02","date_gmt":"2018-10-11T09:42:02","guid":{"rendered":"\/forum\/forums\/topic\/scripting-bladegen-using-bgi-file-le-control-points-on-hub-and-shroud\/"},"modified":"2018-10-11T09:42:02","modified_gmt":"2018-10-11T09:42:02","slug":"scripting-bladegen-using-bgi-file-le-control-points-on-hub-and-shroud","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/scripting-bladegen-using-bgi-file-le-control-points-on-hub-and-shroud\/","title":{"rendered":"Scripting BladeGen using BGI file: LE control points on hub and shroud"},"content":{"rendered":"<p>Hi everyone,<\/p>\n<p>I would like to use BladeGen for a design optimisation study of centrifugal pumps. Using the GUI initially, I can export a BGI file, define variables, and use the batch command to create new geometries from the BGI file. <\/p>\n<p>However, there is a problem when defining the control points of the LE. Namely, in the GUI, the end control points are such that they always lie on the hub and shroud curves. You can even define a length fraction that specifies how far along the streamwise direction of the hub and shroud curves the LE control points are.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/49b6a4c3-0cd5-4951-8df5-a91500ca367c\/c1da3c84-a818-496b-a907-a976009f80b0_controlpoints.jpg?width=690&amp;upscale=false\" alt=\"\"><\/p>\n<p><\/p>\n<p>However, in the BGI file, the control points of the LE are not constrained such that the end points lie on the hub and shroud surfaces. Instead, these points are strictly defined by their Z-R values.<\/p>\n<p><\/p>\n<pre class=\"alt2\" dir=\"ltr\" style=\"margin: 0px; font-family: monospace; padding: 7px; border: 1px inset; width: 640px; height: 226px; text-align: left; overflow: auto;\">    Begin LeadingEdgeCurve<br \/>\nNew Segment<br \/>\nCurveType=Bezier<br \/>\nUpstreamControl=Free<br \/>\nBegin Data<br \/>\n( -7.669881059,23.35438893 )<br \/>\n( -15.79710000,30.48810000 )<br \/>\n( -25.22529274,37.83793911 )<br \/>\n( -32.58647974,44.66386003 )<br \/>\nEnd Data<br \/>\nDownstreamControl=Free<br \/>\nEnd Segment<br \/>\nEnd LeadingEdgeCurve<\/pre>\n<p><\/p>\n<p>This leads to difficulties when I change the location of the control points for the hub and shroud or the LE curve, as these end points no longer lie on the hub and shroud surfaces, which leads to issues when exporting curve profiles to TurboGrid. Is there any way to ensure these end points are strictly constrained to lie on the hub and shroud surfaces in the BGI file?<\/p>\n<p>Thanks for any help or advice you can give!<\/p>\n<p>James<\/p>\n","protected":false},"template":"","class_list":["post-30852","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["3024"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["publish"],"_bbp_author_ip":[null],"_bbp_old_sticky_status_id":["normal"],"_bbp_likes_count":["0","0","0","0","0"],"_btv_view_count":["1557"],"_bbp_subscription":["236581"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["30852"],"_bbp_forum_id":["27789"],"_bbp_engagement":["157642","170840"],"_bbp_voice_count":["2"],"_bbp_reply_count":["4"],"_bbp_last_reply_id":["99157"],"_bbp_last_active_id":["99157"],"_bbp_last_active_time":["2019-11-25 10:10:55"]},"test":"jamesgr"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/30852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/30852\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=30852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}