


{"id":36046,"date":"2019-06-19T02:23:40","date_gmt":"2019-06-19T02:23:40","guid":{"rendered":"\/forum\/forums\/topic\/ways-to-calculate-heat-release-of-reaction-in-fluent\/"},"modified":"2019-06-19T02:23:40","modified_gmt":"2019-06-19T02:23:40","slug":"ways-to-calculate-heat-release-of-reaction-in-fluent","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/ways-to-calculate-heat-release-of-reaction-in-fluent\/","title":{"rendered":"ways to calculate heat release of reaction in fluent."},"content":{"rendered":"<p>Hi all,<\/p>\n<p><\/p>\n<p>I am doing a new project. it&#8217;s air flows through porous soot cake and reacts with soot. The local soot concentration is treated as an UDS in fluent. The reaction is very simple as follows:<\/p>\n<p><\/p>\n<p>C+O2&#8211;&gt;CO2.<\/p>\n<p><\/p>\n<p>specific heat of carbon is constant and for other gas species, specific heat is temperature-dependent. I need to write UDF to define source term of enthalpy which arises because of carbon oxidation.<\/p>\n<p><\/p>\n<p>I have two ways to calculate reaction enthalpy.&nbsp;<\/p>\n<p><\/p>\n<p>Firstly: I would use C_H(c,t) to access enthalpy in the cell. Because enthalpy in a cell is mass-weighted, I can calculate enthalpy for oxygen and carbon dioxide. For carbon, the enthalpy is just Cp multiplied by ?T. Ultimately, heat release of the reaction is just enthalpy of the product minus enthalpy of reactants.<\/p>\n<p><\/p>\n<p>Secondly: Because I know specific heat of every species in the system. I can calculate enthalpy of formation by the following equation:<\/p>\n<p><\/p>\n<p>?H(0)+&int;Cp(t)*dt. I don&#8217;t need to use C_H(c,t) macro. I just need to use C_T macro to access temperature in the cell.<\/p>\n<p><\/p>\n<p>I wonder which method is correct or both of them are ok?<\/p>\n<p><\/p>\n<p>I need to confirm this and then go further.<\/p>\n<p><\/p>\n<p>PS: I received very kind help on this community and finished two projects.<\/p>\n<p><\/p>\n<p>Thanks very much!<\/p>\n<p><\/p>\n<p>Weiqiang.<\/p>\n","protected":false},"template":"","class_list":["post-36046","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_old_topic_id":["8218"],"_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"],"_btv_view_count":["2270"],"_bbp_subscription":["236081"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["36046"],"_bbp_forum_id":["27792"],"_bbp_engagement":["22555","156533"],"_bbp_voice_count":["2"],"_bbp_reply_count":["8"],"_bbp_last_reply_id":["87706"],"_bbp_last_active_id":["87706"],"_bbp_last_active_time":["2019-06-22 02:32:34"]},"test":"weiqiang-liu"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/36046","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\/36046\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=36046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}