simuwaerm

Crates.iosimuwaerm
lib.rssimuwaerm
version0.2.1
sourcesrc
created_at2022-08-05 06:59:05.066402
updated_at2022-08-05 06:59:05.066402
descriptionA simple heat simulation for the terminal.
homepage
repositoryhttps://github.com/file-acomplaint/kyun
max_upload_size
id639179
size17,860
fi-le (file-acomplaint)

documentation

README

SIMUWAERM

Simuwaerm is a simple heat simulation written in pure Rust.

screenshot

How it works

The border is fixed, the middle tiles simulate a conductive plate. If you leave it be, it numerically solves the border condition, so that the middle has Laplacian 0 everywhere. You can manually add heat or cold with keys h and k.

λ is the uniform conductivity and, in reality, satisfies 0 < λ < 1. (Feel free to break this boring limiting condition however.)

The language can be switched to German with l.

Installation

You can download a binary here.

If you want to build it yourself, you can run:

git clone https://github.com/file-acomplaint/simuwaerm.git
cd simuwaerm
cargo run --release

Compatibility

Simuwaerm runs on UNIX and Windows, about equally well. Above is a screenshot on KDE Konsole, below on the Command Prompt:

screenshot

If you happen to use a niche operating system, say macOS, please try compiling and send me a funny caption of what happens. Or do a pull request, I suppose.

Commit count: 11

cargo fmt