


{"id":398177,"date":"2024-12-21T14:27:03","date_gmt":"2024-12-21T14:27:03","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/mass-source-term-udf-of-chemical-reaction\/"},"modified":"2024-12-21T14:27:03","modified_gmt":"2024-12-21T14:27:03","slug":"mass-source-term-udf-of-chemical-reaction","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/mass-source-term-udf-of-chemical-reaction\/","title":{"rendered":"Mass Source Term UDF of Chemical Reaction"},"content":{"rendered":"<p>&lt;p&gt;Hi, guys. I&#8217;m trying to simulate a liquid-solid catalytic reaction, coulped with the multiphase flow. The liquid reactants transfer into the solid phase and the chemical reaction subsequently occurs in the solid phase. Euler methods are used to describe the liquid-solid multiphase flow, and there are more than two species in liquid phase. I have noticed that all relevant references give the reaction rate&nbsp; R in relation to the liquid phase concentration, such as R = K&middot;c1&middot;c2, where c1, c2 represent the &lt;span style=&#8221;background-color: #bfedd2;&#8221;&gt;molar concentration in liquid phase. &lt;\/span&gt;However! If I attain the concentration by C_YI(c, t, 0) when add mass source term &lt;span style=&#8221;background-color: #bfedd2;&#8221;&gt;for solid phase&lt;\/span&gt;, the C_YI(c, t, 0) represents &lt;span style=&#8221;background-color: #bfedd2;&#8221;&gt;the concentration in solid phase, &lt;\/span&gt;and this is not consistent with the formula. Does anyone know how to deal this?&nbsp;&lt;\/p&gt;&lt;p&gt;I&#8217;ve attached the codes from the UDF manual, but haven&#8217;t found the way to get concentrations in other phase. Or maybe I&#8217;m just not understanding the code\uff1f&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/12\/21-12-2024-1734791100-14105.jpg\" alt=\"\" \/>&nbsp;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-398177","topic","type-topic","status-publish","hentry","topic-tag-cfd-udf-fleunt"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27792"],"_bbp_topic_id":["398177"],"_bbp_subscription":["447405","23673"],"_bbp_author_ip":["210.27.229.52"],"_bbp_last_reply_id":["403116"],"_bbp_last_active_id":["403116"],"_bbp_last_active_time":["2024-12-31 20:39:09"],"_bbp_reply_count":["1"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["2"],"_bbp_engagement":["447405","23673"],"_btv_view_count":["389"],"_bbp_topic_status":["unanswered"]},"test":"894875960qq-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/398177","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\/398177\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=398177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}