CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Accessing values from other cells/thread (http://www.cfd-online.com/Forums/fluent/39277-accessing-values-other-cells-thread.html)

leonard January 17, 2006 03:04

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.


RoM January 17, 2006 11:33

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.

RoM


All times are GMT -4. The time now is 20:35.