CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Accessing a zone (https://www.cfd-online.com/Forums/fluent/33423-accessing-zone.html)

Karthick April 7, 2004 10:15

Accessing a zone
 
Hello all

Is it possible to access a particular zone in Fluent through udf's. I have to increase the velocity of particular domain with some value. Assume I am having four zones out of which I have to increase the velocity of first zone with some value. Is it possible through udf's

Regards Karthick

Ajay April 7, 2004 18:48

Re: Accessing a zone
 
thread *tf; int id=3 ; tf=Lookup_Thread(d,id) where d is the domain pointer and Id is got fom the BC panel for different zone. once you get the pointer you could set the values. or in the define_profile you could check for where you are and set the values only when you are in the right zone . c_centroid could be used to get ur position. -Ajay

Karthick April 8, 2004 04:57

Re: Accessing a zone
 
Thanx ajay

It worked well

Regards Karthick

Karthick April 9, 2004 12:51

Re: Accessing a zone
 
Hello ajay

I am having one more problem. If I try to patch the velocity with some values, turbulent viscosity is limited to 14285 cells error I am getting. Is it due to our udf...How can I get rid of it?

Regards Karthick

Benny April 16, 2004 00:08

Re: Accessing a zone
 
Hi Karthick,

If that is only warning message, you can pay no attention to it. Yo can set the limitation to the value you like.

regards, Benny


All times are GMT -4. The time now is 19:15.