


{"id":42275,"date":"2020-03-31T09:40:14","date_gmt":"2020-03-31T09:40:14","guid":{"rendered":"\/forum\/forums\/topic\/gas-model-change-hypersonic\/"},"modified":"2020-03-31T09:40:14","modified_gmt":"2020-03-31T09:40:14","slug":"gas-model-change-hypersonic","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/gas-model-change-hypersonic\/","title":{"rendered":"Gas Model Change (Hypersonic)"},"content":{"rendered":"<p><span style=\"color: #000000; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;\"><span style=\"font-size: 13.3333px;\">Hi all! I&acute;m having issues right with switching the gas-model. I have attached 3 screenshots so you can observe the problem. The first one is my &#8220;initialization&#8221; which is the ideal-gas solution.<\/span><\/span><\/p>\n<p><\/p>\n<p><span style=\"color: #000000; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;\"><span style=\"font-size: 13.3333px;\">As soon as I switch the gas model, the residuals jump sudently and the simulation does not diverge because I have set pressure and temperature limits based on the ideal-gas solution (assuming that the flow field will not change dramatically with the real gas model), and the residuals keep almost constant through the iterations, they don&acute;t converge. The Mach number contour after 1 single iteration looks very scattered, I had to clip the contour for Mach number between 0 and 10 because at the inlet the Mach number increased up to Mach 630. I have been trying many solver configurations to continue the calculations from the ideal-gas solution (i.e. explicit\/implicit modes, multigrid levels, low Courant and Under-relaxation factors&#8230;) but none of them seem to work properly.<\/span><\/span><\/p>\n<p><\/p>\n<p><span style=\"color: #000000; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;\"><span style=\"font-size: 13.3333px;\"><span style=\"font-family: sans-serif; font-size: 14.6667px;\">At the inlet I am applying pressure-inlet. Since the temperature is lower than 500 Kelvin, the model is solving the flow using the Ideal-gas formulation which should give the same exact solution in that region. I tried to use a user-defined ideal gas model (the same model that is available at fluent but programmed as an external model) and I had the same issue. Therefore I believe that the problem is how the solver handles the gas-model change.<\/span><\/span><\/span><\/p>\n<p><\/p>\n<p><span style=\"color: #000000; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;\"><span style=\"font-size: 13.3333px;\"> Does anyone know any efficient way to perform this sudden gas-model change?<\/span><\/span><\/p>\n<p><\/p>\n<p><span style=\"color: #000000; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;\"><span style=\"font-size: 13.3333px;\">This is my initial solution with ideal-gas:<\/span><\/span><\/p>\n<p><\/p>\n<p><span style=\"color: #000000; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;\"><span style=\"font-size: 13.3333px;\"><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/129c074b-84fe-4acc-87df-ab73012011d7\/11309cf5-159e-4978-95ac-ab8f009e0df9_initialsolution.jpg?width=690&amp;upscale=false\" alt=\"\"><\/span><\/span><\/p>\n<p><\/p>\n<p><span style=\"color: #000000; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;\"><span style=\"font-size: 13.3333px;\">These are my residuals once I switch the gas models:<\/span><\/span><\/p>\n<p><\/p>\n<p><span style=\"color: #000000; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;\"><span style=\"font-size: 13.3333px;\"><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/129c074b-84fe-4acc-87df-ab73012011d7\/fb0c9dba-6e39-46ea-a39e-ab8f009e21ef_residuals.jpg?width=690&amp;upscale=false\" alt=\"\"><\/span><\/span><\/p>\n<p><\/p>\n<p><span style=\"color: #000000; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;\"><span style=\"font-size: 13.3333px;\">And this is the Mach number contour 1 iteration after the change:<\/span><\/span><\/p>\n<p><\/p>\n<p><span style=\"color: #000000; font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;\"><span style=\"font-size: 13.3333px;\"><img decoding=\"async\" src=\"https:\/\/us.v-cdn.net\/6032193\/uploads\/attachments\/129c074b-84fe-4acc-87df-ab73012011d7\/ab78c022-61a5-4722-8586-ab8f009e32d0_machnumbercontours.jpg?width=690&amp;upscale=false\" alt=\"\"><\/span><\/span><\/p>\n","protected":false},"template":"","class_list":["post-42275","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["14455"],"_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"],"_btv_view_count":["799"],"_bbp_subscription":["248189"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["42275"],"_bbp_forum_id":["27792"],"_bbp_engagement":["118","22555","173964"],"_bbp_voice_count":["3"],"_bbp_reply_count":["8"],"_bbp_last_reply_id":["110131"],"_bbp_last_active_id":["110131"],"_bbp_last_active_time":["2020-04-03 23:07:05"]},"test":"captainconvergence"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/42275","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\/42275\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=42275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}