Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dartflo
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository 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
Aerospace and Mechanical Engineering
dartflo
Commits
7336e1c5
Commit
7336e1c5
authored
1 week ago
by
Adrien Crovato
Browse files
Options
Downloads
Patches
Plain Diff
Fix initial AoA value in MPhys API
parent
d8c5492f
No related branches found
Branches containing commit
Tags
v1.2.0
Tags containing commit
No related merge requests found
Pipeline
#54668
passed
1 week ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dart/api/mphys.py
+1
-1
1 addition, 1 deletion
dart/api/mphys.py
with
1 addition
and
1 deletion
dart/api/mphys.py
+
1
−
1
View file @
7336e1c5
...
...
@@ -351,7 +351,7 @@ class DartCoefficients(om.ExplicitComponent):
self
.
sol
=
self
.
options
[
'
sol
'
]
self
.
adj
=
self
.
options
[
'
adj
'
]
# I/O
self
.
add_input
(
'
aoa
'
,
val
=
0.
,
units
=
'
rad
'
,
desc
=
'
angle of attack
'
,
tags
=
[
'
mphys_input
'
])
self
.
add_input
(
'
aoa
'
,
val
=
self
.
sol
.
pbl
.
alpha
,
units
=
'
rad
'
,
desc
=
'
angle of attack
'
,
tags
=
[
'
mphys_input
'
])
self
.
add_input
(
'
xv
'
,
shape_by_conn
=
True
,
desc
=
'
aerodynamic volume node coordinates
'
,
tags
=
[
'
mphys_coupling
'
])
self
.
add_input
(
'
phi
'
,
shape_by_conn
=
True
,
desc
=
'
flow variables (potential)
'
,
tags
=
[
'
mphys_coupling
'
])
self
.
add_output
(
'
cl
'
,
val
=
0.
,
desc
=
'
lift coefficient
'
,
tags
=
[
'
mphys_result
'
])
...
...
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