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

uds and source terms problem ~~??

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2001, 23:05
Default uds and source terms problem ~~??
  #1
kevin
Guest
 
Posts: n/a
how to combine DEFINE_UDS_FLUX and DEFINE_SOURCE both argument,for example UDS's argument calculate data can transfer to source terms?????

DEFINE_UDSI_FLUX(a,f,t,i) {face_t f; Thread *t; y=F_P(f,t); F_UDSI(f,t.0)=y; return F_UDSI(f,t,0); }

DEFINE_SOURCE(b,c,t,ds,r) {face_t f; real w; w=F_UDSI(f,t,0); source=w*10; ds[r]=10; return source; } Fluent give error message , thanks
  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
Problem of SOURCE term gradient in UDS wind Fluent UDF and Scheme Programming 6 December 1, 2022 15:21
Multiple species and UDS source terms Ale FLUENT 2 September 9, 2002 04:45
UDF Scalar Code: HT 1 Greg Perkins FLUENT 8 October 20, 2000 13:40
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 14, 2000 00:03
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 04:43


All times are GMT -4. The time now is 06:27.