Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Frederik Zahle
SEAMRotor
Commits
017f59e8
Commit
017f59e8
authored
Jul 09, 2015
by
Katherine Dykes
Browse files
updating to set RootChord as output
parent
a5009e0c
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
017f59e8
*.py[cod]
# OpenMDAO
openmdao_log.txt
# Sphinx
_build
generated
# XCode
*.xcodeproj
# C extensions
*.so
# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
# lib
lib64
__pycache__
# Installer logs
pip-log.txt
# Unit test / coverage reports
.coverage
.tox
nosetests.xml
# Translations
*.mo
# Mr Developer
.mr.developer.cfg
.project
.pydevproject
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
__init__.py
0 → 100644
View file @
017f59e8
src/SEAMRotor/SEAMRotor.py
View file @
017f59e8
...
...
@@ -46,6 +46,7 @@ class SEAMBladeStructure(Component):
SpinnerCostPerMass
=
Float
(
iotype
=
'in'
,
desc
=
''
)
#[e/kg]
BladeWeight
=
Float
(
iotype
=
'out'
,
units
=
'kg'
,
desc
=
'BladeMass'
)
RootChord
=
Float
(
iotype
=
'out'
,
units
=
'm'
,
desc
=
'blade root chord'
)
# 07/09/2015 added for HubSE model
def
execute
(
self
):
...
...
@@ -61,6 +62,8 @@ class SEAMBladeStructure(Component):
if
MaxChord
<
1.5
:
RootChord
=
1.5
self
.
RootChord
=
RootChord
for
i
in
range
(
self
.
Nsections
):
# Calculating the chord and thickness
...
...
src/__init__.py
0 → 100644
View file @
017f59e8
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment