"read file" for airfoils doesn't work

289 views
Skip to first unread message

corp...@gmail.com

unread,
Apr 14, 2013, 1:38:43 PM4/14/13
to ope...@googlegroups.com
Hello everybody,
 
here my problem: I'm trying to build a wing using airfoils coordinates by "read file". Although I placed in the file ,all data in order to match the .af format (the original conordinates had ".dat" extension), I can't retrieve the airfoil. Is there some specific format for such coordinates type that I've missed ?
 
Thank you all
 

Mark Moore

unread,
Apr 14, 2013, 1:58:17 PM4/14/13
to ope...@googlegroups.com
Just follow the example below, so just cut and paste this.  We call all airfoil files with an .af extension.  You must do the upper surface first, from front to back, and then the bottom.  X coordinates first, then y coordinates.  Make sure you have the number of points specified correctly.  I use this all the time, it works just fine.

Mark

DEMO GEOM AIRFOIL FILE
NACA 23015
0    Sym Flag (0 - No, 1 - Yes)
18   Num Pnts Upper
18   Num Pnts Lower
0.0000     0.0000
0.0125     0.0334
0.0250     0.0444
0.0500     0.0589
0.0750     0.0690
0.1000     0.0764
0.1500     0.0852
0.2000     0.0892
0.2500     0.0908
0.3000     0.0905
0.4000     0.0859
0.5000     0.0774
0.6000     0.0661
0.7000     0.0525
0.8000     0.0373
0.9000     0.0204
0.9500     0.0112
1.00000    0.0000

0.0000     -0.0000
0.0125     -0.0154
0.0250     -0.0225
0.0500     -0.0304
0.0750     -0.0361
0.1000     -0.0409
0.1500     -0.0484
0.2000     -0.0541
0.2500     -0.0578
0.3000     -0.0596
0.4000     -0.0592
0.5000     -0.0550
0.6000     -0.0481
0.7000     -0.0391
0.8000     -0.0283
0.9000     -0.0159
0.9500     -0.0090
1.00000    -0.0000
 




 

--
You received this message because you are subscribed to the Google Groups "OpenVSP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openvsp+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Rob McDonald

unread,
Apr 14, 2013, 3:07:23 PM4/14/13
to ope...@googlegroups.com
VSP should read airfoils in a number of specific formats -- but not
any arbitrary format.

VSP can read from its own format (that Mark described). It can also
read both the Selig and Lednicer formats found on the UIUC airfoil
database. VSP should auto-detect which of those three formats you
have used.

If you're using one of those three formats - and it still isn't
working, please send your example file for us to try out.

Rob

Peter F

unread,
Apr 16, 2013, 12:21:27 AM4/16/13
to ope...@googlegroups.com
Here is an airfoil in the .DAT format, which I read using the method you described.
Title
upper and lower data point counts
x and upper coordinate set
x and lower coordinate set.

 
 WHITCOMB INTEGRAL SUPERCRITICAL AIRFOIL
 37.        37.
 
 0.0      0.0
  .0075    .0176
  .0125    .0215
  .0250    .0276
  .0375    .0316
  .0500    .0347
  .0750    .0394
  .1000    .0428
  .1250    .0455
  .1500    .0476
  .1750    .0493
  .2000    .0507
  .2500    .0528
  .3000    .0540
  .3500    .0547
  .4000    .0550
  .4500    .0548
  .5000    .0543
  .5500    .0533
  .5750    .0527
  .6000    .0519
  .6250    .0511
  .6500    .0501
  .6750    .0489
  .7000    .0476
  .7250    .0460
  .7500    .0442
  .7750    .0422
  .8000    .0398
  .8250    .0370
  .8500    .0337
  .8750    .0300
  .9000    .0255
  .9250    .0204
  .9500    .0144
  .9750    .0074
 1.0000   -.0008
 
 0.0      0.0
  .0075   -.0176
  .0125   -.0216
  .0250   -.0281
  .0375   -.0324
  .0500   -.0358
  .0750   -.0408
  .1000   -.0444
  .1250   -.0472
  .1500   -.0493
  .1750   -.0510
  .2000   -.0522
  .2500   -.0540
  .3000   -.0548
  .3500   -.0549
  .4000   -.0541
  .4500   -.0524
  .5000   -.0497
  .5500   -.0455
  .5750   -.0426
  .6000   -.0389
  .6250   -.0342
  .6500   -.0282
  .6750   -.0215
  .7000   -.0149
  .7250   -.0090
  .7500   -.0036
  .7750    .0012
  .8000    .0053
  .8250    .0088
  .8500    .0114
  .8750    .0132
  .9000    .0138
  .9250    .0131
  .9500    .0106
  .9750    .0060
 1.0000   -.0013

4111...@qq.com

unread,
Apr 16, 2014, 2:51:44 AM4/16/14
to ope...@googlegroups.com
Hello Rob,
I have the similar problem. I want to build a LD-6 container using the 'MS WING'....The problem is that after reading the file, the section shapes are changed....The corners are 'cut off'.....Could you help me figure it out? Thank you so much~~Or could you leave me an email address?

在 2013年4月15日星期一UTC+8上午3时07分23秒,Rob McDonald写道:

4111...@qq.com

unread,
Apr 16, 2014, 2:51:55 AM4/16/14
to ope...@googlegroups.com
Hello Rob,
I have the similar problem. I want to build a LD-6 container using the 'MS WING'....The problem is that after reading the file, the section shapes are changed....The corners are 'cut off'.....Could you help me figure it out? Thank you so much~~Or could you leave me an email address?

在 2013年4月15日星期一UTC+8上午3时07分23秒,Rob McDonald写道:
VSP should read airfoils in a number of specific formats -- but not

sergej ovsepjan

unread,
Apr 16, 2014, 3:40:47 AM4/16/14
to ope...@googlegroups.com
The Problem is the gap at trailing edge. If you change the two lines:

 1.0000   -.0008
to
 1.0000   .0000

and
1.0000   -.0013
to
1.0000   0.0000

it should work.
I am not sure if it is a bug or just a limitation of OpenVSP.

 Regards,
Sergej
Reply all
Reply to author
Forward
0 new messages