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 23, 2001, 23:06
Default UDF problem~~~~
Posts: n/a
i want to combine the argument for DEFINE_SOURCE and DEFINE_ADJUST .but i have written a program C . Who can check my model , thanks

DEFINE_ADJUST(adj_func,domain) {

cell_t c;

Thread *t; thread_loop_c(t, domain) { if(THREAD_ID(t)==6 {

begin_c_loop(c,t) { Yo2=C_YI(c,t,1);


}end_c_loop(c,t) } } } DEFINE_SOURCE(cathode_oxygen,cell,thread,dS,eqn) {

cell_t c;

Thread *t;

real source1,q;



dS[eqn]=-F; return source1; }

Fluent's solver get me , Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: ()

  Reply With Quote

Old   November 29, 2001, 15:22
Default Re: UDF problem~~~~
Posts: n/a
Have you set your number of UDMI's in the Define>User Defined> Memory panel? This may have a problem with that...


  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
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
Dynamic Mesh UDF Qureshi FLUENT 1 December 2, 2009 01:27
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 20:37.