RuntimeError: Distributed geometry.x_aero_in requires an IndepVarComp #215
Aming12-01
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I’m running an aerostructural optimization with ADflow, TACS and I get this error during prob.setup():
RuntimeError: Distributed component input "geometry.x_aero_in" requires an IndepVarComp.
I'm using:
points = self.mesh_aero.mphys_get_surface_mesh()
self.geometry.nom_add_discipline_coords("aero", points)
But I still get the error. I also tried manually connecting:
self.connect("mesh_aero.coordinates", "geometry.x_aero_in")
but that didn't solve it either — it triggers the same distributed input error.
This same workflow works in my aerodynamic-only optimization script (which uses mesh.x_aero0 → geometry.x_aero_in), so I suspect the issue is that coordinates is distributed in this case.
Any idea how to properly connect the ADflow mesh to OM_DVGEOCOMP in a distributed setting?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions