Ansys Learning Forum Forums Discuss Simulation Fluids How to do a UDF to simulate the opening and closing of compressor valves? Reply To: How to do a UDF to simulate the opening and closing of compressor valves?

Rob
Forum Moderator
You will need to change alpha and C2, which are coefficients linked to how permeable the porous media is. In your case they will be found by obtaining the valve pressure loss at different flow rates and open fractions.
Note, this will mimic the valve effect but won't provide any useful details on flow in the actual valve.