using nonlinear airfoil properties datafile

78 views
Skip to first unread message

Marco

unread,
Nov 24, 2018, 7:44:09 AM11/24/18
to MachUp Forum
snippet from MachUp documentation:
Airfoil Properties.
· type: Specify either "linear" or "datafile". The linear specification will assume
linear lift properties over all ranges of angle of attack based on the properties defined
in this section. The datafile option will read properties from a file containing airfoil
data obtained from an outside source. In order to use the datafile option, the user
must choose a file from which to read the airfoil properties. This is done by typing
"filename":file name .
end snippet from MachUp documentation

I am using JavaFoil to make airfoil polars.
The documentation does not specify how this data should be formatted to be read by MachUp.
Can you tell me how to get this working?

thanks, marco

Marco

unread,
Nov 26, 2018, 7:03:57 AM11/26/18
to machup...@googlegroups.com
okay, found out more

the documentation should say (both between quotes):
"filename": "file_name.txt"

then the functions responsible are to be found in source airfoil.f90

real function af_CL
reads column 1 (alpha) and column 2 (Cl)

real function af_CD
reads column 1 (alpha) and column 3 (Cd)

real function af_Cm
reads column 1 (alpha) and column 4 (Cm)

with the 1st line of the 2dAirfoilPolar datafile skipped as headers.
Reply all
Reply to author
Forward
0 new messages