Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lkwinta/finite-element-method
Finite element method numeric solver for Differential Equation course at AGH UST
https://github.com/lkwinta/finite-element-method
differential-equations finite-element-methods heat-transfer rust
Last synced: 24 days ago
JSON representation
Finite element method numeric solver for Differential Equation course at AGH UST
- Host: GitHub
- URL: https://github.com/lkwinta/finite-element-method
- Owner: lkwinta
- Created: 2023-12-28T15:28:00.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-26T09:09:08.000Z (12 months ago)
- Last Synced: 2024-01-26T11:27:57.433Z (12 months ago)
- Topics: differential-equations, finite-element-methods, heat-transfer, rust
- Language: Rust
- Homepage:
- Size: 478 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Finite elements method solver
Small rust util that solves heat transfer differential equation using finite element method. Equation is as following:
$-(k(x)u'(x))' = 100x$
$u(2) = 0$
$u(0) + u'(0) = 20$
```math
k(x) =
\begin{cases}
1 & \text{dla} x\in [0,1]\\
2x & \text{dla} x\in (1,2]
\end{cases}
```# Usage
To build program use:
```
cargo build --release
```To solve equation use:
```
cargo run --release
```
where N is the number of base functions. If not given, the default value is 10.