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

udf for acoustic caculation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 29, 2005, 23:32
Default udf for acoustic caculation
  #1
kevin
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

  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
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


All times are GMT -4. The time now is 12:44.