|February 12, 2010, 12:01||
Fatal Signal (ACCESS_VIOLATION)
Join Date: Jun 2009
Posts: 3Rep Power: 8
I have written a UDF to rotate an ellipse in 2D with a constant angular velocity. It has been compiled and loaded without any errors. However, when i come to preview the mesh motion i get the following error message:
"Updating mesh at time level N...
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 cant work out the problem but i have a feeling it might be my udf as i am new to c programming. Here is a copy of the udf:
DEFINE_CG_MOTION(ellipse, dt, vel, omega, time, dtime)
Thread *tf = DT_THREAD(dt); /*  */
real xn, yn, r, theta, y0, x0;
begin_f_loop(f,tf) /* Loops over all faces in the thread passed in the DEFINE macro argument  */
f_node_loop(f,tf,node) /* Loops over all nodes in the face */
xn = NODE_X(node); // calculate x-coordinate of a grid point on wall /*  */
yn = NODE_Y(node); // calculate y-coordinate of a grid point on wall
/*  */
*omega=1000.0; /*  */
} /*  */
Any suggestions would be very much appreciated.
|February 16, 2010, 13:59||
Join Date: Nov 2009
Posts: 28Rep Power: 8
i think it is not the problem of udf alone.It is possible that your udf is absolutely correct but you will still get this message.it is actually due to a combination of errors due to which Fluent can't proceed further.i will suggest you to check your boundary conditions and the values of pressure assigned.
|February 17, 2010, 13:13||
Join Date: Mar 2009
Posts: 55Rep Power: 8
If you do much with udfs, you may see this message a lot - starting all the way back from Version 4. I have not tried to look through your UDF code, but in general the error occurs when you try and access a variable that is not accessible. So you might look for something where the variable is not yet defined or you are overwriting something. Good luck.
|November 19, 2010, 00:59||
Join Date: Jul 2010
Location: Urumqi CHINA
Posts: 16Rep Power: 7
i have same problem about node_x(node), have you sloved this problem, if yes, could you tell me how ?
In learning and straightway practising is there not pleasure also? When friends gather round from afar do we not rejoice? Whom lack of fame cannot vex is not he a gentleman?
|Thread||Thread Starter||Forum||Replies||Last Post|
|How to remove the error:FLUENT received a fatal signal (SEGMENTATION VIOLATION).||Conan||FLUENT||5||November 26, 2015 07:28|
|FLUENT received fatal signal (ACCESS_VIOLATION)||shashikant||FLUENT||3||November 29, 2014 13:03|
|FLUENT received fatal signal (ACCESS_VIOLATION)||Vivek||FLUENT||0||May 31, 2007 17:58|
|received fatal signal||brusly||FLUENT||1||April 12, 2007 12:49|
|error while compiling the USER Sub routine||CFD user||CFX||3||November 25, 2002 16:16|