CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   accessing far field velocity (https://www.cfd-online.com/Forums/fluent/43364-accessing-far-field-velocity.html)

Avinash January 16, 2007 17:34

accessing far field velocity
 
Hi,

I am working on UDF for turbulent flow over a float plate.

For my calculation I need to accesses value of the velocity at the outermost cell(By outermost, I mean y=ymax).

Is there any MACRO for doing this?

Regard Avinash

suijth January 17, 2007 11:20

Re: accessing far field velocity
 
Hi Avinash,

I dont think any direct macro is available to get the macro of outermost cell. You can loop over all the cells and get the cell for which y = y_max and get its velocity.

This cell will be lying adjacent to a boundary..so you can loop over all the faces on this boundary, get the cell and cell thread adjacent to the face, get y_max cell and find velocity. standard macros are available for the above operations.

Btw could you tell me what is the application?

best wishes Sujith


Avinash January 17, 2007 18:52

Re: accessing far field velocity
 
Thanks sujith,

I am adopting a new turbulence model for analysing a flow over a GAS turbine blade. This model is based on SST k-omega model coupled with an inttermettency factor. A convection diffusion equation has been proposed for the intermittency factor. For evaluating the diffusion co-effecient of this equation, I need to know the farfield velocity corresponing to each cell. This was where the problem began to start.

hope I have described the problem proficiently

thanks again


Sujith January 18, 2007 10:30

Re: accessing far field velocity
 
thank you for the insight----and i hope the above method will work

---sujith

Avinash January 18, 2007 13:04

Re: accessing far field velocity
 
Hi,

I asked my professor abt this,

He told me, what I need to find is not free sream velocity, instead local free stream velocity. That can be found by using some sort of pressure distribution variation relation.... Thanks for the help

regards Avinash



All times are GMT -4. The time now is 03:36.