CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Custom Field Function Question

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 4, 2004, 10:23
Default Custom Field Function Question
  #1
Jason
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
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13: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 20: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


All times are GMT -4. The time now is 04:23.