


{"id":301918,"date":"2023-08-17T14:00:02","date_gmt":"2023-08-17T14:00:02","guid":{"rendered":"\/forum\/forums\/topic\/adsorption-using-ansys-fluent-species-transport\/"},"modified":"2023-08-17T14:00:02","modified_gmt":"2023-08-17T14:00:02","slug":"adsorption-using-ansys-fluent-species-transport","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/adsorption-using-ansys-fluent-species-transport\/","title":{"rendered":"Adsorption using ANSYS Fluent, species transport"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I am modeling the adsorption of CO2 in a mixture (air+CO2) by using a porous zone (see attached figure). I have written a UDF for the rate of adsorption dq\/dt= k(q^* &#8211; q)) using four UDS and then applied them to the porous zone only. Used <span style=\"font-size: 14pt\">DEFINE_ADJUST to adjust these four UDS and in the end added the mass source term in the porous zone. See the figure attached. My source term is DEFINE_SOURCE(m_src,c,t,ds,eqn)&nbsp;<br \/>{<br \/>&nbsp; &nbsp; real mass_source;<br \/>&nbsp; &nbsp; mass_source = -C_UDSI(c,t,3);<br \/>&nbsp; &nbsp; ds[eqn]=0.0;<br \/>&nbsp; &nbsp; return mass_source;<\/span><\/p>\n<p><span style=\"font-size: 14pt\">}<\/span><\/p>\n<p><span style=\"font-size: 14pt\">The UDF is compiled without any problem. The problem I am facing is that my CO2 breakthrough at the outlet is very quick and not exactly matches the literature. I don&#8217;t know what I am doing wrong. If any expert can suggest anything or throw some light on whether I am doing it right or not, that will be really helpful.<\/span><\/p>\n<p><span style=\"font-size: 14pt\">Thank you<br \/><img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/08\/17-08-2023-1692280332-Adsorption.jpg\" alt=\"\" width=\"677\" height=\"428\"><\/span><\/p>\n","protected":false},"template":"","class_list":["post-301918","topic","type-topic","status-closed","hentry","topic-tag-adsorption","topic-tag-fluent","topic-tag-mass-source","topic-tag-multiphase-udf-evaporation-dpm-speciestransport-definesource-sourceterm-eulerian-lagrangian-1","topic-tag-udf-in-fluent"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["267933","199","17976"],"_bbp_author_ip":["23.206.193.146"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["2119"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["301918"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","17976","267933"],"_bbp_voice_count":["3"],"_bbp_reply_count":["13"],"_bbp_last_reply_id":["304666"],"_bbp_last_active_id":["304666"],"_bbp_last_active_time":["2023-09-02 17:55:54"]},"test":"mohammad-asifkaust-edu-sa"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/301918","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\/301918\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=301918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}