CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2013, 07:30
Default What is the opposite macro of C_ID(cell_t c,Thread*t)?
  #1
Member
 
Join Date: Jul 2013
Posts: 80
Rep Power: 13
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

Reply

Tags
cell index, c_id, parallel, udf


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 Off
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 05:18
Macro problem cfddummy Siemens 1 April 9, 2007 13:37
Call a macro from a macro Flav Siemens 2 July 1, 2004 06:42


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