CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   the problem of C_R_G in UDF (https://www.cfd-online.com/Forums/fluent/45778-problem-c_r_g-udf.html)

may August 19, 2007 21:07

the problem of C_R_G in UDF
 
Hi, friends, I have met a problem of UDF. The role of my UDF is to calculate some parameters I am interested in and saved it into file at the end of execution. During the calculating of parameters, I use the information of density. For incompressible flow, it is constant (R=C_R(c0,t0)). Then the file is compiled and executed successfully. Once the flow is compressible. I use the density gradient to calculate the density at the cell face (R=C_R(c0,t0)+C_R_G(c0,t0)[0]*dr0[0]+C_R_G(c0,t0)[1]*dr0[1]+C_R_G(c0,t0)[2]*dr0[2]). Then there is some error when executing shown as "Stack backtrace generated for process id 15921 on signal 1: Please include this information with and bug report you file on this issue! /app1/common/Fluent.Inc/fluent6.3.26/lnia64/3d/fluent.6.3.26[0*4000000001dfreef0]......Error:fluent.6.326 received a fatal signal (SEGMENTATION VIOLATION).). So I guess the error is due to the usage of C_R_G for compressible flow.

For your information, to track the gradient of density, I already set the answer of yes to the queuestion of "keep tempory solver memory from being freed?" in the commend line of /solve/set/expert.

Would you please give me some advice at your free time? Thanks a lot in advance!


All times are GMT -4. The time now is 17:59.