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

Apame: 3D panel code question

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2011, 09:21
Question Apame: 3D panel code question
  #1
New Member
 
Join Date: Aug 2011
Posts: 2
Rep Power: 0
pm3d is on a distinguished road
Hi

If someone have looked at the Matlab or Fortran implementation of Apame 3D panel code (3dpanelmethod.com/), please help me with the following question.

For the following part of code, WHY the free-stream velocity component in transversal direction "gp" is NOT taken into account? Is this because there is no side-slip angle?

The vectors u, p, o are unit vectors in longitudinal, transversal and perpendicular direction, while qu, qp, qo is the induced velocity in longitudinal, transversal and perpendicular direction.

----------------------
% induced velocity in perpendicular direction
qo = (p1(i,j)*o1(i,j) + p2(i,j)*o2(i,j) + p3(i,j)*o3(i,j))*(qp - (u1(i,j)*p1(i,j) + u2(i,j)*p2(i,j) + u3(i,j)*p3(i,j))*qu)

% free-stream velocity components gu, go in longitudinal and perpendicular direction
gu = u1(i,j)*Vx + u2(i,j)*Vy + u3(i,j)*Vz;
go = o1(i,j)*Vx + o2(i,j)*Vy + o3(i,j)*Vz;

% resultant velocity
vx(i,j) = (-qu + gu)*u1(i,j) + (-qo + go)*o1(i,j);
vy(i,j) = (-qu + gu)*u2(i,j) + (-qo + go)*o2(i,j);
vz(i,j) = (-qu + gu)*u3(i,j) + (-qo + go)*o3(i,j);
v(i,j) = realsqrt(vx(i,j)^2+vy(i,j)^2+vz(i,j)^2);
----------------------

If I have to consider the side-slip, does the following correction make sense?

----------------------
gu = u1(i,j)*Vx + u2(i,j)*Vy + u3(i,j)*Vz;
gp = p1(i,j)*Vx + p2(i,j)*Vy + p3(i,j)*Vz;
go = o1(i,j)*Vx + o2(i,j)*Vy + o3(i,j)*Vz;
vx(i,j) = (-qu + gu)*u1(i,j) + (-qp + gp)*p1(i,j) + (-qo + go)*o1(i,j);
vy(i,j) = (-qu + gu)*u2(i,j) + (-qp + gp)*p2(i,j) + (-qo + go)*o2(i,j);
vz(i,j) = (-qu + gu)*u3(i,j) + (-qp + gp)*p3(i,j) + (-qo + go)*o3(i,j);
----------------------

Any help in this regard is appreciated.

Regards

Last edited by pm3d; August 12, 2011 at 04:03.
pm3d is offline   Reply With Quote

Old   August 12, 2011, 04:05
Default
  #2
New Member
 
Join Date: Aug 2011
Posts: 2
Rep Power: 0
pm3d is on a distinguished road
I think nobody is interested in panel codes any more!
pm3d is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
3D PANEL METHOD Paolo Lampitella Main CFD Forum 12 August 27, 2014 12:46
Error in CFX Solver Leuchte CFX 5 November 6, 2010 07:12
A problem of panel mathod code. lily Main CFD Forum 7 June 21, 2001 02:01
public CFD Code development Heinz Wilkening Main CFD Forum 38 March 5, 1999 12:44
What kind of Cmmercial CFD code you feel well? Lans Main CFD Forum 13 October 27, 1998 11:20


All times are GMT -4. The time now is 14:24.