CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

UDF problem~??????

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2001, 08:46
Default UDF problem~??????
  #1
kevin
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
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 07:37
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22: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 04:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 04:01


All times are GMT -4. The time now is 11:12.