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

regarding c_centroid macro

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2006, 13:18
Default regarding c_centroid macro
  #1
Siddharth Khowala
Guest
 
Posts: n/a
hi, i was facing some problems using this macro ,in my UDF i wanted to define shear stress at two walls in a 2d flow using c_centroid ,I had used a 2d plate of dimensions 10*5 with mesh =(10,5),now when applying the c_centroid to the lower or upper wall the coordinates returned are (0.5,0) and (0.5,5) .The first coordinate in each seems to be ok,the second coordinate is troubling me ,I guess it should be (0.5,0.5) and (0.5,4.5) hence i am getting erroneous results,Any help would be highly appreciated ,the code can also be mailed,PLz provide ur email address if ur are willing to look into the code

regards
  Reply With Quote

Reply


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
Macro Trouble -Winows Explorer Crashes with Macro Martin Castillo FLUENT 1 July 25, 2007 04:18
Macro problem cfddummy Siemens 1 April 9, 2007 12:37
macro not function! guang ai Siemens 0 July 25, 2004 18:53
Call a macro from a macro Flav Siemens 2 July 1, 2004 05:42
Bug in the DEFINE_ADJUST macro? Senthil FLUENT 5 September 3, 2002 22:26


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