


{"id":237795,"date":"2022-10-17T11:24:26","date_gmt":"2022-10-17T11:24:26","guid":{"rendered":"\/forum\/forums\/topic\/presssure-intensifier-simulation-with-moving-mesh\/"},"modified":"2022-10-17T11:24:26","modified_gmt":"2022-10-17T11:24:26","slug":"presssure-intensifier-simulation-with-moving-mesh","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/presssure-intensifier-simulation-with-moving-mesh\/","title":{"rendered":"Presssure Intensifier Simulation with moving mesh"},"content":{"rendered":"<p class=\"MsoNormal\">I have a simulation of simulating a pressure intensifier. I want to find the pressure attained in the compression chamber after the piston moves by &lsquo;x&rsquo; stroke length. I have made a moving mesh simulation.<\/p>\n<p class=\"MsoNormal\">In this the compressing wall is moving at a velocity of 0.1 m\/s. I have defined an UDF. The compressing wall is defined as a rigid body motion. The compressing zone is assumed as deforming zone.<\/p>\n<p class=\"MsoNormal\">I have simulated the simulation with standard k-e model. Water as the fluid. Simulation time steps of 200 time steps with time step of 0.01 sec. Total simulation time of 2 seconds.<\/p>\n<p class=\"MsoNormal\">The problem is in the results. The pressure obtained at the start of simulation is more than the pressure obtained at the end of simulation. Where have I gone wrong?<\/p>\n<p class=\"MsoNormal\">UDF:<br \/><span style=\"font-size: 9.5pt;font-family: Consolas;color: blue;background: white\">#include<\/span><span style=\"font-size: 9.5pt;font-family: Consolas;color: #a31515;background: white\">&#8220;udf.h&#8221;<br \/><\/span><span style=\"font-size: 9.5pt;font-family: Consolas;color: blue;background: white\">static<\/span><span style=\"font-size: 9.5pt;font-family: Consolas;color: black;background: white\"> real velocity = 0.1;<br \/><\/span><span style=\"font-size: 9.5pt;font-family: Consolas;color: black;background: white\">DEFINE_CG_MOTION(box,dt,vel,omega,time,dtime)<br \/><\/span><span style=\"font-size: 9.5pt;font-family: Consolas;color: black;background: white\">{<br \/><\/span><span style=\"font-size: 9.5pt;font-family: Consolas;color: black;background: white\">&nbsp; &nbsp; &nbsp;NV_S(vel, =, 0.0);<br \/><\/span><span style=\"font-size: 9.5pt;font-family: Consolas;color: black;background: white\">&nbsp; &nbsp; &nbsp;vel[2] = velocity;<br \/><\/span><span style=\"font-size: 9.5pt;font-family: Consolas;color: black;background: white\"><span>&nbsp; &nbsp; &nbsp;<\/span>Message(<\/span><span style=\"font-size: 9.5pt;font-family: Consolas;color: #a31515;background: white\">&#8220;time=%f, vel[2]=%f\\n&#8221;<\/span><span style=\"font-size: 9.5pt;font-family: Consolas;color: black;background: white\">, time, vel[2]);<br \/><\/span><span style=\"font-size: 9.5pt;font-family: Consolas;color: black;background: white\">}<\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 9.5pt;font-family: Consolas;color: black;background: white\"><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2022\/10\/17-10-2022-1666005820-1.PNG\" alt=\"\"><\/span><\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: 9.5pt;font-family: Consolas;color: black;background: white\"><img decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2022\/10\/17-10-2022-1666005804-2.PNG\" alt=\"\"><\/span><\/p>\n","protected":false},"template":"","class_list":["post-237795","topic","type-topic","status-closed","hentry","topic-tag-fluent"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["264843","199"],"_bbp_author_ip":["23.220.96.180"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_bbp_likes_count":["1"],"_btv_view_count":["654"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["237795"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","264843"],"_bbp_voice_count":["2"],"_bbp_reply_count":["10"],"_bbp_last_reply_id":["238620"],"_bbp_last_active_id":["238620"],"_bbp_last_active_time":["2022-10-25 15:42:56"]},"test":"girish-patelkncampusuvce-in"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/237795","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\/237795\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=237795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}