Git Product home page Git Product logo

Comments (5)

nasa-ddalle avatar nasa-ddalle commented on August 12, 2024

Yes! We've done precisely this in the past, so I just need to look into how that works and if there are any code updates needed.

from cape.

nasa-ddalle avatar nasa-ddalle commented on August 12, 2024

You might be able to make a subfigure of the usual type ("PlotCoeff") and just set the "Coefficient" to "mdot". This appears that it would work, but it might get tripped up in the cape.cfdx.report code.

Unfortunately I don't have a good test case at the ready just now, so I'm suggesting that you try it out before I can verify it.

from cape.

khalilsb avatar khalilsb commented on August 12, 2024

that did the trick! are all variables in the *.dat available using this method?

from cape.

nasa-ddalle avatar nasa-ddalle commented on August 12, 2024

Many of them are, but not necessarily all... You can get the viscous/pressure breakout terms like "C_M_zp", which gets renamed "CLNp", and you can get the lift and drag coefficients as "CL" or "CD" if available.

I think I'll take it as a feature request to add any other column that's not in my list by just replacing spaces with _. The code in cape.pyfun.dataBook that deals with this looks amazingly easy to improve.

from cape.

khalilsb avatar khalilsb commented on August 12, 2024

thanks this is very helpful! I had asked a question previously regarding having "CL" and "CD" in databooks for creating carpet plots, will this work for other types of Subfigures such as "SweepCoeff"?

from cape.

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.