[HELP] Value range of a returned variable
Hi there, It's me again.
Since I am still simulating a laser fusion melting process, I ran into a completely new problem. The heat sources I use for my calculations are computed using a UDF. It looks like this: Code:
DEFINE_SOURCE(sourceterm,c,t,dS,eqn) Now here is the thing: the returned variable ("source" in this case) has a limited range. Apparently it seems to be restricted to the range of a signed long integer -2,147,483,648 to 2,147,483,647). :eek: All variables were initialized as "double" and I am running the case in double precision, so the problem is definitely the range of the returned variable. Now the intensities of a laser beam are very high, so I need higher values of the returned variable. What can I do? |
All times are GMT -4. The time now is 07:19. |