Published May 6, 2025
| Version v1
Software
Open
TorchFSM: Fourier Spectral Method with PyTorch
Description
TorchFSM is a PyTorch-based library for solving PDEs using the Fourier spectral method. It is designed for physics-based deep learning and differentiable simulations.
It has the following nice features:
- Modular by design: TorchFSM offers a modular architecture with essential mathematical operators—like divergence, gradient, and convection—so you can build custom solvers like stacking building blocks, quickly and intuitively.
- GPU-accelerated: TorchFSM leverages GPU computing to speed up simulations dramatically. Run complex 3D PDEs in minutes, not hours, with seamless hardware acceleration.
- Batched simulation support: Built on PyTorch, TorchFSM enables batched simulations with varied initial conditions—ideal for parameter sweeps, uncertainty quantification, or ensemble analysis.
- Differentiable and ML-ready: Fully differentiable by design, TorchFSM integrates naturally with machine learning workflows—for residual operators, differentiable physics, or dataset generation.
For more details, please refer to our homepage.
Files
Files
(44.9 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:fa6af3f876d863729a9878d8d8451399
|
44.9 kB | Download |
Additional details
Dates
- Available
-
2025-05-06
Software
- Repository URL
- https://github.com/qiauil/torchfsm
- Programming language
- Python
- Development Status
- Active