CFD Online Logo CFD Online URL
Home > Forums > FLUENT

UDF problem~??????

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

LinkBack Thread Tools Display Modes
Old   November 8, 2001, 09:46
Default UDF problem~??????
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
  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
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 21: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

All times are GMT -4. The time now is 13:20.