|August 19, 2007, 08:27||
help with macros F_ID and C_ID
In my problem statement I am required to address specific cell and face element on a boundary. Please note I am addressing this issue for a parallel solver.
I found that in mem.h the Fluent.Inc has provided macros F_ID and C_ID to obtain the global face and cell id. I hope, in parallel solver the face id we obtain using these macros are equal to their index (face_t f) defined in serial solver. However, while using this macros in a very simple UDF, Fluent always give following error, "Segmentation Vioation"
The sample UDF is below
Message0("\nThe face id is %d \n", F_ID(f,t));
#endif /* #if RP_NODE */
#endif /* #if !RP_HOST */
Look forward to hear yours expert opinion on this topic.