|
[Sponsors] |
What is the opposite macro of C_ID(cell_t c,Thread*t)? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 26, 2013, 07:30 |
What is the opposite macro of C_ID(cell_t c,Thread*t)?
|
#1 |
Member
Join Date: Jul 2013
Posts: 80
Rep Power: 13 |
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. |
|
Tags |
cell index, c_id, parallel, udf |
|
|
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 |