CFD Online Logo CFD Online URL
Home > Forums > FLUENT

uds and source terms problem ~~??

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   November 8, 2001, 23:05
Default uds and source terms problem ~~??
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


Thread Tools
Display Modes

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 On
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 5 June 21, 2013 05:39
Multiple species and UDS source terms Ale FLUENT 2 September 9, 2002 03:45
UDF Scalar Code: HT 1 Greg Perkins FLUENT 8 October 20, 2000 12:40
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 13, 2000 23:03
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 03:43

All times are GMT -4. The time now is 05:32.