CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   uds and source terms problem ~~?? (

kevin November 8, 2001 23:05

uds and source terms problem ~~??
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

All times are GMT -4. The time now is 17:30.