Commit c90537d2 authored by Boyuan Yang's avatar Boyuan Yang

New upstream version 6.44

parent 01577bf6
*******************************************************************************
XFLR5
A tool for the design of Airfoils, Wings and Planes
operating at low Reynolds numbers
Copyright (C) 2003-2012
Andre Deperrois
*******************************************************************************
Licence :
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public
License along with this program; if not, write to the
Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
**************************
Source code download
To keep up-to-date with the latest source code modifications, use an SVN client to check out the code
from the repository @sourceforge.net
Compilation instructions
- To compile on Windows, Mac, and Linux, the easiest way is to download QtCreator from Nokia.
In Windows, QtCreator comes with the MinGW compiler.
In Linux, you may also need to install the Mesa-devel package
Other possibilities:
- To compile under Ubuntu/Debian Linux, please do the following:
go to the directory, type dpkg-buildpackage -rfakeroot.
- To compile manually on any Linux distro, please follow the following steps:
1. Get the libqt4-devel, Mesa and Mesa-devel packages
2. qmake -makefile xflr5.pro target.path=/usr/bin
3. make
4. sudo make install
- To compile on MacOSX, please follow the following steps:
1. qmake -makefile
2. qmake -spec macx-g++
3. make -j3
4. ./mac/makedist
This diff is collapsed.
#-------------------------------------------------
#
# Project created by QtCreator 2017-01-18T04:06:28
#
#-------------------------------------------------
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
QT -= gui
TARGET = XFoil
TEMPLATE = lib
DEFINES += XFOILLIB_LIBRARY
SOURCES += \
XFoil.cpp
HEADERS +=\
xfoil-lib_global.h \
XFoil.h \
xfoil_params.h
win32 {
CONFIG(release, debug|release){
OBJECTS_DIR = ./release/objects
MOC_DIR = ./release/moc
RCC_DIR = ./release/rcc
}
else:CONFIG(debug, debug|release)
{
OBJECTS_DIR = ./debug/objects
MOC_DIR = ./debug/moc
RCC_DIR = ./debug/rcc
}
}
macx{
# CONFIG += lib_bundle
# CONFIG += i386
QMAKE_SONAME_PREFIX = @executable_path/../Frameworks
QMAKE_MAC_SDK = macosx
}
unix{
isEmpty(PREFIX){
PREFIX = /usr/local
}
target.path = $$PREFIX/lib
INSTALLS += target
}
This diff is collapsed.
This diff is collapsed.
#ifndef XFOILLIB_GLOBAL_H
#define XFOILLIB_GLOBAL_H
#include <QtCore/qglobal.h>
#if defined(XFOILLIB_LIBRARY)
# define XFOILLIBSHARED_EXPORT Q_DECL_EXPORT
#else
# define XFOILLIBSHARED_EXPORT Q_DECL_IMPORT
#endif
#endif // XFOILLIB_GLOBAL_H
/****************************************************************************
XFoil Parameters
Copyright (C) 2008-2018 Andre Deperrois
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*****************************************************************************/
#ifndef XFOIL_PARAMS_H
#define XFOIL_PARAMS_H
//XFoil Direct Parameters - refer to XFoil documentation
#define IQX 302 /**< 300 = number of surface panel nodes + 6 */
#define IQX2 151 /**< IQX/2 */
#define IWX 50 /**< number of wake panel nodes */
#define IPX 6 /**< 6 number of qspec[s] distributions */
#define ISX 3 /**< number of airfoil sides */
#define IBX 604 /**< 600 number of buffer airfoil nodes = 2*IQX */
#define IZX 350 /**< 350 = number of panel nodes [airfoil + wake] */
#define IVX 302 /**< 300 = number of nodes along bl on one side of airfoil and wake. */
//XFoil INVERSE parameters - refer to XFoil documentation
#define ICX 257 /**< number of circle-plane points for complex mapping ( 2^n + 1 ) */
#define IMX 64 /**< number of complex mapping coefficients Cn */
#define IMX4 16 /**< = IMX/4 */
#define MIDPOINTCOUNT 100 /**< the number of points which define the foil's mid camber line */
#endif // XFOIL_PARAMS_H
File added
This diff is collapsed.
LATEX=latex
PDFLATEX=pdflatex
TARGET=guidelines_en
default : $(TARGET).pdf
%.pdf : %.tex
$(PDFLATEX) '\nonstopmode\input{$<}' 1> /dev/null
$(PDFLATEX) '\nonstopmode\input{$<}' 1> /dev/null
$(PDFLATEX) '\nonstopmode\input{$<}' 1> /dev/null
clean :
-rm -f *.aux *.toc *.log *.out *.pdf *.dvi *.bbl *.blg *.haux *.htoc
PROJECT = guidelines
PDFLATEX = pdflatex
BIBTEX = bibtex
TEX_FILES := $(wildcard $(PROJECT)*.tex)
PDF_FILES := $(TEX_FILES:.tex=.pdf)
redirect = > /dev/null
.PHONY : clean
all : $(PDF_FILES)
%.pdf : %.tex
$(PDFLATEX) '\nonstopmode\input{$<}' $(redirect)
@if ( grep "^\\\\bibliography{" $*.tex > /dev/null ); then \
$(BIBTEX) -terse $(patsubst %.tex,%.aux, $<) $(redirect); \
fi
$(PDFLATEX) '\nonstopmode\input{$<}' $(redirect)
$(PDFLATEX) '\nonstopmode\input{$<}' $(redirect)
clean-all: clean
rm -f *.ps *.eps *.pdf
clean:
rm -f *.log *.bak *.aux *.bbl *.blg *.idx *.toc *.lof *.lot *.out *~
......@@ -2758,7 +2758,7 @@ is:
$$\frac{\partial F_X}{\partial u} =
\frac{1}{2}\rho \frac{\partial u_{0}^{2}} S C_X +
\frac{1}{2}\rho u_{0}^{2} S frac{\partial C_X}{\partial u} =
\frac{1}{2}\rho u_{0}^{2} S \frac{\partial C_X}{\partial u}
= \rho u_{0} S C_{X} +
\frac{1}{2} \rho u_{0}^{2} S \frac{\partial C_{X}}{\partial u}$$
......@@ -2963,8 +2963,7 @@ Similarly for lateral modes:
$$\left[\begin{matrix} \dot{v} \\ \dot{p} \\ \dot{r} \\ \dot{\varphi} \end{matrix}\right] = \left[A_{lat}\right] . \left[\begin{matrix} v \\ p \\ r \\ \varphi \end{matrix}\right] + \left[B_{lat}\right] . \left[F(t)\right]$$
The time history of the state variables (u, w, q, $\theta$)
and (v, p, r, $\varphi$) can be calculated either.
and (v, p, r, $\varphi$) can be calculated either:
\begin{itemize}
\item as a consequence of perturbed initial conditions: this is
the "Initial condition response"
......
This diff is collapsed.
%-----CONFIG HYPERREF-----------------
\definecolor{rltred}{rgb}{0.75,0,0}
\definecolor{rltgreen}{rgb}{0,0.25,0}
\definecolor{rltblue}{rgb}{0,0,0.75}
\hypersetup{colorlinks=true,
urlcolor=rltblue, % \href{...}{...} external (URL)
filecolor=rltgreen, % \href{...} local file
linkcolor=rltred, % \ref{...} and \pageref{...}
citecolor=rltblue, % \cite{}
% bookmarks = true, % Signets
bookmarksnumbered = true, % Signets numerotes
pdfpagemode = UseOutlines, % Signets/vignettes ferme a l'ouverture
pdfstartview = FitV, % La page prend toute la largeur
pdfpagelayout = OneColumn, % Vue par page
pdfborder = {0 0 0}, % Style de bordure : ici, pas de bordure
pdftitle = {},
pdfauthor = {},
pdfsubject = {},
pdfkeywords = {}
}
%-----PAGE LAYOUT---------------------
% http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf
% http://amath.colorado.edu/documentation/LaTeX/reference/layout.html
% Lot of other ressources about Latex page layout on the web ...
%-header and footer-
\pagestyle{fancy}
\rhead[~]{~}
\chead[~]{~}
\lhead[{\small \entetePages}]{~}
\lfoot[\textbf{\thepage}]{~}
\cfoot[~]{~}
\rfoot[\today]{ \textbf{\thepage} }
\renewcommand{\headrulewidth}{0.2pt}
\renewcommand{\footrulewidth}{0.2pt}
%-margins- A4 = 297 x 210 mm = 11.7 x 8.3 inches (1in~2.2cm)
\setlength{\hoffset}{0in}
\setlength{\oddsidemargin}{0in}
\setlength{\evensidemargin}{0in}
\setlength{\textwidth}{6.3in} % 6.3in (16cm) (1in on each side)
\setlength{\linewidth}{\textwidth}
\setlength{\headwidth}{\textwidth}
\setlength{\voffset}{-0.75in}
\setlength{\topmargin}{0in}
\setlength{\headheight}{0.5in}
\setlength{\headsep}{0.25in}
\setlength{\textheight}{9.7in} % 9.7in (22cm) (1in on the top and bottom)
\setlength{\footskip}{0.75in}
%-paragraphs
\setlength{\parindent}{0in}
%\renewcommand{\baselinestretch}{1.1}
%\setlength{\parskip}{0.2\baselineskip}
\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
\ No newline at end of file
%-----INPUT ENCODING-----------------
\usepackage[utf8]{inputenc}
%-----LANGUAGE SELECTION-------------
\usepackage[french]{babel}
%-----PACKAGES SELECTION-------------
\usepackage{graphicx,color,hyperref,fancyhdr}
\usepackage{tabularx,multirow,rotating}
\usepackage[T1]{fontenc}
\usepackage{fancybox}
\usepackage{makeidx}
\usepackage{amsmath}
\usepackage{gensymb}
\usepackage{enumitem}
\usepackage{array}
% Pour les diagrammes
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,shadows}
\usepackage{url}
% Pour le cadrage des images
\usepackage{float, subfig}
% ----- TODO ----
\usepackage{todonotes}
\newcommand*\touche[1]{%
\tikz[baseline=(key.base)]
\node[%
draw,
fill=white,
drop shadow={shadow xshift=0.25ex,shadow yshift=-0.25ex, fill=black,