Releases: scaomath/torch-cfd
Releases · scaomath/torch-cfd
0.2.5
0.2.4
- Added Multigrid V-cycle preconditioned CG implemented as
nn.Module
. Ref: Long Chen's notes on finite difference and MG on MAC grids. - Added solver tests.
Full Changelog: 0.2.3...0.2.4
0.2.3
What's Changed
- Fixed the
impose_bc
behavior in the original Jax-CFD involving ghost cells and offset 1.5. - Added an example of nonhomogeneous BC (lid-driven cavity).
- Various tests added and misc refactoring done.
Full Changelog: 0.2.2...0.2.3
0.2.2
What's Changed
- Added
test_advection.py
for analytical solutions. - Added several helper functions in
boundaries.py
. - Renaming certain arguments to be consistent.
Full Changelog: 0.2.1...0.2.2
0.2.1
What's Changed
- Fixed boundary values imposing bugs from Jax-cfd.
- Added a boundary test.
Full Changelog: 0.2.0...0.2.1
0.2.0
What's Changed
Batch dim support for finite volume solvers.
- Refactored
GridVariable
. - Changed the behavior of several functions associated such as
pad
,shift
,trim
. - Added unittests for finite difference routines.
Full Changelog: 0.1.0...0.2.0
0.1.0
What's Changed
- Implemented the FVM method on a staggered MAC grid (pressure on cell centers).
- Added native PyTorch implementation for applying
torch.linalg
andtorch.fft
functions directly onGridArray
andGridVariable
. - Added native implementation of arithmetic manipulation directly on
GridVariableVector
. - Added several helper functions
consistent_grid
to replaceconsistent_grid_arrays
. - Removed dependence of
from torch.utils._pytree import register_pytree_node
- Some tests are added. Requires package
pytest
Full Changelog: 0.0.8...0.1.0
0.0.8
Full Changelog: 0.0.7...0.0.8