MachUp
MachUp copied to clipboard
Numerical Lifting-Line Algorithm
MachUp
A Numerical Lifting-Line Algorithm
Installation
There are currently no installation packages available for MachUp. The source code can be downloaded from the USU Aero Lab's GitHub page and built manually. See instructions below.
Prerequisites
- MinGW (Windows only)
- gcc version 4.9 or higher
- cmake version 3.5 or higher
Getting the Source Code
The source code can be found at https://github.com/usuaero/MachUp
You can either download the source as a ZIP file and extract the contents, or
clone the MachUp repository using Git. If your system does not already have a
version of Git installed, you will not be able to use this second option unless
you first download and install Git. If you are unsure, you can check by typing
git --version
into a command prompt.
Downloading source as a ZIP file
- Open a web browser and navigate to https://github.com/usuaero/MachUp
- Make sure the Branch is set to
Master
- Click the
Clone or download
button - Select
Download ZIP
- Extract the downloaded ZIP file to a local directory on your machine
Cloning the Github repository
- From the command prompt navigate to the directory where MachUp will be installed
-
git clone https://github.com/usuaero/MachUp
Building the executable
Linux / Mac OSX
- From the command prompt navigate to the MachUp directory
-
cmake [-Dndv=<ndv>]
-
make
- If successful, the executable (MachUp.out) will be created in the MachUp/bin/ directory
Windows
- From the command prompt navigate to the MachUp directory
-
cmake -G "MinGW Makefiles" [-Dndv=<ndv>]
-
mingw32-make
- If successful, the executable (MachUp.out.exe) will be created in the MachUp/bin/ directory
Testing the executable
- From the command prompt navigate to MachUp/examples/FlyingWing/
- Copy the executable from bin/ to MachUp/examples/FlyingWing/
-
./MachUp.out input.json
(Linux / Mac OSX) orMachUp.out input.json
(Windows)