


{"id":289445,"date":"2023-06-19T19:23:54","date_gmt":"2023-06-19T19:23:54","guid":{"rendered":"\/forum\/forums\/topic\/real-gas-models-for-joule-thomson-effect\/"},"modified":"2023-06-19T19:23:54","modified_gmt":"2023-06-19T19:23:54","slug":"real-gas-models-for-joule-thomson-effect","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/real-gas-models-for-joule-thomson-effect\/","title":{"rendered":"Real gas models for Joule-Thomson effect"},"content":{"rendered":"<p>Hello,<\/p>\n<p>Currently I work on a project related to the optimal designs of cryo-ablation catheters. Cryo-ablation uses the phase transition and gas expansion to freeze tissue locally. I have setup the model for the tissue part and but am struggling with the fluidic part.<\/p>\n<p>Beneath is the mesh that I use for a axisymmetric model, where in the inner part is the inlet for liquid coolants, near the tip is a restriction to increase the pressure-difference between the outlet and the end of the inner tube.<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/06\/19-06-2023-1687200626-mceclip0.png\"><\/p>\n<p>Currently I am running into issues with setting up a real gas model for improved accuracy of the Joule-Thomson effect. <br \/>Here is a list of things that I have tried and with the issues arrising in different fluent version (2022R1, 2022R2 and 2023R1) :<\/p>\n<p><strong>1. User-defined real-gas-model&nbsp; <\/strong><\/p>\n<p>I tried using the UDRGM provided from Ansys to check functionality and modify the constants. Compiling and loading the UDRGM is succesful. I try loading the UDRGM with:<\/p>\n<pre class=\"screen\"><strong class=\"userinput\"><code>define\/user-defined\/real-gas-models\/user-defined-real-gas-model<\/code><\/strong><\/pre>\n<p>I get the following error message:<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/06\/19-06-2023-1687201413-mceclip1.png\"><\/p>\n<p>I cant seem to figure out what this issue is.<\/p>\n<p><strong>2. Ansys Defined Real-gas models <\/strong><\/p>\n<p>I setup a defined Real-gas-model in the material properties:<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/06\/19-06-2023-1687201541-mceclip2.png\"><\/p>\n<p>With this method I run into convergence problems due to these models being less reliable in the liquid phase , I could select a multiphase for phase-transition but more on this later.<\/p>\n<p><strong>3. NIST Real gas tables<\/strong><\/p>\n<p>The third method I tried was using the NIST and create look-up tables. The issue with this method is due to the iterative process the temperature gets out of range of the lookup table and the simulation stops. To reduce this error I use an UDF to increase the pressure at the inlet gradually towards the desired temperature, to decrease high pressure drops in a specific cell during the iterative process. Even with the gradual increase I get the following error:<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/06\/19-06-2023-1687201950-mceclip3.png\"><\/p>\n<p>But when I look into the results of the previous iteration I see the following results:<\/p>\n<p><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/06\/19-06-2023-1687202093-mceclip4.png\"><\/p>\n<p>So this is nowhere close to the mentioned 128 K or the boundary of 216K in that regard<\/p>\n<p>&nbsp;<\/p>\n<p>So these are the methods that I have tried without much success.<\/p>\n<p><strong>4. Lookup tables<\/strong><\/p>\n<p>I have one other method that I still want to try using lookup tables to decrease the computational power while increasing the robustness of the simulation in itself.<\/p>\n<p>For this I want to use the real gas models to determine the values at certain temperatures and densities, which has shown success in literature: <a href=\"https:\/\/www.sciencedirect.com\/science\/article\/pii\/S0360544218315706\" target=\"_blank\" rel=\"noopener\">Lookup tables in literature<\/a><\/p>\n<p>For this I have a question: To ensure I use the same formulas as the NIST is it possible to locate the tables from the NIST lookup table outside of Ansys from this checkmark: <img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/06\/19-06-2023-1687202415-mceclip5.png\"><\/p>\n<p>I can recreate the lookup tables with the formulas for the real gas model used by NIST, but would like to have a double check whether the values are correct.<\/p>\n<p>Lastly, I was thinking of using a multiphase flow incorporating multispecies real gas models. However, I do have a theoretical question: is this really necessary? Since the real gas models should describe the state they are already in based on their density, so besides having the possibility to easily visuallize them what is the added benefit of modelling the phase transition in multiphase compared to a real gas model? I am new to the real gas models and might have misunderstood some of the physics behind it.<\/p>\n<p>&nbsp;<\/p>\n<p>Hope somebody can help me with these issues.<\/p>\n<p>&nbsp;<\/p>\n<p>Kind regards,<\/p>\n<p>Swen<\/p>\n","protected":false},"template":"","class_list":["post-289445","topic","type-topic","status-closed","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["270933","199"],"_bbp_author_ip":["23.56.168.214"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["1241"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["289445"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","270933"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["289495"],"_bbp_last_active_id":["289495"],"_bbp_last_active_time":["2023-06-20 08:52:15"]},"test":"swen-groenmail-mcgill-ca"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/289445","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\/289445\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=289445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}