Need Fortran code

 Register Blogs Members List Search Today's Posts Mark Forums Read

 October 12, 2017, 02:49 Need Fortran code #1 New Member   bob Join Date: Oct 2017 Posts: 18 Rep Power: 8 Dear friends , i need a code about (Airfoil NACA 5 digit ) for FORTRAN ,to make an airfoil also need graphic airfoil i have equations ,please someone help me .m new for FORTRAN thanks

October 13, 2017, 02:07
#2
Senior Member

Lane Carasik
Join Date: Aug 2014
Posts: 692
Rep Power: 14
Quote:
 Originally Posted by batuning Dear friends , i need a code about (Airfoil NACA 5 digit ) for FORTRAN ,to make an airfoil also need graphic airfoil i have equations ,please someone help me .m new for FORTRAN thanks
Are you asking for help to write the FORTRAN code? If so, where are you having trouble?

October 13, 2017, 04:46
#3
New Member

bob
Join Date: Oct 2017
Posts: 18
Rep Power: 8
Quote:
 Originally Posted by lcarasik Are you asking for help to write the FORTRAN code? If so, where are you having trouble?
yes .true
i have problem with equation .
how i should add the equation's to FORTRAN
the equation of curve line of airfoil is :

Yc= m/p**2(2px-x**2) ===================== from x=0 to x = p
Yc= m/(1-p)**2[(1-2p)+2px-x**2] ============ from x=p to x= c

Equation for calculate thickness upper and down the middle line of airfoil :

+ Yt = t/0.2(0.2969 RADICAL x - 0.1260 x - 0.3516 x**2 + 0.2843 x**3 - 0.1015 x**4)
-

the Equation of final dimensions of upper surface and down surface of airfoil :

Xu=x-Yt * SIN TETA
Yu=Yc+Yt * COS TETA
Xl=x+Xt * SIN TETA
Yl=Yc-Yt * COS TETA

Where TETA = ARCTAN[dYc/dx]

x= chord length
y= vertical length
t= MAX thickness
m= MAX curve

 October 13, 2017, 05:23 #4 New Member   bob Join Date: Oct 2017 Posts: 18 Rep Power: 8 I have a example code but this code is for NACA 4 digit .i need NACA 5 digit also i need the Graphic picture of Airfoil : i just want Design an Airfoil ..not flow making or analyze . simple 5 digit airfoil design also have graphic form Code: http://people.sc.fsu.edu/~jburkardt/f_src/naca/naca.f90 Last edited by batuning; October 13, 2017 at 08:00.

October 14, 2017, 14:58
#5
Senior Member

Lane Carasik
Join Date: Aug 2014
Posts: 692
Rep Power: 14
Quote:
 Originally Posted by batuning I have a example code but this code is for NACA 4 digit .i need NACA 5 digit also i need the Graphic picture of Airfoil : i just want Design an Airfoil ..not flow making or analyze . simple 5 digit airfoil design also have graphic form Code: http://people.sc.fsu.edu/~jburkardt/f_src/naca/naca.f90
Without digging in deeper into the code, it looks like the framework is there for you to just change the equations. I'm not sure what your issue is specifically. Are you having trouble setting up the equations in Fortan? Do you have experience using fortran before?

October 14, 2017, 15:26
#6
New Member

bob
Join Date: Oct 2017
Posts: 18
Rep Power: 8
Quote:
 Originally Posted by lcarasik Without digging in deeper into the code, it looks like the framework is there for you to just change the equations. I'm not sure what your issue is specifically. Are you having trouble setting up the equations in Fortan? Do you have experience using fortran before?
Thanks
i don't have any experience for FORTRAN before im totally new in this
if you can make it simple for me .that i can understand and put my numbers to the code ,
that i exactly want is :
only make a 5 digit airfoil and have graphic form of this ( maybe with tecplot or something ... )
i don't need airflow equations ..or any extra thing ...only a design simple airfoil form just it .
i also have another better code .but i dont know how to send here

 October 14, 2017, 15:40 #7 New Member   bob Join Date: Oct 2017 Posts: 18 Rep Power: 8 naca.zip also another one airfoil platform.zip

October 14, 2017, 15:42
#8
Senior Member

Lane Carasik
Join Date: Aug 2014
Posts: 692
Rep Power: 14
Quote:
 Originally Posted by batuning Thanks i don't have any experience for FORTRAN before im totally new in this if you can make it simple for me .that i can understand and put my numbers to the code , that i exactly want is : only make a 5 digit airfoil and have graphic form of this ( maybe with tecplot or something ... ) i don't need airflow equations ..or any extra thing ...only a design simple airfoil form just it . i also have another better code .but i dont know how to send here
You should spend some time and learn the basics of the coding in FORTRAN if you want to modify it for your purposes.

October 14, 2017, 15:47
#9
New Member

bob
Join Date: Oct 2017
Posts: 18
Rep Power: 8
Quote:
 Originally Posted by lcarasik You should spend some time and learn the basics of the coding in FORTRAN if you want to modify it for your purposes.
yes exactly
thanks i will do it ,
and if you find something to help me ..please don't hesitate

 Tags airfoil 2d, fortran 90, fortran code, fortran compiler