CFD Online Logo CFD Online URL
Home > Forums > FLUENT

domain and superdomain ???

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

LinkBack Thread Tools Display Modes
Old   January 16, 2004, 05:11
Default domain and superdomain ???
Posts: n/a
Hi everyone, I am trying to implement a source term only in the first range of cells after a wall. The source term is hooked via energy equtaion for water (Euler-euler solver). What i need is to access the thread of teh wall (called tf_wall). The ID of teh wall is ID =2. Here is the part of the UDF i wrote:


{ Domain *domain;

Thread *tf_wall,

int ID =2;

Thread *tf_wall = Lookup_Thread(domain, ID);

...... }

Doing that i got an error message when i want to use the Thread tf_wall. As my define source is hooked up in the energy equation for water i wonder if the '*domain' pointer is the right one to put in the Lookup_Thread(domain, ID) macro. As far I understand my *domain is the sub_domain referring to water. Which domain should I use to get my wall thread using Thread *tf_wall = Lookup_Thread(domain, ID) ? Do i need the mixture_domain pointer to make it work?


  Reply With Quote

Old   January 16, 2004, 14:39
Default Re: domain and superdomain ???
Posts: n/a
I have Found my mistake thanks
  Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

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