


{"id":183357,"date":"2021-07-21T12:55:46","date_gmt":"2021-07-21T12:55:46","guid":{"rendered":"\/forum\/forums\/reply\/183357\/"},"modified":"2021-07-21T12:55:46","modified_gmt":"2021-07-21T12:55:46","slug":"183357","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/183357\/","title":{"rendered":"Reply To: How to do a UDF to simulate the opening and closing of compressor valves?"},"content":{"rendered":"<p>Have a look at the macro in the UDF manual, it&#8217;ll explain where to hook it up. You then need a separate section of code to do whatever you want it to once the Adjust function is called, that&#8217;s hooked into it&#8217;s own part of the code (again the manual will generally say where it goes).  For porous values it&#8217;ll be either the Porous Jump boundary or porous media cell zone. <\/p>\n","protected":false},"template":"","class_list":["post-183357","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/183357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/183357\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=183357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}