0% found this document useful (0 votes)
55 views9 pages

Blended Wing Body Aircraft Geometry: Code For Generating The Output

The document describes the geometry of a blended wing body aircraft. Key details include: - Four chords were defined along the root of one half of the wing, with dimensions ranging from 760mm to 100mm. - The other half is a mirror image of the first half. - Code is provided to generate the geometry through B-spline functions using the chord coordinates. Plots of the X,Y,Z coordinates can then be created.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views9 pages

Blended Wing Body Aircraft Geometry: Code For Generating The Output

The document describes the geometry of a blended wing body aircraft. Key details include: - Four chords were defined along the root of one half of the wing, with dimensions ranging from 760mm to 100mm. - The other half is a mirror image of the first half. - Code is provided to generate the geometry through B-spline functions using the chord coordinates. Plots of the X,Y,Z coordinates can then be created.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Blended Wing Body Aircraft Geometry

One half of the dimensions were taken accordingly as:


1. Root chord 760 mm HS-522(airfoil)
2. An intermediate chord 450 mm HS-522(airfoil) at a distance of 200 mm from Root Chord.
3. Another intermediate chord 280 mm MH-45(airfoil) at a distance of 350 mm from Root Chord
4. Tip Chord 100 mm MH-45(airfoil) at a distance of 900 mm from Root Chord.

The other half is a mirror image for the first half.

The coordinates of the above four chords were obtained from thw following websites:

http://airfoiltools.com/airfoil/details?airfoil=mh45-il

https://www.aerodesign.de/profile/hs522.txt

Code for generating the output:

% finding Uj %% Finding Ui

function [out] = Uj(j) function [out] = Ui(i)

global L m; global K n;

if j<L

out = 0; if i<K

elseif (j>=L && j<=m) out = 0;

out = j-L+1; elseif (i>=K && i<=n)

elseif j>m out = i-K+1;

out = m-L+2; elseif i>n

end out = n-K+2;

end end
end

….………………………………………………………………………………………………………………………………………………………

%Finding Ni,k

function [out] = Ni(i,k,u)

a=0;b=0;

if k == 1

out = double(u>=Ui(i) & u<=Ui(i+1));

else

if (Ui(i+k-1)>Ui(i))

a = (u - Ui(i)).*Ni(i,k-1,u)/(Ui(i+k-1)-Ui(i));

else

a = zeros(size(u));

end

if (Ui(i+k)>Ui(i+1))

b = (Ui(i+k)-u).*Ni(i+1,k-1,u)/(Ui(i+k)-Ui(i+1));

else

b = zeros(size(u));

end

out = a+b;

end

end

….………………………………………………………………………………………………………………………………………………………………………………

%% Finding Nj,l

function [out] = Nj(j,L,v)

a=0;b=0;

if L == 1
out = double(v>=Uj(j) & v<=Uj(j+1));

else

if (Uj(j+L-1)>Uj(j))

a = (v - Uj(j)).*Nj(j,L-1,v)/(Uj(j+L-1)-Uj(j));

else

a = zeros(size(v));

end

if (Uj(j+L)>Uj(j+1))

b = (Uj(j+L)-v).*Nj(j+1,L-1,v)/(Uj(j+L)-Uj(j+1));

else

b = zeros(size(v));

end

out = a+b;

end

end

….………………………………………………………………………………………………………………………………………………………………………………

%Function to calculate X,Y,Z values %Main Program

global K L m n;
function [outputArg1] = Bspline(u,v,XYZ) n = size(X,2) - 1;
sum = 0; m = size(X,1) - 1;
global PP K L m n; K = 3; L=3;

for i = 0:n [u,v] = meshgrid(linspace(0,n-K+2,80),linspace(0,m-L+2,60));


for j = 0:m

sum = sum +
XYZ(j+1,i+1).*Ni(i,K,u).*Nj(j,L,v);
XX = Bspline(u,v,X);
end
YY = Bspline(u,v,Y);
end
ZZ = Bspline(u,v,Z);

outputArg1 = sum;% returns the value of sum


surf(XX, YY, ZZ)
end
axis equal
Columns 1 through 4 Columns 5 through 8 Columns 9 through 12 Columns 13 through 16

-0.5000 -0.4967 -0.4867 -0.4701 -0.4475 -0.4192 -0.3857 -0.3478 -0.3059 -0.2611 -0.2140 -0.1655 -0.1159 -0.0657 -0.0153 0.0348

0 0.0093 0.0373 0.0836 0.1471 0.2263 0.3199 0.4263 0.5435 0.6690 0.8007 0.9367 1.0756 1.2161 1.3571 1.4976

0 0.0299 0.0907 0.1620 0.2526 0.3680 0.5009 0.6611 0.8327 1.0370 1.2500 1.4665 1.7007 1.9278 2.1444 2.3662

0 0.0505 0.1531 0.2735 0.4267 0.6215 0.8460 1.1165 1.4064 1.7513 2.1111 2.4768 2.8723 3.2558 3.6216 3.9962

0 0.0299 0.0907 0.1620 0.2526 0.3680 0.5009 0.6611 0.8327 1.0370 1.2500 1.4665 1.7007 1.9278 2.1444 2.3662

0 0.0093 0.0373 0.0836 0.1471 0.2263 0.3199 0.4263 0.5435 0.6690 0.8007 0.9367 1.0756 1.2161 1.3571 1.4976

-0.5000 - 0.4967 -0.4867 -0.4701 -0.4475 -0.4192 -0.3857 -0.3478 -0.3059 -0.2611 -0.2140 -0.1655 -0.1159 -0.0657 -0.0153 0.0348

Columns 17 through 20 Columns 21 through 24 Columns 25 through 28 Columns 29 through 32

0.0844 0.1328 0.1796 0.2244 0.2668 0.3065 0.3431 0.3764 0.4061 0.4319 0.4537 0.4713 0.4848 0.4941 0.4992 0.5000

1.6362 1.7718 1.9029 2.0284 2.1471 2.2581 2.3607 2.4538 2.5369 2.6092 2.6702 2.7197 2.7574 2.7835 2.7978 2.8000

2.5898 2.8116 3.0229 3.2324 3.4313 3.6134 3.7764 3.9247 4.0573 4.1734 4.2723 4.3508 4.4014 4.4377 4.4619 4.4820

4.3739 4.7485 5.1053 5.4592 5.7952 6.1026 6.3778 6.6283 6.8524 7.0485 7.2155 7.3480 7.4335 7.4948 7.5357 7.5695

2.5898 2.8116 3.0229 3.2324 3.4313 3.6134 3.7764 3.9247 4.0573 4.1734 4.2723 4.3508 4.4014 4.4377 4.4619 4.4820

1.6362 1.7718 1.9029 2.0284 2.1471 2.2581 2.3607 2.4538 2.5369 2.6092 2.6702 2.7197 2.7574 2.7835 2.7978 2.8000

0.0844 0.1328 0.1796 0.2244 0.2668 0.3065 0.3431 0.3764 0.4061 0.4319 0.4537 0.4713 0.4848 0.4941 0.4992 0.5000

Columns 33 through 36 Columns 37 through 40 Columns 41 through 44 Columns 45 through 48

0.4993 0.4936 0.4822 0.4658 0.4447 0.4192 0.3893 0.3554 0.3175 0.2759 0.2311 0.1835 0.1335 0.0818 0.0290 -0.0245

2.7981 2.7821 2.7501 2.7042 2.6451 2.5736 2.4902 2.3951 2.2889 2.1726 2.0471 1.9137 1.7739 1.6292 1.4811 1.3314

4.4938 4.4989 4.5000 4.4988 4.4923 4.4771 4.4527 4.4210 4.3741 4.3195 4.2544 4.1655 4.0247 3.8633 3.6837 3.4879

7.5896 7.5981 7.6000 7.5979 7.5870 7.5613 7.5201 7.4665 7.3874 7.2952 7.1852 7.0350 6.7972 6.5248 6.2213 5.8907

4.4938 4.4989 4.5000 4.4988 4.4923 4.4771 4.4527 4.4210 4.3741 4.3195 4.2544 4.1655 4.0247 3.8633 3.6837 3.4879

2.7981 2.7821 2.7501 2.7042 2.6451 2.5736 2.4902 2.3951 2.2889 2.1726 2.0471 1.9137 1.7739 1.6292 1.4811 1.3314

0.4993 0.4936 0.4822 0.4658 0.4447 0.4192 0.3893 0.3554 0.3175 0.2759 0.2311 0.1835 0.1335 0.0818 0.0290 -0.0245
Columns 49 through 52 Columns 53 through 56 Columns 57 through 60 Columns 61 through 62

-0.0779 -0.1305 -0.1817 -0.2309 -0.2775 -0.3209 -0.3606 -0.3961 -0.4269 -0.4526 -0.4729 -0.4877 -0.4968 -0.5000

1.1820 1.0346 0.8911 0.7533 0.6229 0.5014 0.3903 0.2910 0.2048 0.1327 0.0758 0.0344 0.0089 0

3.2782 3.0571 2.8269 2.5904 2.3501 2.1087 1.8692 1.6341 1.4062 1.1880 0.9820 0.7906 0.6161 0

5.5366 5.1631 4.7744 4.3749 3.9690 3.5614 3.1569 2.7598 2.3748 2.0063 1.6585 1.3353 1.0406 0

3.2782 3.0571 2.8269 2.5904 2.3501 2.1087 1.8692 1.6341 1.4062 1.1880 0.9820 0.7906 0.6161 0

1.1820 1.0346 0.8911 0.7533 0.6229 0.5014 0.3903 0.2910 0.2048 0.1327 0.0758 0.0344 0.0089 0

-0.0779 -0.1305 -0.1817 -0.2309 -0.2775 -0.3209 -0.3606 -0.3961 -0.4269 -0.4526 -0.4729 -0.4877 -0.4968 -0.5000

X-coordinates

Y-Coordinates

Columns 1 through 4 Columns 5 through 8 Columns 9 through 12 Columns 13 through 16

0 -0.0001 -0.0002 0.0002 0.0013 0.0033 0.0063 0.0103 0.0154 0.0214 0.0280 0.0349 0.0415 0.0477 0.0531 0.0575

0 -0.0003 -0.0006 0.0004 0.0036 0.0093 0.0176 0.0288 0.0430 0.0599 0.0785 0.0977 0.1163 0.1335 0.1486 0.1611

0 0.0009 0.0039 0.0084 0.0152 0.0251 0.0376 0.0539 0.0726 0.0963 0.1220 0.1483 0.1760 0.2016 0.2239 0.2443

0 0.0016 0.0065 0.0141 0.0257 0.0423 0.0635 0.0910 0.1227 0.1627 0.2060 0.2505 0.2973 0.3405 0.3782 0.4125

0 0.0009 0.0039 0.0084 0.0152 0.0251 0.0376 0.0539 0.0726 0.0963 0.1220 0.1483 0.1760 0.2016 0.2239 0.2443

0 -0.0003 -0.0006 0.0004 0.0036 0.0093 0.0176 0.0288 0.0430 0.0599 0.0785 0.0977 0.1163 0.1335 0.1486 0.1611

0 -0.0001 -0.0002 0.0002 0.0013 0.0033 0.0063 0.0103 0.0154 0.0214 0.0280 0.0349 0.0415 0.0477 0.0531 0.0575

Columns 17 through 20 Columns 21 through 24 Columns 25 through 28 Columns 29 through 32

0.0611 0.0636 0.0650 0.0652 0.0643 0.0620 0.0586 0.0541 0.0486 0.0422 0.0350 0.0272 0.0191 0.0109 0.0033 0

0.1710 0.1780 0.1819 0.1826 0.1799 0.1737 0.1641 0.1515 0.1360 0.1181 0.0980 0.0762 0.0534 0.0305 0.0091 0

0.2618 0.2750 0.2830 0.2857 0.2826 0.2742 0.2609 0.2427 0.2200 0.1932 0.1633 0.1323 0.1062 0.0823 0.0624 0.0414

0.4422 0.4645 0.4779 0.4824 0.4773 0.4631 0.4406 0.4099 0.3716 0.3263 0.2758 0.2234 0.1794 0.1390 0.1053 0.0698

0.2618 0.2750 0.2830 0.2857 0.2826 0.2742 0.2609 0.2427 0.2200 0.1932 0.1633 0.1323 0.1062 0.0823 0.0624 0.0414

0.1710 0.1780 0.1819 0.1826 0.1799 0.1737 0.1641 0.1515 0.1360 0.1181 0.0980 0.0762 0.0534 0.0305 0.0091 0

0.0611 0.0636 0.0650 0.0652 0.0643 0.0620 0.0586 0.0541 0.0486 0.0422 0.0350 0.0272 0.0191 0.0109 0.0033 0

Columns 33 through 36 Columns 37 through 40 Columns 41 through 44 Columns 45 through 48

-0.0028 -0.0079 -0.0131 -0.0181 -0.0228 -0.0268 -0.0299 -0.0321 -0.0333 -0.0337 -0.0333 -0.0323 -0.0307 -0.0288 -0.0265 -0.0240

-0.0078 -0.0221 -0.0367 -0.0508 -0.0638 -0.0750 -0.0837 -0.0898 -0.0932 -0.0942 -0.0932 -0.0904 -0.0860 -0.0805 -0.0741 -0.0672

0.0240 0.0114 0 -0.0097 -0.0206 -0.0311 -0.0411 -0.0499 -0.0590 -0.0666 -0.0735 -0.0806 -0.0889 -0.0954 -0.1003 -0.1034

0.0405 0.0193 0 -0.0163 -0.0347 -0.0524 -0.0695 -0.0842 -0.0996 -0.1126 -0.1241 -0.1362 -0.1502 -0.1612 -0.1694 -0.1746

0.0240 0.0114 0 -0.0097 -0.0206 -0.0311 -0.0411 -0.0499 -0.0590 -0.0666 -0.0735 -0.0806 -0.0889 -0.0954 -0.1003 -0.1034

-0.0078 -0.0221 -0.0367 -0.0508 -0.0638 -0.0750 -0.0837 -0.0898 -0.0932 -0.0942 -0.0932 -0.0904 -0.0860 -0.0805 -0.0741 -0.0672
-0.0028 -0.0079 -0.0131 -0.0181 -0.0228 -0.0268 -0.0299 -0.0321 -0.0333 -0.0337 -0.0333 -0.0323 -0.0307 -0.0288 -0.0265 -0.0240

Columns 49 through 52 Columns 53 through 56 Columns 57 through 60 Columns 61 through 62

-0.0214 -0.0189 -0.0164 -0.0140 -0.0118 -0.0097 -0.0078 -0.0061 -0.0046 -0.0033 -0.0022 -0.0011 -0.0003 0

-0.0600 -0.0529 -0.0459 -0.0393 -0.0330 -0.0272 -0.0219 -0.0172 -0.0130 -0.0094 -0.0061 -0.0032 -0.0009 0

-0.1046 -0.1039 -0.1015 -0.0974 -0.0919 -0.0853 -0.0778 -0.0698 -0.0616 -0.0534 -0.0455 -0.0379 -0.0309 0

-0.1767 -0.1755 -0.1714 -0.1645 -0.1553 -0.1441 -0.1314 -0.1179 -0.1040 -0.0901 -0.0768 -0.0641 -0.0522 0

-0.1046 -0.1039 -0.1015 -0.0974 -0.0919 -0.0853 -0.0778 -0.0698 -0.0616 -0.0534 -0.0455 -0.0379 -0.0309 0

-0.0600 -0.0529 -0.0459 -0.0393 -0.0330 -0.0272 -0.0219 -0.0172 -0.0130 -0.0094 -0.0061 -0.0032 -0.0009 0

-0.0214 -0.0189 -0.0164 -0.0140 -0.0118 -0.0097 -0.0078 -0.0061 -0.0046 -0.0033 -0.0022 -0.0011 -0.0003 0

Z-Coordinates
Columns 1 through 4 Columns 1 through 4 Columns 1 through 4 Columns 1 through 4

-2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000

4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000

6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000

8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000

10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000

11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000

18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000

Columns 1 through 4 Columns 1 through 4 Columns 1 through 4 Columns 1 through 4

-2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000

4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000

6.0000 6.0000 1 through


Columns 6.0000 4 6.0000 6.0000 6.0000 1 through
Columns 6.0000 4 6.0000 6.0000 6.0000 1 through
Columns 6.0000 4 6.0000 6.0000 6.0000 1 through
Columns 6.0000 4 6.0000

8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000

10.0000
-2.0000 10.0000
-2.0000 10.0000
-2.0000 10.0000
-2.0000 10.0000
-2.0000 10.0000
-2.0000 10.0000
-2.0000 10.0000
-2.0000 10.0000
-2.0000 10.0000
-2.0000 10.0000
-2.0000 10.0000
-2.0000 10.0000
-2.0000 10.0000
-2.0000 10.0000
-2.0000 10.0000
-2.0000

11.5000
4.5000 11.5000
4.5000 11.5000
4.5000 11.5000
4.5000 11.5000
4.5000 11.5000
4.5000 11.5000
4.5000 11.5000
4.5000 11.5000
4.5000 11.5000
4.5000 11.5000
4.5000 11.5000
4.5000 11.5000
4.5000 11.5000
4.5000 11.5000
4.5000 11.5000
4.5000

18.0000
6.0000 18.0000
6.0000 18.0000
6.0000 18.0000
6.0000 18.0000
6.0000 18.0000
6.0000 18.0000
6.0000 18.0000
6.0000 18.0000
6.0000 18.0000
6.0000 18.0000
6.0000 18.0000
6.0000 18.0000
6.0000 18.0000
6.0000 18.0000
6.0000 18.0000
6.0000

8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000

10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000

11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000

18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000

Columns 1 through 4 Columns 1 through 4 Columns 1 through 4 Columns 1 through 4

-2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000 -2.0000

4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000 4.5000
6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000 6.0000

8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000 8.0000

10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000 10.0000

11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000 11.5000

18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000 18.0000

We took reference from the following research paper:

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy