CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Custom Drag, floating point error: invalid number (https://www.cfd-online.com/Forums/fluent/46205-custom-drag-floating-point-error-invalid-number.html)

JK October 2, 2007 07:51

Custom Drag, floating point error: invalid number
 
Hi.. I want to fit a custom drag law in simple gas-liquid pipe flow. As an exercise I coded the standard Morsi-Alexander drag Law through a UDF and enabled the drag through UDF. Now, the solver runs for some time and then gives Floating Point Error: Invalid Number. If I lower the underrelaxation, then it runs for a relatively longer time but gives the same error finally.

how to correct this plz help thanx in advance

PS: should I post the UDF I wrote ??


All times are GMT -4. The time now is 02:54.