|November 28, 2011, 16:45||
URGENT HELP needed regarding UDF for droplet impact height and spreading values
Join Date: Nov 2011
Posts: 2Rep Power: 0
The following is a UDF that I am using to calculate the spreading radius and height of a droplet impingement on a surface. It is an axisymmetric problem and I am trying to evaluate the above values at every time-step.
real temp, y,x;
Thread *t, *t1;
fprintf(fp,"%5.10d %5.8d %5.8d",time,x,y);
Fluent compiles the UDF properly. I hook up the UDF it up at the Execute at end and initialize the solution. Then I am patching the liquid droplet with a velocity. Once I start iterating this is the error that Fluent pops up:
Updating solution at time level N...
Global Courant Number : 0.01
iter continuity x-velocity y-velocity time/iter
1 0.0000e+00 1.6108e-03 1.5012e-04 0:00:00 1
1 0.0000e+00 0.0000e+00 0.0000e+00
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: ()
This same problem was working properly without the UDF
|access_violation, droplet, height, radius, udf|