|
[Sponsors] |
November 8, 2001, 23:05 |
uds and source terms problem ~~??
|
#1 |
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 |
|
|
|
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 |