teoman
Subscriber
The problematic command line is
if(NODE_X(v)>50.0&&NODE_POS_NEED_UPDATE(v))
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.