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

Accessing values from other cells/thread

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2006, 02:04
Default Accessing values from other cells/thread
  #1
leonard
Guest
 
Posts: n/a
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.

  Reply With Quote

Old   January 17, 2006, 10:33
Default Re: Accessing values from other cells/thread
  #2
RoM
Guest
 
Posts: n/a
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
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Accessing LES Delta Values From Solver Code mchurchf OpenFOAM 4 June 12, 2023 12:55
Accessing boundary values DoHander FLUENT 0 January 7, 2010 08:44
Accessing node values using a UDF Nico FLUENT 2 December 20, 2007 02:50
Accessing Shear Rate Values in Subroutines Daniel Lattin Siemens 0 January 10, 2007 17:59
UDF help on accessing values shashikant FLUENT 0 December 22, 2005 09:41


All times are GMT -4. The time now is 05:08.