Comments (5)
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.
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.
that did the trick! are all variables in the *.dat available using this method?
from cape.
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.
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)
- Let Slurm determine the number of cores for mpiexec HOT 2
- ability to export CD and CL directly to Databook HOT 2
- Feature request: Add axis limits to iteration histories HOT 1
- Bugfix: Databook Write HOT 7
- sampling_parameters not Writing Correctly HOT 3
- DataBook read issue HOT 6
- Reporting a bug within cape.plt.Plt() HOT 2
- cape.plt.Plt() bugs. StrandID and Zone Name handling discrepancies. HOT 8
- CAPE resubmits case even when cases has failed with nan*.dat HOT 4
- Drag Coefficient HOT 1
- Overwriting component parameters HOT 4
- Modifying MAPBC Files HOT 4
- Project Name Issue When Using Hooks HOT 1
- Ability to generate lineloads along different axis HOT 8
- pycart continually restarting case HOT 2
- No Symmetry Volume Mesh Option in AutoInputs HOT 2
- Add Arbitrary Slurm Instructions HOT 1
- New Report Options HOT 1
- Unfavorable behaviour with cape and component_parameters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cape.