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

Basic Doubt

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 2, 2012, 16:32
Default Basic Doubt
  #1
New Member
 
Aditya
Join Date: Dec 2011
Posts: 28
Rep Power: 5
dsn2491 is on a distinguished road
Hi,

I am pretty new to C++ programming and so I have little trouble in understanding the format of the UDF's.

In general after we pass the pointer to the entire domain why do we pass the pointer to the threads and then cell threads as well??

DEFINE_INIT(my_init_func,d)
{
cell_t c;
Thread *t;
real xc[ND_ND];

it will be great if someone can explain this. I have tried to look in the manuals of C++ but I couldnt find anything useful
dsn2491 is offline   Reply With Quote

Reply

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
Basic Doubt vishnukmd7 Main CFD Forum 0 September 23, 2010 14:44
A basic doubt on reading the iteration results hariya03 OpenFOAM Post-Processing 0 July 16, 2008 09:28
Fluent Basic Doubt Fluent learner FLUENT 16 May 30, 2008 05:09
CO in fluent - Simple basic doubt plz help. JACK HARI FLUENT 0 December 22, 2007 02:35
Help with basic finite difference doubt. Guillermo Marraco Main CFD Forum 5 March 10, 2007 07:38


All times are GMT -4. The time now is 21:16.