CFD Online Logo CFD Online URL
Home > Forums > FLUENT

a udf problem

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

LinkBack Thread Tools Display Modes
Old   December 24, 2003, 21:47
Default a udf problem
Posts: n/a
hi,i have tried to compile the following code(using interpreted),but an error is appeared.the code is able to be complied ,however, when i execute execute on demand ,the error is appeared.if an real number (such as 2.55)replace C-VOLUME ,everything is ok,and there are n 2.55 being appeared( n is the number of the cell in the domain 1.)

But i compile the code (using complie),everything is ok,however, nothing is appeared in terminal emulator.even if an real number (such as 2.55)replace C-VOLUME ,anything does not alter.

thank you very much. DEFINE_ON_DEMAND(on_demand_calc) { Domain *d; real nn = 0.; Thread *t; cell_t c; d = Get_Domain(1); /* Loop over all cell threads in the domain */ thread_loop_c(t,d) { begin_c_loop(c,t)



printf(" %g ",nn );

} end_c_loop(c,t)

} } 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


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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 32 May 8, 2015 06:05
Problem with my udf july Fluent UDF and Scheme Programming 3 June 20, 2010 06:56
UDF problem mansha goraya FLUENT 0 October 29, 2007 01:31
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
UDF problem chiseung FLUENT 4 January 10, 2002 10:58

All times are GMT -4. The time now is 02:35.