problem with importing airfoil files

50 views
Skip to first unread message

Sofia Georgiou

unread,
Jun 18, 2026, 3:13:38 PM (6 days ago) Jun 18
to OpenVSP
Hello all, 
My teammates and I have been trying to import airfoil files without success, despite following all guidelines (.dat file, selig format, name of the airfoil in the 1st line, starting from TE, and so on). The file is not readable and the airfoil cannot be imported. Is there any bug with OpenVSP?

Rob McDonald

unread,
Jun 18, 2026, 3:14:57 PM (6 days ago) Jun 18
to OpenVSP
There are lots of bugs in OpenVSP.  However, there are no known bugs associated with reading in airfoil files at this time.

Where did you get your airfoil file?  Can you post your airfoil file so we can try it out?

Rob

Sofia Georgiou

unread,
Jun 18, 2026, 3:26:06 PM (6 days ago) Jun 18
to OpenVSP
We got it from airfoil tools. I'm posting a drive link containing all the airfoil files.
https://drive.google.com/drive/folders/1lyxfhCbBR2l1mR58ZUQGkmh4stBUYzjB?usp=sharing

Rob McDonald

unread,
Jun 18, 2026, 3:30:35 PM (6 days ago) Jun 18
to OpenVSP
Both files work fine.

Screenshot 2026-06-18 at 12.29.58 PM.png

Rob

Sofia Georgiou

unread,
Jun 18, 2026, 3:50:52 PM (6 days ago) Jun 18
to OpenVSP
thank you so much for your time!! 
We've been trying to import them by following this exact route: wing --> airfoil--> choose type: AF_FILE--> read file, but it still won't read the file. Do you have clue what could be wrong?

Rob McDonald

unread,
Jun 18, 2026, 3:55:47 PM (6 days ago) Jun 18
to OpenVSP
This shouldn't be a problem, but it is my only guess right now...

If you're using a different locale on your computer, then scanf might be confused about the decimal separator -- . vs ,

To test this, I would open one of the files in a text editor and search/replace . with , and save as a different file.  Then try loading that modified file.

OpenVSP should ignore the system locale and just use the 'C' locale everywhere -- but perhaps something is changing that.

Other than that, I don't have any ideas.

Rob

Thirumalai A

unread,
Jun 19, 2026, 3:39:36 PM (5 days ago) Jun 19
to OpenVSP
I've had some issues with importing Airfoil files as well, and what has worked for me is to copy/paste the coordinates into a known good AF file, or use something like XFOIL/XFLR5 to re-export the coordinates back to a DAT file. I've done that here, perhaps take a look n see if it works?

Screenshot 2026-06-19.png
LS0413-2.dat
NLF0215F-2.dat
Reply all
Reply to author
Forward
0 new messages