Writing UDFs


Simulation with linked UDF yielding unexpected results
1. While writing UDFs, the first and foremost thing to keep in mind is that all parameters assigned in UDFs have to be in SI units (whatever be the unit system used in the Fluent GUI).
2. The above is true except when solving user defined scalars (UDS). In this case the parameters that have to do with the UDS (such as diffusion coefficients) are not scaled but read directly from the UDF.





Show Form
No comments yet. Be the first to add a comment!