ren0k / project-atmospheric-drag Goto Github PK
View Code? Open in Web Editor NEWA model to determine atmospheric drag with kOS, for stock KSP
A model to determine atmospheric drag with kOS, for stock KSP
Hello!
This tool is great but the JSON output can be hard to understand. Could you please create a CSV file output that just has a table of the Mach number and drag coefficients, if possible? Or at least the inputs needed to compute said coefficients? This would be easier for the average user to understand and work with.
Thank you!
I was going through the kOS code here this afternoon and noticed that it has most of what would be needed to also compute the lift coefficient, Cl*S. It would be great if the drag profile could also return this information. In particular, if it returned Cl*S for wings and Cl*S for body lift parts separately, that would be awesome because the two lift vectors there are different in the vehicle reference frame.
The big impediment I notice now is that the function getVesselPartList() in Analysis.ks doesn't properly figure out the area to use for lift calculations. This appears to be because it's looking for ModuleLiftingSurface on parts (Line 252), but this module isn't necessary for a part to produce lift. It thus never marks parts as "body lift", and I guess there's no call to figure out what the appropriate area should be in lieu of that.
According to this video the area to use is related to the drag cube face area times the pseudo drag coefficient for each part, but I don't know more than that. See 9:50 into the video.
I'm looking to be able to use your wonderful work to pull out lift information as well as drag, so anything you could do would be super helpful in this regard! Thank you!
I created a drag profile according to the instructions, but it seems to overestimate the actual drag when I use it with the useProfile.ks script. I've attached the part database file, the drag profile, and my vessel file. Any ideas why this might be happening? I seem to get similar results if I use the Retrograde or Prograde option.
Note that I intentionally have things steered here so that the AoA and sideslip is zero, which is what I created the drag profile with.
dragProfiles.zip
PartDatabase.zip
Big Launcher 1 Craft File.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.