Ansys Learning Forum Forums Discuss Simulation Fluids finding minimum distance between walls in UDF Reply To: finding minimum distance between walls in UDF

Rob
Forum Moderator

I can only point you to the documentation for the coding element. Given PBCS is good for Mach 2-3 I don't know if you really need density based. The other option is not to look for wall separation but instead look at position: ie if the ground is at x=0 make sure the object can't get below x=0.5 for example.Â