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
d278d3a0
Commit
d278d3a0
authored
May 03, 2016
by
Frederik Zahle
Browse files
fixed units
parent
00e5ece2
Pipeline
#1460
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
seamrotor/seamrotor.py
View file @
d278d3a0
...
...
@@ -13,7 +13,7 @@ from openmdao.api import Component, Group
class
BladeCapThickness
(
Component
):
def
__init__
(
self
,
size
):
def
__init__
(
self
,
size
=
21
):
super
(
BladeCapThickness
,
self
).
__init__
()
self
.
add_param
(
'chord'
,
np
.
zeros
(
size
))
...
...
@@ -183,7 +183,7 @@ class BladeMass(Component):
self
.
add_param
(
'chord'
,
np
.
zeros
(
size
))
self
.
add_param
(
'athick'
,
np
.
zeros
(
size
))
self
.
add_param
(
'rotor_diameter'
,
0.
)
self
.
add_param
(
'rotor_diameter'
,
177.
,
units
=
'm'
)
self
.
add_param
(
'tcap_edge'
,
np
.
zeros
(
size
))
self
.
add_param
(
'tcap_flap'
,
np
.
zeros
(
size
))
...
...
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