How to write a UDF
Dear all,
I need to write a UDF for pressure inlet boundary condition where i knew 10 data points of time vs pressure. Can someone help me in detailing the procedure to write such a UDF. Thanks in advance |
Assuming you want to interpolate the pressure linearly between the discrete values, something like this might do the trick
Code:
#include "udf.h" |
Thanks Alexander,
will try your suggestion and post whether it worked for me or not. Thanks for your timely support Balaji |
Sorry I just found a little mistake:
Code:
#include "udf.h" |
Thanks Alexander
I have solved the problem using your help. Thanks Saeed For your help anyways i have solved the problem |
All times are GMT -4. The time now is 02:46. |