Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rotare
Documentation
Commits
1cd2ef2a
Verified
Commit
1cd2ef2a
authored
2 years ago
by
Thomas Lambert
Browse files
Options
Downloads
Patches
Plain Diff
refact: remove separate doc-setup
parent
edf0cc9c
No related branches found
No related tags found
No related merge requests found
Pipeline
#7226
passed
2 years ago
Stage: build
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
contents/definitions.tex
+21
-0
21 additions, 0 deletions
contents/definitions.tex
contents/user-input.tex
+55
-30
55 additions, 30 deletions
contents/user-input.tex
doc-setup.tex
+0
-110
0 additions, 110 deletions
doc-setup.tex
rotare-doc.tex
+86
-3
86 additions, 3 deletions
rotare-doc.tex
with
162 additions
and
143 deletions
contents/definitions.tex
0 → 100644
+
21
−
0
View file @
1cd2ef2a
% -----------------------------------------------------------------------------
% General definitions
%
% Author: Thomas Lambert <t.lambert@uliege.be>
% ULiege - Aeroelasticity and Experimental Aerodynamics
% https://gitlab.uliege.be/thlamb/Rotare-doc
%
% License: CC-BY-SA-4.0
% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
% International License (https://creativecommons.org/licenses/by-sa/4.0/)
% ------------------------------------------------------------------------------
\chapter
{
Definitions
}
\label
{
chap:def
}
The following definitions are used through the whole manual. Some are also used
as configuration variables (see Chapter~
\ref
{
chap:user:input
}
).
% TODO: Add generic blade schematics
% TODO: Add rotor disc and flow angle schematics
% TODO: Add blade element schematic
This diff is collapsed.
Click to expand it.
contents/user-input.tex
+
55
−
30
View file @
1cd2ef2a
...
...
@@ -24,9 +24,9 @@ configuration are given in \directory{src/config/}. In order to always have a
fully-defined, working configuration available, it is suggested to just copy the
template and edit your copy instead of directly working in the template.
\section
{
Input variables
}
All input parameters are structured as in the following example.
\describeOption
{
Option Name
}{
unit
}{
\lst
{
Example values
}}{
A brief description of the option with further indications regarding the input
values if necessary.
...
...
@@ -83,22 +83,19 @@ results.
Show the 3D view of the rotor and blade.
}
\describeOption
{
Sim.Out.
3D
hubType
}{}{
See below
}{
\describeOption
{
Sim.Out.hubType
}{}{
See below
}{
Type of hub (cone) to display on the 3D graph. See
\href
{
https://en.wikipedia.org/wiki/Nose
_
cone
_
design
}{
Nose cone design
(wikipedia)
}
for representation of the nose cones.
\\
\textit
{
The nose cones are only for a more realistic visual representation of
the rotor. The type of hub itself has absolutely no impact in the actual
computation of the BEMT results.
}
\par
\begin{tabular}
[c]
{
lll
}
\qquad
&
Values
&
\lstmat
{
'none'
}
,
\lstmat
{
'cylinder'
}
,
\lstmat
{
'conic'
}
,
\lstmat
{
'blunted
_
conic'
}
,
\lstmat
{
'bi-conic'
}
,
\lstmat
{
'tangent
_
ogive'
}
,
\\
\qquad
&
&
\lstmat
{
'blunted
_
tangent
_
ogive'
}
,
\lstmat
{
'secant
_
ogive
_
regular'
}
,
\lstmat
{
'secant
_
ogive
_
bulge'
}
,
\\
\qquad
&
&
\lstmat
{
'elliptical'
}
,
\lstmat
{
'parabolic'
}
,
\lstmat
{
'power
_
series'
}
,
\lstmat
{
'lv-haack'
}
,
\lstmat
{
'vonkarman'
}
.
\end{tabular}
Allowed values:
\lstmat
{
'none'
}
,
\lstmat
{
'cylinder'
}
,
\lstmat
{
'conic'
}
,
\lstmat
{
'blunted
_
conic'
}
,
\lstmat
{
'bi-conic'
}
,
\\
\lstmat
{
'tangent
_
ogive'
}
,
\lstmat
{
'blunted
_
tangent
_
ogive'
}
,
\lstmat
{
'secant
_
ogive
_
regular'
}
,
\lstmat
{
'secant
_
ogive
_
bulge'
}
,
\lstmat
{
'elliptical'
}
,
\lstmat
{
'parabolic'
}
,
\lstmat
{
'power
_
series'
}
,
\lstmat
{
'lv-haack'
}
,
\lstmat
{
'vonkarman'
}
.
\par
\textit
{
The nose cones are only used for a more realistic visual
representation of the rotor. The type of hub itself has absolutely no impact
in the actual computation of the BEMT results.
}
}
...
...
@@ -153,6 +150,11 @@ Other miscellaneous parameters.
to ensure proper sign for the output variables, etc.
}
\describeOption
{
Sim.Misc.pitchRef
}{}{
\lst
{
'zerolift','chordline'
}}{
It is common to define the pitch angle of a blade element with respect to the
zero-lift angle of its airfoil instead of the chord line. This parameter
ensures the correct reference is taken.
}
% ===============================================
\subsection
{
Models and solver options
}
...
...
@@ -165,20 +167,20 @@ extension and corrections to apply. It also specifies the numerical limits
Chapter~
\ref
{
chap:tech:solvers
}
.
}
\describeOption
{
Mod.polars
}{}{
\lst
{
'manual', 'polynomial', 'auto'
}}{
Type of losses to consider.
}
\describeOption
{
Mod.polarFile
}{}{
\lst
{
'mypolar.mat'
}}{
File name for the polar.
}
\subsubsection
{
Mod.Syst
}
Parameters related to multi-rotors systems.
\describeOption
{
Mod.
pitchRef
}{}{
\lst
{
'zerolift','chordline'
}}{
It is common to define the pitch angle of a blade element with respect to th
e
zero-lift angle of its airfoil instead of the chord line. This parameter
ensures the correct reference is taken
.
\describeOption
{
Mod.
Syst.nRotors
}{}{
\lst
{
1
}}{
Number of rotors. Currently
\rotare
is only capable of simulating a singl
e
rotor in isolation. A value other than
\lst
{
1
}
will result in an error. The
coaxial implementation is going to be implemented in a few weeks
.
}
\describeOption
{
Mod.Syst.rotSpacing
}{}{
Vector
}{
Spacing between multiple coaxial rotors. This should be specified as a vector
(or scalar if there are only two rotors).
}
\subsubsection
{
Mod.Ext
}
...
...
@@ -192,7 +194,6 @@ Parameters related to the extensions and corrections to apply to the base BEMT.
\subsubsection
{
Mod.Num
}
Numerical limits for the simulations.
\describeOption
{
Mod.Num.convCrit
}{
-
}{
1e-4
}{
Value for the convergence criterion to use when doing iterative process. Note
that this criterion will be used to assess the
\emph
{
relative
}
error between
...
...
@@ -200,15 +201,22 @@ Numerical limits for the simulations.
results.
}
\describeOption
{
Mod.Num.maxIter
}{
-
}{
1e
}{
\describeOption
{
Mod.Num.maxIter
}{
-
}{
1e
3
}{
Maximum iterations allowed when doing iterative processes. If this number is
reached, the code will output an error and stop its execution.
}
\describeOption
{
Mod.Num.azimStep
}{
deg
}{
1
}{
Azimuthal step to use when simulating oblique flows. See~
\todo
{
ref
}
for
details regarding oblique flow implementation.
\textit
{
The BEMT equations needs to be resolved for each azimuthal position of
the blade. Using a very small step will lead to longer computational time.
}
}
% ===============================================
\subsection
{
Flow
}
The structure
\lst
mat
{
Flow
}
contains the parameters related to the flow itself.
The structure
\lst
{
Flow
}
contains the parameters related to the flow itself.
\describeOption
{
Flow.fluid
}{}{
\lst
{
'air', 'seawater', 'freshwater'
}}{
Nature of the fluid. This is used to determine the density and viscosity of
...
...
@@ -217,6 +225,12 @@ The structure \lstmat{Flow} contains the parameters related to the flow itself.
order to determine the proper density and viscosity (using ISA tables).
}
\describeOption
{
Flow.angle
}{
deg
}{
\lst
{
20
}}{
Angle of the flow with respect to the direction perpendicular to the rotor
plane (
\ie
, 0
$^
\circ
$
for axial flows).
\todo
{
schematics
}
}
% ===============================================
\subsection
{
Operating points
}
...
...
@@ -272,13 +286,25 @@ structures (\ie, \lst{Airfoil(1)}, \lst{Airfoil(2)}, \dots).
\describeOption
{
Airfoil.coordFile
}{}{
\lst
{
'airfoil
\_
data/naca0012.dat'
}}{
Name of the file with the airfoil data. At the moment, this file is only used
to draw the 3D view of the rotor
. The best source for such data files is to
directly get the
to draw the 3D view of the rotor
, but it is still a mandatory input. The best
source for such data files is to
directly get the
\href
{
https://m-selig.ae.illinois.edu/ads/coord
_
database.html
}{
UIUC Airfoil
Coordinates Database
}
. The data can be formatted either following Selig or
Ledneicer convention (the two types of format found on UIUC Database).
}
\describeOption
{
Airfoil.polarType
}{}{
\lst
{
'file', 'polynomial'
}}{
Type of polar input
\rotare
should be using.
\begin{itemize}
\item
\textbf
{
file
}
: A structure containing the polars should be passed to
\rotare
.
\item
\textbf
{
polynomial
}
: The
$
C
_
l
$
and
$
C
_
d
$
are given as polynomial
expressions of
$
\alpha
$
.
\item
\textbf
{
auto
}
:
\rotare
retreives the polars automatically using XFOIL.
\end{itemize}
}
\describeOption
{
Airfoil.polarsFile
}{}{
\lst
{
'airfoil
\_
data/naca0012-polar.mat'
}}{
Name of the files with the airfoil polars. This file should contain a Matlab
structure called
\lst
{
Polar
}
. Such file can be obtained by generating the
...
...
@@ -368,7 +394,6 @@ the corresponding spanwise position defined in \lst{radius}.
$
[
0
.
5
;
1
[
$
m and the
\lst
{
Airfoil(3)
}
will be used for the tip.
}
\describeOption
{
Blade.nElem
}{
-
}{
100
}{
Number of blade elements to use in the Blade Element Method. The elements will
be linearly spaced along the span of the blade (defined by the two bounds of
...
...
This diff is collapsed.
Click to expand it.
doc-setup.tex
deleted
100644 → 0
+
0
−
110
View file @
edf0cc9c
% -----------------------------------------------------------------------------
% This file contains the metadata setup and additional packages loaded for the
% documentation of rotare.
%
% Author: Thomas Lambert <t.lambert@uliege.be>
% ULiege - Aeroelasticity and Experimental Aerodynamics
% https://gitlab.uliege.be/thlamb/Rotare-doc
%
% License: CC-BY-SA-4.0
% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
% International License (https://creativecommons.org/licenses/by-sa/4.0/)
% ------------------------------------------------------------------------------
% ==============================================================================
% DOCUMENT METADATA
% ==============================================================================
% Version number and date.
% ***********************************************
\newcommand
{
\docDate
}{
\today
}
\newcommand
{
\docVersion
}{
v0.0.0
}
\newcommand
{
\docTitle
}{
Rotare
}
\newcommand
{
\docSubtitle
}{
Documentation
}
\newcommand
{
\docAuthor
}{
Thomas Lambert
}
\newcommand
{
\docAffiliation
}{
\protect
{
University of Liège
}}
% ==============================================================================
% BASE PACKAGE CONFIGURATION
% ==============================================================================
% Encoding and language
% ***********************************************
\PassOptionsToPackage
{
utf8
}{
inputenc
}
\usepackage
{
inputenc
}
\usepackage
[english]
{
babel
}
% Debugging
% ***********************************************
%\listfiles % Used for debugging
% Document style
% ***********************************************
\PassOptionsToPackage
{
figuresep=colon,
%
hangfigurecaption=false,
%
hangsection=true,
%
hangsubsection=true,
%
sansserif=false,
%
configurelistings=true,
%
colorize=full,
%
colortheme=bluemagenta,
%
configurebiblatex=true,
%
bibsys=biber,
%
bibfile=rotare-bib,
%
bibstyle=alphabetic,
%
bibsorting=nty,
%
}{
cleanthesis
}
\usepackage
{
cleanthesis
}
% Hyperref setup and pdf metadata
% ***********************************************
\hypersetup
{
%
pdftitle=
{
\docTitle
}
,
% title (PDF meta)
pdfsubject=
{
\docSubtitle
}
,
% subject (PDF meta)
pdfauthor=
{
\docAuthor
}
,
% author (PDF meta)
plainpages=false,
%
colorlinks=false,
% colorize links
pdfborder=
{
0 0 0
}
,
% link border
breaklinks=true,
% allow line break inside links
bookmarksnumbered=true,
%
bookmarksopen=true
%
}
% ==============================================================================
% ADDITIONAL PACKAGES
% ==============================================================================
\usepackage
{
uliege-colors
}
% ULiege color theme
\usepackage
{
scrhack
}
% So other packages play nice with KOMA-Scripts
\usepackage
{
definitions
}
% Custom definitions (see style/definitions.sty)
\usepackage
[nolinks]
{
qrcode
}
% QR codes
\usepackage
{
booktabs
}
% Better looking tables
\usepackage
{
amsmath
}
\usepackage
{
menukeys
}
% Keys, menus, directories, etc
\renewmenumacro
{
\directory
}{
pathswithfolder
}
% default: paths
% ==============================================================================
% MISC STUFF
% ==============================================================================
\newcommand
{
\describeOption
}
[4]
{
\par
\begin{minipage}
[t]
{
\textwidth
}
\textbf
{
#1
}
\if\relax\detokenize
{
#2
}
\relax
% nothing
\else
[#2]
\fi
\dotfill\,
#3
\\
#4
\end{minipage}
}
This diff is collapsed.
Click to expand it.
rotare-doc.tex
+
86
−
3
View file @
1cd2ef2a
...
...
@@ -30,9 +30,92 @@ draft=false, % toggle if draft version
% ==============================================================================
%
DOCUMENT
S
ET
UP
% DOCUMENT
M
ET
ADATA
% ==============================================================================
\input
{
doc-setup
}
% Document metadata
% ***********************************************
\newcommand
{
\docDate
}{
\today
}
\newcommand
{
\docVersion
}{
v0.0.0
}
\newcommand
{
\docTitle
}{
Rotare
}
\newcommand
{
\docSubtitle
}{
Documentation
}
\newcommand
{
\docAuthor
}{
Thomas Lambert
}
\newcommand
{
\docAffiliation
}{
\protect
{
University of Liège
}}
% ==============================================================================
% PACKAGES
% ==============================================================================
% Encoding and language
% ***********************************************
\PassOptionsToPackage
{
utf8
}{
inputenc
}
\usepackage
{
inputenc
}
\usepackage
[english]
{
babel
}
% Debugging
% ***********************************************
%\listfiles % Used for debugging
% Document style
% ***********************************************
\PassOptionsToPackage
{
figuresep=colon,
%
hangfigurecaption=false,
%
hangsection=true,
%
hangsubsection=true,
%
sansserif=false,
%
configurelistings=true,
%
colorize=full,
%
colortheme=bluemagenta,
%
configurebiblatex=true,
%
bibsys=biber,
%
bibfile=rotare-bib,
%
bibstyle=alphabetic,
%
bibsorting=nty,
%
}{
cleanthesis
}
\usepackage
{
cleanthesis
}
% Hyperref setup and pdf metadata
% ***********************************************
\hypersetup
{
%
pdftitle=
{
\docTitle
}
,
% title (PDF meta)
pdfsubject=
{
\docSubtitle
}
,
% subject (PDF meta)
pdfauthor=
{
\docAuthor
}
,
% author (PDF meta)
plainpages=false,
%
colorlinks=false,
% colorize links
pdfborder=
{
0 0 0
}
,
% link border
breaklinks=true,
% allow line break inside links
bookmarksnumbered=true,
%
bookmarksopen=true
%
}
% Other additional packages
% ***********************************************
\usepackage
{
ULiege-colors
}
% ULiege color theme
\usepackage
{
scrhack
}
% So other packages play nice with KOMA-Scripts
\usepackage
{
definitions
}
% Custom definitions (see style/definitions.sty)
\usepackage
[nolinks]
{
qrcode
}
% QR codes
\usepackage
{
booktabs
}
% Better looking tables
\usepackage
{
amsmath
}
\usepackage
{
menukeys
}
% Keys, menus, directories, etc
\renewmenumacro
{
\directory
}{
pathswithfolder
}
% default: paths
% ==============================================================================
% COMMANDS AND ENVIRONMENTS
% ==============================================================================
\newcommand
{
\describeOption
}
[4]
{
\par\noindent
\textbf
{
#1
}
\if\relax\detokenize
{
#2
}
\relax
% nothing
\else
[#2]
\fi
\dotfill\,
#3
\newline
#4
}
% ==============================================================================
...
...
@@ -41,7 +124,6 @@ draft=false, % toggle if draft version
\begin{document}
% Front matter
% ***********************************************
\pagenumbering
{
roman
}
% roman page numbing (invisible for empty page style)
...
...
@@ -66,6 +148,7 @@ draft=false, % toggle if draft version
\part
{
User manual
}
\input
{
contents/user-install
}
\input
{
contents/user-usage
}
\input
{
contents/definitions
}
\input
{
contents/user-input
}
\input
{
contents/user-troubleshooting
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment