CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Custom Field Function Question (

Jason August 4, 2004 10:23

Custom Field Function Question
I have a model that I want to run at multiple angles of attack. I want to calculate the magnitude of the v and w components of the velocity (the components of the local velocity perpendicular to the freestream velocity). I know that I can calculate these if I hard code the angles into a custom field function (u=Vy*sinAoA+Vx*cosAoA, v=Vz, w=Vy*cosAoA-Vx*sinAoA), but I have to delete and rewrite the CFF for each AoA I run. Is there any way to get the CFF to look up the AoA from the boundary condition (or at least the velocity components so I can calculate the AoA)?

I appreciate any help.

Thanks, Jason

All times are GMT -4. The time now is 20:27.