The problematic command line is
UDF uses dimension unit as "meter" even if You adusted the unit to "milimeter" in fluent. Then the dimension
in the command line " 50.0" is meter for UDF and equals to 50000 milimeter and if you CAD model is smaller in dimension Than the code does not work.
Fluent dimension set up should override UDF's unit system.