


{"id":306318,"date":"2023-09-12T11:10:44","date_gmt":"2023-09-12T11:10:44","guid":{"rendered":"\/forum\/forums\/topic\/adjoint-solver-convergence-of-residuals\/"},"modified":"2023-09-12T11:10:44","modified_gmt":"2023-09-12T11:10:44","slug":"adjoint-solver-convergence-of-residuals","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/adjoint-solver-convergence-of-residuals\/","title":{"rendered":"Adjoint Solver; Convergence of residuals"},"content":{"rendered":"<p><span class=\"HwtZe\" lang=\"en\"><span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\">Hi everyone,<\/span><\/span><\/span><\/p>\n<p><span class=\"HwtZe\" lang=\"en\"><span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\">I am optimizing a geometry using Fluent&#8217;s adjoint solver.<\/span><\/span> <span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\">I manually optimized the geometry several times in the adjoint solver (manually means that I did not use the gradient-based optimizer And after finishing each iteration of optimization, I did not click the initialize option of the adjoint solver).<\/span><\/span> <span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\">In this case, the residuals of the adjoint solver converge well, which is as shown in the following figure:<br \/><\/span><\/span><\/span><\/p>\n<p style=\"padding-left: 80px\"><span class=\"HwtZe\" lang=\"en\"><span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\"><img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/09\/12-09-2023-1694514827-w2.PNG\" alt=\"\" width=\"620\" height=\"345\"><\/span><\/span><\/span><\/p>\n<p><span class=\"HwtZe\" lang=\"en\"><span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\">Because the optimization process is time-consuming and boring, I used the automatic optimization feature of this solver (Gradient Based Optimizer). But according to the figure below, the residuals do not converge well:<\/span><\/span><\/span><\/p>\n<p style=\"padding-left: 80px\"><span class=\"HwtZe\" lang=\"en\"><span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\"><img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/09\/12-09-2023-1694514922-w1.PNG\" alt=\"\" width=\"618\" height=\"319\"><\/span><\/span><\/span><\/p>\n<p><span class=\"HwtZe\" lang=\"en\"><span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\">It seems to be auto-initialized after each optimization iteration is completed, which makes convergence very difficult. Is there a way to disable auto-initialization of the adjoint solver&nbsp;<\/span><\/span><\/span><span class=\"HwtZe\" lang=\"en\"><span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\">during optimization ?<\/span><\/span><\/span><\/p>\n<p><span class=\"HwtZe\" lang=\"en\"><span class=\"jCAhz ChMk0b\"><span class=\"ryNqvb\">Thanks in advance.<\/span><\/span><\/span><\/p>\n","protected":false},"template":"","class_list":["post-306318","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["17026","5976"],"_bbp_author_ip":["96.7.218.215"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["497"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["306318"],"_bbp_forum_id":["27792"],"_bbp_engagement":["5976","17026"],"_bbp_voice_count":["2"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["312290"],"_bbp_last_active_id":["312290"],"_bbp_last_active_time":["2023-10-19 11:48:22"]},"test":"a-karimi8457gmail-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/306318","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\/306318\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=306318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}