Skip to content

Commit

Permalink
Update license terms
Browse files Browse the repository at this point in the history
  • Loading branch information
marioarbras committed Aug 6, 2019
1 parent 8068b8a commit 37e673a
Show file tree
Hide file tree
Showing 12 changed files with 72 additions and 2 deletions.
6 changes: 6 additions & 0 deletions air_viscosity.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
% Aircraft design tool
%
% Mario Bras ([email protected]) and Ricardo Marques ([email protected]) 2019
%
% This file is subject to the license terms in the LICENSE file included in this distribution

function mm = air_viscosity(t)
% Sutherland's formula (Crane, 1988)
% http://jullio.pe.kr/fluent6.1/help/html/ug/node294.htm
Expand Down
6 changes: 6 additions & 0 deletions design_point.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
% Aircraft design tool
%
% Mario Bras ([email protected]) and Ricardo Marques ([email protected]) 2019
%
% This file is subject to the license terms in the LICENSE file included in this distribution

function [propulsion, performance] = design_point(mission, propulsion, performance, constants)

wl = 0:10:10000;
Expand Down
6 changes: 6 additions & 0 deletions drag_buildup.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
% Aircraft design tool
%
% Mario Bras ([email protected]) and Ricardo Marques ([email protected]) 2019
%
% This file is subject to the license terms in the LICENSE file included in this distribution

function performance = drag_buildup(performance, aircraft)

performance.c_d0 = 0;
Expand Down
6 changes: 6 additions & 0 deletions estimate_mf_prop.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
% Aircraft design tool
%
% Mario Bras ([email protected]) and Ricardo Marques ([email protected]) 2019
%
% This file is subject to the license terms in the LICENSE file included in this distribution

function mf_prop = estimate_mf_prop(f_install, pw_to, pw_ice, pw_gen, pw_em, pw_prop, config)
% f_install: Factor that accounts for all auxiliary systems for propulsion (> 1)
% pw_to: Shaft power to MTOW ratio
Expand Down
6 changes: 6 additions & 0 deletions estimate_mf_subs.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
% Aircraft design tool
%
% Mario Bras ([email protected]) and Ricardo Marques ([email protected]) 2019
%
% This file is subject to the license terms in the LICENSE file included in this distribution

function mf_subs = estimate_mf_subs(mf_prop, mf_struct)

mf_subs = 3 / 7 * (mf_prop + mf_struct);
9 changes: 8 additions & 1 deletion friction_coeff.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
% Aircraft design tool
%
% Mario Bras ([email protected]) and Ricardo Marques ([email protected]) 2019
%
% This file is subject to the license terms in the LICENSE file included in this distribution

function cf = friction_coeff(x, v, a, rr, mm)
re = reynolds(x, v, rr, mm);

re = reynolds(x, v, rr, mm);
if is_laminar(re)
cf = 1.328 / sqrt(re);
else
Expand Down
6 changes: 6 additions & 0 deletions fuselage.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
% Aircraft design tool
%
% Mario Bras ([email protected]) and Ricardo Marques ([email protected]) 2019
%
% This file is subject to the license terms in the LICENSE file included in this distribution

function aircraft = fuselage(aircraft, segment)

% Iterate over aircraft lifting surfaces
Expand Down
6 changes: 6 additions & 0 deletions lifting_surface.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
% Aircraft design tool
%
% Mario Bras ([email protected]) and Ricardo Marques ([email protected]) 2019
%
% This file is subject to the license terms in the LICENSE file included in this distribution

function aircraft = lifting_surface(aircraft, segment)

m = segment.v / segment.speed_sound;
Expand Down
2 changes: 2 additions & 0 deletions main.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
% Aircraft design tool
%
% Mario Bras ([email protected]) and Ricardo Marques ([email protected]) 2019
%
% This file is subject to the license terms in the LICENSE file included in this distribution

close all;

Expand Down
6 changes: 6 additions & 0 deletions mtow.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
% Aircraft design tool
%
% Mario Bras ([email protected]) and Ricardo Marques ([email protected]) 2019
%
% This file is subject to the license terms in the LICENSE file included in this distribution

function mission = mtow(mission, propulsion, energy, performance, constants)

% Initialize mission parameters
Expand Down
6 changes: 6 additions & 0 deletions plot_mission.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
% Aircraft design tool
%
% Mario Bras ([email protected]) and Ricardo Marques ([email protected]) 2019
%
% This file is subject to the license terms in the LICENSE file included in this distribution

function plot_mission(mission)

x = 0;
Expand Down
9 changes: 8 additions & 1 deletion reynolds.m
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
% Aircraft design tool
%
% Mario Bras ([email protected]) and Ricardo Marques ([email protected]) 2019
%
% This file is subject to the license terms in the LICENSE file included in this distribution

function r = reynolds(x, v, rr, mm)
r = rr * v * x / mm;

r = rr * v * x / mm;

0 comments on commit 37e673a

Please sign in to comment.