July 3, 2019 at 5:50 am
Ansys Employee
Actually that is not our job as ANSYS Staff to debug or even to comment on UDF on this public community. We only provide guidance
Your UDF looks okay ( In general shape not examined every single detail!!) but you need to debug it (by using Messages for examples) in case it is not behaving as it should.
You said you are able to compile on the machine. I assume then perhaps you need to copy the UDF into a good directory (no white spaces, no special symbols), start Fluent there and try to compile without reading any case.
My question is now: Why do you require that?