CFD Online Logo CFD Online URL
Home > Forums > FLUENT

UDF, velocity withinh the domain

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 10, 2006, 14:42
Default UDF, velocity withinh the domain
Posts: n/a

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
  Reply With Quote

Old   May 10, 2006, 23:58
Default Re: UDF, velocity withinh the domain
Posts: n/a
you can try the marco DEFINE_OnDemand. This marco help you deal with data after you finish computation.
  Reply With Quote

Old   May 15, 2006, 10:48
Default Re: UDF, velocity withinh the domain
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.

  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 15: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 12:20

All times are GMT -4. The time now is 08:44.