Accessing values from other cells/thread
Does anyone know how can I access values from cells in other thread? I need to use the values to set my BC at the wall. I've tried using Thread *t = Lookup_Thread(d,n), but fluent also gives me segmentation error. Can anyone please advice me on this?
Any help is appreciated. Thank you.
Re: Accessing values from other cells/thread
Tracking segmentation errors is really hard because its fluents standard error message. Posting your source (if its not confidential) would help to identify the problem. One possible problem could be the wrong usage of the thread pointer returned by Lookup_Thread. It can either be an cell thread (n refers to fluid/solid zone) or face thread (all other zones). Using a face thread in a macro that requires a cell thread (like C_T(c,t) ) or vice versa will give you a segmentation error.
|All times are GMT -4. The time now is 09:15.|