Skip to content
Snippets Groups Projects
Commit 7336e1c5 authored by Adrien Crovato's avatar Adrien Crovato
Browse files

Fix initial AoA value in MPhys API

parent d8c5492f
No related branches found
Tags v1.2.0
No related merge requests found
Pipeline #54668 passed
......@@ -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'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment