|
[Sponsors] |
August 4, 2004, 11:23 |
Custom Field Function Question
|
#1 |
Guest
Posts: n/a
|
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
Question about wall function | Gary | Main CFD Forum | 1 | December 3, 2007 11:54 |