|
[Sponsors] |
May 16, 2006, 13:18 |
regarding c_centroid macro
|
#1 |
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 |
|
|
|
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 |