[WIP] airfoil workbench

Show off your FreeCAD projects here!
User avatar
looo
Posts: 3108
Joined: Mon Nov 11, 2013 5:29 pm

[WIP] airfoil workbench

Post by looo » Wed Dec 11, 2019 3:25 pm

As I already mentioned somewhere else, I am currently working on an airfoil workbench. I will posts updates in this topic. The work has 3 targets:
1. calibrating/modifying spline-foils to foils given by coordinates
2. optimizing spline foils (reducing drag with libxfoil)
3. interpolation of drag-computation with neural networks (not yet sure if this is a good idea)


1.
The current functionality is mainly the calibration and interactive modification of spline foils (I called them parafoil's -> parametric foils). This tool helps to create good approximations of airfoil coordinates by using a calibration method (least-square method from scipy). I decided to fix the number of poles of a parafoil. This makes the calibration task easier and also will help later on with the wing creation.

phpBB [video]


added nose-tangent and table to modify pole-coordinates and weights:
Peek 2019-12-13 20-31.gif
Peek 2019-12-13 20-31.gif (601.66 KiB) Viewed 1216 times
Last edited by looo on Fri Dec 13, 2019 7:34 pm, edited 1 time in total.
please help with my conda-packaging efforts: https://liberapay.com/looooo/
minimalistic blog: https://looooo.github.io/mini-blog/
User avatar
Joel_graff
Posts: 1623
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: [WIP] airfoil workbench

Post by Joel_graff » Thu Dec 12, 2019 3:11 am

I'd like to include this as a new WB in the 0.19 release notes. Can you post a good description and maybe a nice screenshot either here or in the release notes thread?
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails

pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
chrisb
Posts: 21375
Joined: Tue Mar 17, 2015 9:14 am

Re: [WIP] airfoil workbench

Post by chrisb » Thu Dec 12, 2019 9:42 am

The release notes thread was rather hard to find. Should it be pinned or moved to Announcments or both?
User avatar
Kunda1
Posts: 6427
Joined: Thu Jan 05, 2017 9:03 pm

Re: [WIP] airfoil workbench

Post by Kunda1 » Thu Dec 12, 2019 10:39 am

chrisb wrote:
Thu Dec 12, 2019 9:42 am
Should it be pinned or moved to Announcments or both?
:+1:
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
chrisb
Posts: 21375
Joined: Tue Mar 17, 2015 9:14 am

Re: [WIP] airfoil workbench

Post by chrisb » Thu Dec 12, 2019 11:13 am

Is this thumb up for pin or move or both :lol: ?
User avatar
Kunda1
Posts: 6427
Joined: Thu Jan 05, 2017 9:03 pm

Re: [WIP] airfoil workbench

Post by Kunda1 » Thu Dec 12, 2019 3:05 pm

chrisb wrote:
Thu Dec 12, 2019 11:13 am
Is this thumb up for pin or move or both :lol: ?
lol, my vote is to pin it ;)
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
looo
Posts: 3108
Joined: Mon Nov 11, 2013 5:29 pm

Re: [WIP] airfoil workbench

Post by looo » Thu Dec 12, 2019 3:12 pm

Joel_graff wrote:
Thu Dec 12, 2019 3:11 am
I'd like to include this as a new WB in the 0.19 release notes. Can you post a good description and maybe a nice screenshot either here or in the release notes thread?
I would like to make some progress first, as currently, not much functionality is provided.
please help with my conda-packaging efforts: https://liberapay.com/looooo/
minimalistic blog: https://looooo.github.io/mini-blog/
chrisb
Posts: 21375
Joined: Tue Mar 17, 2015 9:14 am

Re: [WIP] airfoil workbench

Post by chrisb » Thu Dec 12, 2019 5:17 pm

Kunda1 wrote:
Thu Dec 12, 2019 3:05 pm
lol, my vote is to pin it ;)
I pinned it, we can easily return to the current state by unpinning.
User avatar
looo
Posts: 3108
Joined: Mon Nov 11, 2013 5:29 pm

Re: [WIP] airfoil workbench

Post by looo » Thu Dec 12, 2019 10:07 pm

I need a solution for finding the leading-edge of an foil given by coordinates. Currently I am using the point with the smallest x-value as the leading-edge. But this is not coorect. I guess a better definition of the leading edge is the intersection of the camber-curve and the airfoil. But I am not sure how to compute this point. Maybe someone has an idea.
leading-edge.png
leading-edge.png (8.31 KiB) Viewed 1354 times
please help with my conda-packaging efforts: https://liberapay.com/looooo/
minimalistic blog: https://looooo.github.io/mini-blog/
User avatar
microelly2
Posts: 4560
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: [WIP] airfoil workbench

Post by microelly2 » Thu Dec 12, 2019 10:46 pm

What is the definition of the leading edge? I think, I have a feeling,but it is better to have a well defined concept.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests