CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   How to use F_UDMI(f,t,i)? (https://www.cfd-online.com/Forums/fluent/34550-how-use-f_udmi-f-t-i.html)

Doris September 3, 2004 09:35

How to use F_UDMI(f,t,i)?
 
Hi all,

I want to use F_UDMI to save my udf's calculated variables. And I have define some User-Defined Memory Locations in fluent. I interpreted my udf and succeed. But when I execute it ,there is a error like below:

Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: ()

I have no idea. Can someone help me? I'll be very appreciated.

Andrew Garrard September 3, 2004 14:48

Re: How to use F_UDMI(f,t,i)?
 
I have had several problems using F_UDMI in the past. However, I haven't had an access violation before. The first thing to check is that F_UDMI is compatible with an interpreted UDF, if it is not, you will have to use compiled. Probably the easiest way to check this is to run it as compiled and see if you get the same error. The second thing to test is that you have enough UDM's defined in the Fluent GUI to account for all those you are defining in the UDF.

My last point. When I was using a F_UDMI, I could only get the answer to produce a result of zero. I talked to the Fluent USC and they couldn't help. To get around the problem I simply assigned the value of the F_UDMI to a C_UDMI on the adjacent cell to that of the face.

Hope some of this helps and good luck.


All times are GMT -4. The time now is 20:39.