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 |
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
|
Re: Accessing a zone
Thanx ajay
It worked well Regards Karthick |
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 |
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. |