kalast
Thermophysical model for binary systems of asteroids
Demo
In action
Single asteroid surface temperatures computations:
use kalast::{Body, Properties, Time, World, ASTRONAUMICAL_UNIT, HOUR, TAU, V3};
use std::path::Path;
fn main() {
let mut body = Body::new(
"Dimorphos",
V3::new(0.0, 1.0, 0.0) * ASTRONAUMICAL_UNIT * 1.664,
Path::new("rsc/obj/dimorphos.obj"),
Properties::new(
11.92 * HOUR, 11.92 * HOUR, 162.0 * TAU / 360.0, 500.0, 2146.0, 600.0, 0.07, 0.9, ),
);
body.set_faces_mask_equator();
let time = Time::new(50.75 * body.properties.revolution_period(), 30.0);
let mut world = World::new(time, body, None); world.start(); world.save(Path::new("rsc/temperatures/dimorphos_equator.txt")); }
Build source
./compile.sh -r
./kalast
TODO
License