Rob
Ansys Employee

If it's in one of the Fluent modules the code may not be accessible, but the maths should be in the theory guide. We do include examples in the UDF manual, you may be lucky and find it's more-or-less the same.