|
[Sponsors] |
May 10, 2006, 15:42 |
UDF, velocity withinh the domain
|
#1 |
Guest
Posts: n/a
|
Hello.
Thanks for your interest in reading my question. For post-processing of my problem, I need to draw a LINE and use a UDF to extract the values of velocity at the faces of the line. I did this though Define_adjust and used loop to go over all the faces and pick the faces that I want. But when I use F_U(f,t) it gives the following message: 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: () My question is how can I access the values of velocity at those faces? I looked into the manual and it says that F_U(f,t), F_V(f,t), F_W(f,t) and F_T(f,t) are just for boundaries. Thanks, Mazyar |
|
May 11, 2006, 00:58 |
Re: UDF, velocity withinh the domain
|
#2 |
Guest
Posts: n/a
|
you can try the marco DEFINE_OnDemand. This marco help you deal with data after you finish computation.
|
|
May 15, 2006, 11:48 |
Re: UDF, velocity withinh the domain
|
#3 |
Guest
Posts: n/a
|
Face values for interior cells are not stored so F_U(f,t) wont work. You will have to calculate the face value from the adjacent cell values. As a first estimate you could use the averadge F_U=(C_U(c0,t0)+C_U(c1,t1))/2.
RoM |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
unsteady inlet velocity udf | jill | FLUENT | 8 | February 10, 2015 07:04 |
Should I be using True or Superficial Velocity for Porous Domain? | siw | CFX | 2 | November 17, 2010 08:52 |
Editing a UDF for a velocity boundary in a multiphase | rubenk | FLUENT | 0 | May 7, 2009 16:48 |
UDF velocity profile problem | Steve | FLUENT | 0 | January 18, 2005 13:11 |
UDF component in Cyliderical Velocity? | Hongchan Kim | FLUENT | 3 | April 24, 2001 13:20 |