|
[Sponsors] |
November 8, 2001, 09:46 |
UDF problem~??????
|
#1 |
Guest
Posts: n/a
|
i have one complex equation , include(main-program, subroutine). main-program is puted in source terms of momentum equation , subroutine is calculated for electro-chemical reaction ,for example subroutine is : DEFINE_UDSI_FLUX(aa,f,t,i) { face_t f; Thread *t; Yo2=F_YI(f,t,0); Pc=C_P(f,t); Xo2=Yo2*Pc; F_UDSI(f,t,0)=Pc*Xo2; return F_UDSI(f,t,0); } " i wish the UDS's data to return main program "
main program is: DEFINE_SOURCE(bb,c,t,ds,eqn) { cell_t c; face_t f; real q=F_UDSI(f,t,0); source=q*12; ds[eqn]=12; return source; } " i wish the UDF put in source terms of momentum equation" fluent's solver occur error message |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |