CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Floating point error - help (https://www.cfd-online.com/Forums/fluent/50032-floating-point-error-help.html)

sk December 11, 2008 13:16

Floating point error - help
 
Hi all,

I am using udf for Boundary conditions and also for calculating source terms. I compile my udf.

In the beginning of my simulations I get this floating piont error.

When I try to read few help mostly suggest to use coarse mesh or different initialisation. I have tried both but at some point of time it comes to same error.

One of my friend suggested me (1) define a regino for source. Can someone tell me how to do that.

(2) i am using C_VOF in my udf. There was also a chance of overflow of values. How to change it wen I am running my simulations. Any pointers and guidance will be veryhelpful.

Thanks. sk.

andrew clarke December 17, 2008 10:31

Re: Floating point error - help
 
Did you try using a double precision (dP) solving instead of normal solving as seen when you start up fluent? The error may be caused by loss of data (not enough decimel places in single precision solver) that could be reduced by using doubles as seen in the double precision solver.

Hope this helps in some way.

Andrew

sk December 17, 2008 10:32

Re: Floating point error - help
 
I am using double precision already .. Thanks for your suggestion.


All times are GMT -4. The time now is 09:43.