CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

What is the opposite macro of C_ID(cell_t c,Thread*t)?

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

LinkBack Thread Tools Display Modes
Old   July 26, 2013, 06:30
Default What is the opposite macro of C_ID(cell_t c,Thread*t)?
Join Date: Jul 2013
Posts: 75
Rep Power: 6
upeksa is on a distinguished road
I'm programming an UDF that stores cell index in serial or parallel with different number of nodes.

Using the macro C_ID(cell_t c,Thread*t), I can get in parallel use the same cell index as I had in serial use.
However, when I open my case each time with different number of nodes, I have different cell ID, although the global ID obtained with C_ID is the same.

What I want to do is the opposite of the marco C_ID: given the global cell ID as an input, I want to get the cell ID of my case, which will be different depending on the number of nodes.

Thanks in advance.
upeksa is offline   Reply With Quote


cell index, c_id, parallel, udf

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
StarCCM+ Command line options and Macro execution isidp STAR-CCM+ 8 January 29, 2013 06:00
Run macro for Multiple file furione STAR-CCM+ 6 November 28, 2011 15:54
Macro Trouble -Winows Explorer Crashes with Macro Martin Castillo FLUENT 1 July 25, 2007 04:18
Macro problem cfddummy Siemens 1 April 9, 2007 12:37
Call a macro from a macro Flav Siemens 2 July 1, 2004 05:42

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