2D-panelmethod, extend to lifting bodies?

  • Thread starter Thread starter Voidses_
  • Start date Start date
  • Tags Tags
    bodies Lifting
Click For Summary

Discussion Overview

The discussion revolves around extending a 2D panel method program to accommodate lifting bodies, focusing on the implementation of vorticity and influence coefficients to calculate velocities at specific panels. Participants explore technical challenges, code development, and comparisons with existing software.

Discussion Character

  • Technical explanation
  • Exploratory
  • Debate/contested

Main Points Raised

  • One participant describes their current 2D panel method program that functions for non-lifting bodies and seeks to expand it to include lifting bodies by introducing vorticity and additional influence coefficients.
  • Another participant questions the choice of developing custom code instead of using established software like Xfoil.
  • A response suggests adding point vortices to the existing sources/sinks setup and emphasizes the importance of satisfying the Kutta Condition for lifting bodies.
  • One participant shares their results for a NACA4412 airfoil at 8 degrees, expressing uncertainty about the accuracy of their lift calculation using midpoint approximation.
  • Another participant challenges the accuracy of the lift coefficient obtained, suggesting it should be around 1.46 based on Xfoil data and questions the nature of the plotted data.
  • The original poster clarifies their plotting method and notes that adjusting the trailing edge panels affected the lift coefficient, indicating a potential source of error.
  • Participants discuss the impact of using more panels on result accuracy, with one noting only minor improvements and attributing remaining errors to input data issues at the trailing edge.
  • A new participant requests assistance with a 3D potential flow-based panel method for hydrodynamic analysis of a catamaran ship.

Areas of Agreement / Disagreement

Participants express varying levels of agreement on the technical aspects of implementing the panel method for lifting bodies, with some uncertainty regarding the accuracy of results and methods used. The discussion remains unresolved regarding the optimal approach and accuracy of the calculations.

Contextual Notes

Limitations include potential inaccuracies in input data, particularly at the trailing edge, and the need for further validation against established software like Xfoil. The discussion also highlights the complexity of satisfying the Kutta Condition in the context of lifting bodies.

Who May Find This Useful

Individuals interested in computational fluid dynamics, panel methods, airfoil analysis, and those developing custom simulation software for aerodynamic or hydrodynamic applications may find this discussion relevant.

Voidses_
Messages
10
Reaction score
0
I'm working on a basic 2D-"panelmethod" program. Currently it's "no-lift" but I would like to expand it to lifting bodies.

The routines I'm using are loaned from my litterature and the program is working just fine for non-lifting bodies. It uses sources distributed over the panels to calculate influence coefficients Tij,Nij (induced velocities over panel).
In the no-lift case I just need to sum these coefficients over all panels and I'm done.

The problems arise when expanding to lifting-bodies and one term of vorticity is introduced along with few more Nij and Tij.
The question is how i should implement the vorticity and extra influence coefficients to obtain the velocity at a certain panel?
 
Physics news on Phys.org
Is there a particular reason you are writing your own code instead of using an existing, mature code like xfoil?
 
I guess it's because I enjoy the process.

Any ideas what I might be doing wrong?
 
Im not sure exactly what you are having difficulty with. But you could add point vorticies in addition to your sources/sinks set up your system of equations and solve for the strengths of the vortices and sources/sinks. Then you can calculate the velocity at a point by summing the induced velocity from all of the sources and vortices. Then calculate your pressure and integrate.

An important thing to remember when applying a panel method to a lifting body is that you must satisfy the Kutta Condition. When using your sources/sinks you only needed to satisfy the condition of no flow perpendicular to the surface at your control points, this is also true for a lifting body with the addition of the Kutta Condition. It been awhile since I have done this but I believe this can be accomplished by setting the tangential velocity of the upper surface trailing edge panel equal to the tangential velocity on the lower surface trailing edge panel. To ensure an accurate answer those two panels should be relatively short and the same length.

Hope this helps some.
 
That helps a bunch. Thank you so much! The program is up and running
how's this for a NACA4412 airfoil @ 8deg?
Namnl%C3%B6st-3.jpg


Looks quite right imo, still a little funky at the trailing edge though. I just used midpoint aproximation to calculate the lift, not sure how accurate that is.

Now I just need to implement a boundary layer simulation ;P
 
You are close but I don't think that solution is quite right. The Cl for the NACA 4412 at 8 deg. is approx 1.46 according to xfoil.

What exactly are you plotting there. Its not Cp so I am assuming it is non-dimensionalized velocity. In which case your suction peak is a pretty high. You wouldn't happen to be plotting (V/Vinf)^2 would you? Because if so then it actually might be pretty close.
 
Correct, I'm plotting 1-Cp so it's basically the same as (V/Vinf)^2. I suspect the difference in Cl is mainly because of the trailing edge panels. by changing them to a more appropiate configuration (similar length) the Cl dropped to 1.4. still not the same as X-foil but if it can change with 0.2 just by changing the trailing edge, I think the solution is correct. As a test NACA0024 was evaluated in Xfoil, the predicted Cl and Cp was in excellent agreement with my own program!
This is what I have at the moment

NACA4412@8deg
naca4412.png
 
Thats great! Good job. Have you investigated if you get more accurate answers with more panels?
 
Thanks! I did try with more panels and it does improve the results to some extent (small improvement). However there's still problems close to the trailing edge. Because the rest of the Cp(x) plot look quite nice I suspect the errors are mainly due to incorrect input data (panels) at the trailing edge. Despite the errors I'm quite happy with what I have at the moment. Next step will be to add a subroutine that calculate the moment coefficient and perhaps later a boundary layer simulation.

Thank you for the help!
 
  • #10
hello
I need to 3D potential flow based panel method for solving analysis hydrodynamics Catamaran ship, please help me, thank you.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
3
Views
2K
Replies
5
Views
8K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
8K
  • Sticky
  • · Replies 48 ·
2
Replies
48
Views
70K
  • · Replies 1 ·
Replies
1
Views
13K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
11K