CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Check UDF

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

LinkBack Thread Tools Display Modes
Old   April 15, 2004, 08:45
Default Check UDF
stephen e
Posts: n/a
I'm at present having several problems with the UDF below. The udf should mark the boundary cells with a value of 1. I have used it before with no problems but can't see whats wrong!

The problems:

1)firstly it acutally marks what seems to be a random selction of cells, inculding some of the boundary cells and then; 2)crashes out half way through one iteration!

The UDF:



Domain *domain;

Thread *thread;

Thread *Boundarythread;

face_t Boundaryface;

cell_t cell;

int j;

domain = Get_Domain(1);



begin_c_loop (cell,thread)






Boundaryface =C_FACE(cell,thread,j);

Boundarythread =C_FACE_THREAD(cell,thread,j);















If someone can help or check it, I would be most grateful.

Stephen e
  Reply With Quote

Old   April 15, 2004, 09:51
Default Re: Check UDF
stephen e
Posts: n/a
Problem solved !!!!
  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
UDF for transient pressure inlet, mass flow check at nozzle exit and volumetric heat kokoory FLUENT 0 August 17, 2011 02:07
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
DEFINE_DPM_OUTPUT macro UDF HELP Puneet FLUENT 3 November 28, 2003 11:55
DEFINE_ON_DEMAND UDF: How to declare A[ND_ND], etc jx FLUENT 1 November 6, 2003 18:23

All times are GMT -4. The time now is 05:42.