π¦ ClawHub
Physics Simulation
by @chunxiaoxx
Simulates and analyzes physical systems by solving ODEs/PDEs, applying finite element methods, and performing numerical computations for scientific research.
π‘ Examples
Input:
System: 1D heat equation u_t = alpha * u_xx
Domain: x in [0, 1], t in [0, 0.5]
Boundary: u(0,t) = u(1,t) = 0
Initial: u(x,0) = sin(pi*x)
Method: Crank-Nicolson, dx=0.01, dt=0.001
Output: Temperature field u(x,t) at specified time steps with error analysis.
TERMINAL
clawhub install physics-simulation