


{"id":32149,"date":"2018-12-14T12:04:48","date_gmt":"2018-12-14T12:04:48","guid":{"rendered":"\/forum\/forums\/topic\/boundary-layer-thickness-along-a-line\/"},"modified":"2018-12-14T12:04:48","modified_gmt":"2018-12-14T12:04:48","slug":"boundary-layer-thickness-along-a-line","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/boundary-layer-thickness-along-a-line\/","title":{"rendered":"Boundary Layer Thickness along a line"},"content":{"rendered":"<p>Hello Ansys-Community,<\/p>\n<p><\/p>\n<p>i have a problem and would be really happy if someone can help me. I already searched for a solution but couldn&#8217;t find anything.<\/p>\n<p><\/p>\n<p>I have simulated a nozzle with a&nbsp;convergent and divergent part. I want to compute the boundary layer thickness (BLT) along the wall (X-axis) with 99 % of the maximum velocity-magnitude. The contour of the wall isn&#8217;t parallel to the axis of the nozzle. So I am going to create lines which stand&nbsp;normal to the wall\/symmetry-axis. I can&nbsp;determine the position of the 99% maximum velocity-magnitude on the created line. The position is the curve length along the corresponding line which starts with zero on the wall (Y-axis) and ends on the symmetry-axis. The direction of the&nbsp;Y-axis&nbsp;depends&nbsp;on the line because&nbsp;the Y-axis is parallel to the lines; it means one time it stays normal to the X-axis&nbsp;and one time to the symmetry-axis. On the next step I&nbsp;want to compare the BLT on both lines (normal to the wall\/symmetry-axis on the same starting point on the wall); see screenshot.<\/p>\n<p><\/p>\n<p>However, i need to create manually lines, searching for the maximum speed on the corresponding line and compute the 99% of the maximum speed to get the boundary layer thickness (BLT).&nbsp;I need many lines because&nbsp;the BLT&nbsp;can change within a short x-Distance strongly due to the&nbsp;shockwave.&nbsp;It is very time-consuming to do this work manually.<\/p>\n<p><\/p>\n<p><span style=\"text-decoration: underline;\">My solution:<\/span><br \/>Create lines (perpendicular to the wall and\/or sym-axis) with parameters in journal-file or UserDefinedFunctions (UDF). But&nbsp;in Fluent and CFD-Post is no possibility to put parameters in the option &#8220;create line&#8221;. This Option wants just points.<br \/>I would start with a parameter like 0.1 and go in 0.01 steps until I reach the X-position on the wall at 0.3 to create automatically many lines. The next step should be writing a script like:<br \/>&#8220;Compute the position of the 99% maximum speed on the corresponding line. Create a *.txt-file with values for the X-axis on the wall and the BLT for the Y-axis (see diagram in violet&nbsp;in the screenshot).&#8221;<\/p>\n<p><\/p>\n<p>So I want a plot like the violet diagram in the screenshot with values:<\/p>\n<p><\/p>\n<p><span style=\"text-decoration: underline;\">X-axis (wall)<\/span>&nbsp; &nbsp;<span style=\"text-decoration: underline;\">BLT<\/span><\/p>\n<p><\/p>\n<p>0.1&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.002<br \/>0.11&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.0023<br \/>0.12&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.000001&nbsp; &nbsp; &nbsp; &nbsp;(maybe here shockwave)<br \/>&#8230;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#8230;<br \/>0.3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.05<br \/>END<\/p>\n<p><\/p>\n<p>This work should be work automatically&nbsp;and I tried many things like iso-surface and so on. The problem on an iso-surface is that the maximum of velocity on a corresponding line depends to the line. And the maximum is not every time on the &#8220;free steam&#8221; position; so not every time on the symmetry axis.<\/p>\n<p><\/p>\n<p>I hope I could explain my problem and hope we can find a clever solution. Thank you in advance.<\/p>\n<p><\/p>\n<p>Best regards<br \/>Mustafa<\/p>\n<p><\/p>\n<p>&nbsp;<img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/633279b2-a23c-4784-8489-a9b600b0b09c\/0c531e70-fc37-43b8-83bb-a9b600e34184_2018-12-14-12-12-50-window.jpg?width=690&amp;upscale=false\" alt=\"\"><\/p>\n","protected":false},"template":"","class_list":["post-32149","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["4321"],"_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":["3415"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["32149"],"_bbp_forum_id":["27792"],"_bbp_engagement":["22555","161163"],"_bbp_voice_count":["2"],"_bbp_reply_count":["6"],"_bbp_last_reply_id":["72869"],"_bbp_last_active_id":["72869"],"_bbp_last_active_time":["2018-12-19 16:40:46"]},"test":"muchanical"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/32149","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\/32149\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=32149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}