CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   uds and source terms problem ~~?? (https://www.cfd-online.com/Forums/fluent/29060-uds-source-terms-problem.html)

kevin November 8, 2001 22: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 21:27.