|
[Sponsors] |
September 29, 2005, 23:32 |
udf for acoustic caculation
|
#1 |
Guest
Posts: n/a
|
hi:
I want to caculate the outer fluid noise of vehicle in a high-speed. But the manual says that data of sound must be save and caculate by using UDF--DEFINE_ADJUST and DEFINE_ON_DEMAND seperately. What I want to know is that what should I write in these UDF. For the first one of saving pressure function, I think it likes this #include "udf.h" DEFINE_ADJUST(sp, d ) { Thread *t; cell_t c; thread_loop_c(t,d) { begin_c_loop(c,t) C_UDMI(c,t,0 )=C_P(c,t); end_c_loop(c,t) } } but the questions is where the thread(t) should point? Is the sound generation wall? How to realize it? For the second UDF, should I programm the formula to caculate the corresponding data or use the existing module to do this. THanks in advance. kevin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |