Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monitor mass flow convergence in reports #24

Closed
khalilsb opened this issue Oct 30, 2023 · 5 comments
Closed

monitor mass flow convergence in reports #24

khalilsb opened this issue Oct 30, 2023 · 5 comments

Comments

@khalilsb
Copy link

for pyfun can massflow rate be added as one of the variables that can be monitored for iterative convergence

@nasa-ddalle
Copy link
Collaborator

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.

@nasa-ddalle
Copy link
Collaborator

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.

@khalilsb khalilsb reopened this Oct 31, 2023
@khalilsb
Copy link
Author

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

@nasa-ddalle
Copy link
Collaborator

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.

@khalilsb
Copy link
Author

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"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants