CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Urgent! how to get area through UDF?

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 19, 2004, 03:38
Default Urgent! how to get area through UDF?
  #1
David
Guest
 
Posts: n/a
The following sentences of UDF are used to get the coordinates and pressure of the centriods on the specified boundary. And also I want to get the area of the face cells on the boundary to calculate the force. Which macro should I employ in this case and how?Thanks.

begin_f_loop(f,t)

{

F_CENTROID(x,f,t);

fprintf(fload3,"%10.5lf %10.5lf %10.5lf %10.5lf\n",x[0],x[1],x[2],F_P(f,t));

}

end_f_loop(f,t)
  Reply With Quote

 


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Face/Surface area export (urgent) DS FLUENT 8 June 29, 2017 10:16
Area of a particular face of the cell using UDF krish Fluent UDF and Scheme Programming 20 September 16, 2015 05:08
Please help to urgent for UDF P9408 Fluent UDF and Scheme Programming 3 August 31, 2011 00:51
Magnus lift force using UDF - urgent help please Angela Wang FLUENT 2 December 17, 2008 06:03
URGENT custom property for UDF Sandilya Garimella FLUENT 0 May 19, 2008 12:35


All times are GMT -4. The time now is 09:48.