Giter VIP home page Giter VIP logo

Comments (5)

kanekosh avatar kanekosh commented on September 25, 2024

I believe the sectional lift coefficient is still available in aerostructural cases, but it just has a different promoted name (or a variable name) because we currently don't promote it in aerostruct_group.py.

from openaerostruct.

acmarta avatar acmarta commented on September 25, 2024

Dear Shugo,

thank you for the prompt reply. We could not find any other way to add it as a constraint in an aerostructural design.
Taking the Aerostructural Optimization with Tubular Spar (https://mdolab-openaerostruct.readthedocs-hosted.com/en/latest/aerostructural_tube_walkthrough.html#aerostructural-optimization-with-tubular-spar) example, the only way we found possible to add it as a constraint was

prob.model.add_constraint('AS_point_0.wing_perf.Cl', upper=0.45)

after promoting it in aerostruct_group.py as described above. We could not find any alternative way. are we missing something?

from openaerostruct.

kanekosh avatar kanekosh commented on September 25, 2024

The promoted name of Cl is AS_point_0.wing_perf.aero_funcs.Cl, thus it should be the following:

prob.model.add_constraint('AS_point_0.wing_perf.aero_funcs.Cl', upper=0.45)

Generally, the easiest way to check the promoted name of a variable is the N2 diagram.

But it would be nice to have consistent promoted names for Cl between aero and aerostructural cases. Sorry for the confusion also the lack of documentation.
Would you be able to open a PR that promotes Cl in integration/aerostruct_group.py? I don't think this change will break anything.

from openaerostruct.

acmarta avatar acmarta commented on September 25, 2024

Just opened a PR as suggested. Thank you for the quick action.

from openaerostruct.

kanekosh avatar kanekosh commented on September 25, 2024

Handled in #392

from openaerostruct.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.