diff --git a/+af_tools/@Airfoil/Airfoil.m b/+af_tools/@Airfoil/Airfoil.m index c080b8b051e899f961ac3578d9a2097b9c72c7c1..0a0a7ca5e421352449ca9e5d5a7d4fa697ad54da 100644 --- a/+af_tools/@Airfoil/Airfoil.m +++ b/+af_tools/@Airfoil/Airfoil.m @@ -8,9 +8,6 @@ classdef Airfoil < handle % - the airofil lower surface coordinates % - a structure containing the original airfoil polars (obtained using xf2mat) % - a structure containing the extended airfoil polars (obtained using extendpolar) - % - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (README)</a> - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues">Report an issue</a> % ----- % % Usage: @@ -33,13 +30,15 @@ classdef Airfoil < handle % % See also: XF2MAT, EXTENDPOLAR. % - % ----- + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics - % Apache 2.0 License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox - + % MIT License + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- properties diff --git a/+af_tools/@Airfoil/addextremereynolds.m b/+af_tools/@Airfoil/addextremereynolds.m index fe3b79e363802f2648b902f143816d04e8b089f2..5fc877ebb1e3f76dc260bb7f7e1832dd19f412c4 100644 --- a/+af_tools/@Airfoil/addextremereynolds.m +++ b/+af_tools/@Airfoil/addextremereynolds.m @@ -8,12 +8,15 @@ function obj = addextremereynolds(obj) % Note: % If we have only one polar (i.e. one Reynolds), then this method does not do anything. % ----- + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics - % Apache 2.0 License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox - + % MIT License + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- % Defaults extreme Reynolds diff --git a/+af_tools/@Polar/Polar.m b/+af_tools/@Polar/Polar.m index 74f0bf8eba1b2412f9825f751f7a76a7958d429e..d4c444824d151f2d31eff4803ce2d25ae52ac426 100644 --- a/+af_tools/@Polar/Polar.m +++ b/+af_tools/@Polar/Polar.m @@ -5,9 +5,6 @@ classdef Polar % % The class also implements quick shortcuts for the more generic functions of af_tools, such % as findcllinearrange, findstall or findzerolift. - % - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (README)</a> - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues">Report an issue</a> % ----- % % Properties: @@ -38,15 +35,16 @@ classdef Polar % % See also: af_tools.xf2mat. % - % ----- + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics - % Apache 2.0 License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox - + % MIT License + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- - properties airfoil (1, :) cell reynolds (1, :) double {mustBeNonnegative} diff --git a/+af_tools/@Polar/getcoeffs.m b/+af_tools/@Polar/getcoeffs.m index 210f0e89b70fb773aeefca7d2dfea6fa40bbe714..e4da05fb7894d1174e8787ef74ec1115cea19435 100644 --- a/+af_tools/@Polar/getcoeffs.m +++ b/+af_tools/@Polar/getcoeffs.m @@ -30,12 +30,16 @@ function [cl, cd, cm] = getcoeffs(self, aoa, re, polarType) % [cl, cd, cm] = Airfoil.getcoeffs([0.17,0.18], [1e5,1e6]) % % See also: Airfoil. - % ----- + % + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics % MIT License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- narginchk(3, 4); diff --git a/+af_tools/@Polar/loadpolar.m b/+af_tools/@Polar/loadpolar.m index f5b7779b7efcae88540932720a0887c851764002..83bfe18171d04f7890b2728392381568795fc2cc 100644 --- a/+af_tools/@Polar/loadpolar.m +++ b/+af_tools/@Polar/loadpolar.m @@ -20,12 +20,15 @@ function obj = loadpolar(polarFile) % See also: af_tools.Polar. % % ----- + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics - % Apache 2.0 License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox - + % MIT License + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- % Load the file diff --git a/+af_tools/@Polar/polypolar.m b/+af_tools/@Polar/polypolar.m index cd0b9cfb51d531e5a4981963d3814bdebf66c460..bc9244fe11c79e6fc59465312b79445e93c1c7fb 100644 --- a/+af_tools/@Polar/polypolar.m +++ b/+af_tools/@Polar/polypolar.m @@ -21,15 +21,16 @@ function Obj = polypolar(polyCl, polyCd) % % See also: af_tools.Polar. % - % ----- + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics - % Apache 2.0 License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox - + % MIT License + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- - % Defaults and constants DEF.AOA_STEP = 0.5; DEF.AIRFOIL = {'Polynomial'}; diff --git a/+af_tools/extendpolar.m b/+af_tools/extendpolar.m index 88c26e4f52be9e018e56eb35f476e8ca4af2f7f7..2f53f6af2cb629afa7731894d4b1543db0fe6ebc 100644 --- a/+af_tools/extendpolar.m +++ b/+af_tools/extendpolar.m @@ -15,9 +15,6 @@ function [alpha_ext, c_l_ext, c_d_ext] = extendpolar(varargin) % IMPORTANT: % To be extended, the input polar must AT LEAST containt the points where AOA = 0 deg and % stall point. - % - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (README)</a> - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues">Report an issue</a> % ----- % % Usage: @@ -62,13 +59,15 @@ function [alpha_ext, c_l_ext, c_d_ext] = extendpolar(varargin) % % See also: XF2MAT, PLOTPOLARS. % - % ----- + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics - % Apache 2.0 License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox - + % MIT License + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- % Check number of inputs diff --git a/+af_tools/findcllinearrange.m b/+af_tools/findcllinearrange.m index 566b3204f17ac0ec0ef8782e28036ea085d43f7e..55cc04de296ffbf3ddc2702fc57ba393da5d95c1 100644 --- a/+af_tools/findcllinearrange.m +++ b/+af_tools/findcllinearrange.m @@ -14,9 +14,6 @@ function [alphaRange, c_lRange, c_lSlope] = findcllinearrange(varargin) % % If extended polars are used as input (see EXTENDPOLAR), the function will only look for the % zero-lift angle in the range of [-30, 30] deg. - % - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (README)</a> - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues">Report an issue</a> % ----- % % Usage: @@ -48,13 +45,15 @@ function [alphaRange, c_lRange, c_lSlope] = findcllinearrange(varargin) % % See also: XF2MAT, FINDSTALL, FINDZEROLIFT. % - % ----- + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics - % Apache 2.0 License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox - + % MIT License + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- narginchk(0, 2); diff --git a/+af_tools/findstall.m b/+af_tools/findstall.m index c39f154a3166ff7ea20328b4466af84aca473a3d..7bfc8b76ca315e3c3d97b9ae36c93c1701e28633 100644 --- a/+af_tools/findstall.m +++ b/+af_tools/findstall.m @@ -15,9 +15,6 @@ function [alpha_s, c_l_s, c_d_s] = findstall(varargin) % % If extended polars are used as input (see EXTENDPOLAR), the function will only look for the % zero-lift angle in the range of [0, 30] deg. - % - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (README)</a> - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues">Report an issue</a> % ----- % % Usage: @@ -50,13 +47,15 @@ function [alpha_s, c_l_s, c_d_s] = findstall(varargin) % % See also: XF2MAT, FINDZEROLIFT, FINDCLLINEARRANGE. % - % ----- + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics - % Apache 2.0 License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox - + % MIT License + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- narginchk(0, 3); diff --git a/+af_tools/findzerolift.m b/+af_tools/findzerolift.m index ddf652b1d0d86b9f3e0e8598208c1f6b402169bf..01f5863ce44410faccb791111968070a91184e33 100644 --- a/+af_tools/findzerolift.m +++ b/+af_tools/findzerolift.m @@ -14,9 +14,6 @@ function [alpha_0, c_d_0] = findzerolift(varargin) % % If extended polars are used as input (see EXTENDPOLAR), the function will only look for the % zero-lift angle in the range of [-30, 30] deg. - % - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (README)</a> - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues">Report an issue</a> % ----- % % Usage: @@ -53,13 +50,15 @@ function [alpha_0, c_d_0] = findzerolift(varargin) % % See also: XF2MAT, FINDSTALL, FINDCLLINEARRANGE. % - % ----- + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics - % Apache 2.0 License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox - + % MIT License + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- narginchk(0, 3); diff --git a/+af_tools/formatairfoilcoord.m b/+af_tools/formatairfoilcoord.m index 7d684b9b639aa99c4883fa4e7ea81e5ebeeb947d..78273d81208e96c8badc05787c7061a584d43082 100644 --- a/+af_tools/formatairfoilcoord.m +++ b/+af_tools/formatairfoilcoord.m @@ -24,9 +24,6 @@ function Dat = formatairfoilcoord(varargin) % % Note: % This function can be used on many files at once in order to speed-up the process. - % - % <a href="https://gitlab.uliege.be/thlamb/airfoil_toolbox">Documentation (README)</a> - % <a href="https://gitlab.uliege.be/thlamb/airfoil_toolbox/-/issues">Report an issue</a> % ----- % % Usage: @@ -77,12 +74,15 @@ function Dat = formatairfoilcoord(varargin) % ----- % UIUC Airfoil Database: https://m-selig.ae.illinois.edu/ads/coord_database.html % ----- + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics - % Apache 2.0 License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox - + % MIT License + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- narginchk(0, 8); diff --git a/+af_tools/nacaairfoil.m b/+af_tools/nacaairfoil.m index 098bec226ef9f364a59cc38fae8730b16a4fcb8f..bcb2d195159505e5ecfd1f6b531910b4585b4363 100644 --- a/+af_tools/nacaairfoil.m +++ b/+af_tools/nacaairfoil.m @@ -10,9 +10,6 @@ function [coord] = nacaairfoil(varargin) % value of nPoints. This is because the upper and lower surfaces will have the same number of % points, and the leading edge is counted twice (as the first and last element to close the % shape) while the trailing edge is counted once. - % - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (README)</a> - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues">Report an issue</a> % ----- % % Usage: @@ -60,13 +57,15 @@ function [coord] = nacaairfoil(varargin) % % See also: NACACAMBER. % - % ----- + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics - % Apache 2.0 License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox - + % MIT License + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- narginchk(0, 6); diff --git a/+af_tools/nacacamber.m b/+af_tools/nacacamber.m index d899f936e58291cd74ded5b0a971808702c02fa8..94ec3b81616fa676aa041331bc10bc46326abd0f 100644 --- a/+af_tools/nacacamber.m +++ b/+af_tools/nacacamber.m @@ -3,9 +3,6 @@ function [coord, gradY] = nacacamber(varargin) % By default, the camberline is generated with 100 points distributed following a half-cosine % rule in order to be finer at the leading and trailing edges. % See below for details on how to override the defaults. - % - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (README)</a> - % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues">Report an issue</a> % ----- % % Usage: @@ -41,13 +38,15 @@ function [coord, gradY] = nacacamber(varargin) % % See also: NACAAIRFOIL. % - % ----- + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics - % Apache 2.0 License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox - + % MIT License + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- narginchk(0, 4); diff --git a/+af_tools/plotpolars.m b/+af_tools/plotpolars.m index 8c5d9c9c91afdfd52dc895ceabb5400ae448e98d..87660595c07ca21c98aed95fdbc2a67eb80efd84 100644 --- a/+af_tools/plotpolars.m +++ b/+af_tools/plotpolars.m @@ -56,13 +56,15 @@ function plotpolars(varargin) % % See also: XF2MAT, EXTENDPOLAR. % - % ----- + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics - % Apache 2.0 License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox - + % MIT License + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- narginchk(0, 4); diff --git a/+af_tools/xf2mat.m b/+af_tools/xf2mat.m index 31d7bd72e3b5b162d86d0e5f46f06f89d5f75d62..dfafffb354c712d6bfd946210636d080df708572 100644 --- a/+af_tools/xf2mat.m +++ b/+af_tools/xf2mat.m @@ -19,9 +19,6 @@ function Polar = xf2mat(varargin) % If the option 'trimAoas' is set to true, the function will find the largest common range of % angles of attack accross the various input polars and trim everything to that range. This % prevents NaN values in the polars, but removes some data from the most complete inputs. - % - % <a href="https://gitlab.uliege.be/thlamb/airfoil_toolbox">Documentation (README)</a> - % <a href="https://gitlab.uliege.be/thlamb/airfoil_toolbox/-/issues">Report an issue</a> % ----- % % Usage: @@ -66,12 +63,15 @@ function Polar = xf2mat(varargin) % XFOIL: http://web.mit.edu/drela/Public/web/xfoil/ % XFLR5: https://www.xflr5.tech/xflr5.htm % ----- + % <a href="https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox">Documentation (online)</a> + + % ------------------------------------------- % (c) Copyright 2022 University of Liege % Author: Thomas Lambert <t.lambert@uliege.be> % ULiege - Aeroelasticity and Experimental Aerodynamics - % Apache 2.0 License - % https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox - + % MIT License + % Repo: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox + % Issues: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/issues % ---------------------------------------------------------------------------------------------- narginchk(0, 6);