


{"id":50364,"date":"2020-12-04T14:47:56","date_gmt":"2020-12-04T14:47:56","guid":{"rendered":"\/forum\/forums\/topic\/issue-on-the-design-change-when-using-the-ansys-fluent-adjoint-based-shape-optimizer\/"},"modified":"2021-04-28T18:25:36","modified_gmt":"2021-04-28T18:25:36","slug":"issue-on-the-design-change-when-using-the-ansys-fluent-adjoint-based-shape-optimizer","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/issue-on-the-design-change-when-using-the-ansys-fluent-adjoint-based-shape-optimizer\/","title":{"rendered":"Issue on the design change when using the Ansys FLUENT adjoint-based shape optimizer"},"content":{"rendered":"<p><strong>Brief introduction on the issue:<\/strong>nFLUENT\u2019s shape optimizer doesn\u2019t appear to be giving the correct direction for optimizing the case with an energy objective function, but works fine with a momentum based objective function. n<strong>Section 1: Model introduction<\/strong>nThe model is a tunnel, with the liquid flowing through it as shown in the figure 1.nBoundary conditions:n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/JAOGOX418KSH\/image.png\" width=\"584\" height=\"265\" \/>The objective function is minimizing the temperature of the bottom surface.nI already did a parametric study to validate the direction the optimizer should go: I simulate a case with smaller thickness and find that the smaller thickness can lead to the bottom surface temperature smaller as shown in table 1.n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/H2B1CJG20K13\/image.png\" width=\"596\" height=\"426\" \/>\u00a0To do the shape optimization for this case, I use the adjoint based shape optimization in FLUENT.n<strong>Section 2: Sensitivity of optimal displacement<\/strong>nI made vector plots of sensitivity of optimal displacement for two cases, one is the case with the objective function that minimizing the bottom surface\u2019s temperature, same as the section 1, and the other one is the case with objective function that maximizing the pressure drop between inlet and outlet.nFrom the plots, the geometry cannot change in y direction (thickness direction) when the objective function is temperature, but for objective function as the pressure drop, the design will be changed in y direction. These plots are also shown in the figure 2.n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/X1QOKXMUG52Y\/image.png\" width=\"581\" height=\"366\" \/><strong>Section 3 Optimization process<\/strong>nFor the case, the objective function is minimizing the temperature of the bottom surface, I set all the surfaces, except for the bottom surface, can be moved and the surfaces movement is constrained only in y direction, which is the thickness direction. The movement freedom is 1. The optimization results are shown table 2:n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/BNO9MCF9DOE0\/image.png\" width=\"589\" height=\"88\" \/>There are two steps during the optimization, first running with -1% as target change and subsequently running with -0.3%. The residuals for first step are below 1e-10. As for the second step, the continuity residual is around 1e-5, other residuals are below 1e-7.\u00a0nWhen I set larger target change, there is an error: negative cell volume detected. nBased on the optimized design, there is negligible change of the design, I also cannot find the expected design change in y direction (thickness direction).n<strong>Issue: <\/strong>nBased on the sections above, My question is why the optimizer does not make the geometry of energy on case (objective is minimizing the temperature) change in y direction(thickness direction) but can make the geometry of energy off case (objective is maximizing the pressure drop) change in y direction(thickness direction)?nHow to resolve the error properly: negative cell volume detected so that I can use larger target change. \u00a0nnThank you for any reply!nnZhengda Yaon<\/p>\n","protected":false},"template":"","class_list":["post-50364","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["22611"],"_bbp_old_topic_author_name_id":["Anonymous"],"_bbp_old_is_topic_anonymous_id":["false"],"_bbp_old_closed_status_id":["closed"],"_bbp_author_ip":["I?(\n"],"_bbp_old_sticky_status_id":["normal"],"_bbp_status":["publish"],"_bbp_likes_count":["0","0","0","0","0"],"_btv_view_count":["295"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["50364"],"_bbp_forum_id":["27792"],"_bbp_engagement":["25","183763"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["135075"],"_bbp_last_active_id":["135075"],"_bbp_last_active_time":["2020-12-04 16:16:36"]},"test":"zyao1"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/50364","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\/50364\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=50364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}