|
[Sponsors] |
July 19, 2012, 15:43 |
Which DEFINE macro should I go with?
|
#1 |
New Member
Jon Lee
Join Date: Jun 2012
Posts: 6
Rep Power: 13 |
Hello,
I coded a subroutine in C and am trying to modify it into UDF. I'd like to extract coordiates of centroid of cells using the F_CENTROID function, calculate electromagnetic forces for each extracted coordinates by linear interpolation, and assign interpolated electromagnetic forces to each cell center. Which DEFINE macro should I go with in this case? Please give any comments or advices. Thanks Last edited by darang; July 20, 2012 at 09:13. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing OF 1.6 on Mac OS X | gschaider | OpenFOAM Installation | 129 | June 19, 2010 09:23 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 11:48 |
REAL GAS UDF | brian | FLUENT | 6 | September 11, 2006 08:23 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 12:24 |
UDF FOR UNSTEADY TIME STEP | mayur | FLUENT | 3 | August 9, 2006 10:19 |