#cli #recreational

app simuwaerm

A simple heat simulation for the terminal

1 unstable release

0.2.1 Aug 5, 2022

#343 in #simulation

MIT license

11KB
154 lines

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.

Dependencies

~1–12MB
~73K SLoC