2D-panelmethod, extend to lifting bodies?

In summary, the programmer is working on a program that will calculate the velocity at a certain panel for a lifting body. He is having difficulty with expanding the program to include lifting bodies. He is close to having a solution, but has errors close to the trailing edge.
  • #1
Voidses_
10
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
  • #2
Is there a particular reason you are writing your own code instead of using an existing, mature code like xfoil?
 
  • #3
I guess it's because I enjoy the process.

Any ideas what I might be doing wrong?
 
  • #4
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.
 
  • #5
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
 
  • #6
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.
 
  • #7
Correct, I'm plotting 1-Cp so it's basicly 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
 
  • #8
Thats great! Good job. Have you investigated if you get more accurate answers with more panels?
 
  • #9
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.
 

FAQ: 2D-panelmethod, extend to lifting bodies?

1. What is a 2D-panel method?

A 2D-panel method is a computational technique used in fluid mechanics to calculate the flow around a 2-dimensional object, such as an airfoil or wing. It divides the object into a series of panels, and uses mathematical equations to calculate the flow characteristics, such as pressure and velocity, at each panel.

2. How does the 2D-panel method work?

The 2D-panel method uses a mathematical model called the potential flow theory, which assumes that the flow around the object is irrotational and incompressible. The method then solves for the flow parameters at each panel, taking into account the influence of neighboring panels, to determine the overall flow around the object.

3. What is the advantage of using a 2D-panel method?

The 2D-panel method allows for a relatively quick and simple analysis of the flow around a 2-dimensional object, compared to more complex 3-dimensional methods. It is also computationally efficient, making it useful for design and optimization studies.

4. How can the 2D-panel method be extended to lifting bodies?

To extend the 2D-panel method to lifting bodies, additional panels are added to represent the 3-dimensional shape of the object. This allows for the calculation of lift and drag forces, which are important for analyzing the performance of lifting bodies, such as airplane wings or ship hulls.

5. What are some limitations of the 2D-panel method?

One limitation of the 2D-panel method is that it assumes an idealized flow without viscosity, which may not accurately represent real-world situations. It also cannot account for turbulent flow, which is important for certain applications. Additionally, the accuracy of the results may be affected by the number and distribution of panels used.

Similar threads

Replies
7
Views
2K
Replies
2
Views
5K
Replies
4
Views
2K
Replies
4
Views
2K
Replies
48
Views
62K
Replies
2
Views
8K
Back
Top