XLB
XLB copied to clipboard
XLB: Accelerated Lattice Boltzmann (XLB) for Physics-based ML
The demo in companying paper (6.2. Differentiable flow control with deep learning) very interests me, but I don't find in example/ folder, could you please give me relevant file?
Line 33 `jax.config.update('jax_array', True)` in `windtunnel3d.py` throws an exception. Looks it should be removed. Executing the `windtunnel3d.py` example in a Google Colab instance throws this exception: ``` --------------------------------------------------------------------------- AttributeError Traceback...
The assign_fields_sharded doesn't work correctly if we define initial rho0 and u0 on multi-GPU systems. It is a simple fix and I'll submit a PR for it. Adding it here...
Lots of changes and refactoring! This PR should have both Regularized BC and Zouhe BC working correctly under both 'velocity' and 'pressure' boundary types. in Both JAX and Warp
- Pull the latest code in major_refactoring branch (e.g after this [PR](https://github.com/Autodesk/XLB/commit/38431881b62c69cdf04b546107e8aaa4fcf7c7cb) ) - Put a break point in L187 of wind tunnel example [here](https://github.com/Autodesk/XLB/blob/38431881b62c69cdf04b546107e8aaa4fcf7c7cb/examples/cfd/windtunnel_3d.py#L187) - Run in debug mode...
## Contributing Guidelines Merged XLB main into MRES branch and some other cleanup - [x] I have read and understood the [CONTRIBUTING.md](https://github.com/Autodesk/XLB/blob/main/CONTRIBUTING.md) guidelines ## Description ## Type of change -...
## Contributing Guidelines - [x] I have read and understood the [CONTRIBUTING.md](https://github.com/Autodesk/XLB/blob/main/CONTRIBUTING.md) guidelines ## Description The MLUPs performance of KBC has been improved by this simple combination of calls to...
Using the flow past sphere example. The following lines were changed: ``` # bc_left = RegularizedBC("velocity", profile=bc_profile(), indices=inlet) bc_left = RegularizedBC("velocity", prescribed_value=(u_max, 0.0, 0.0), indices=inlet) bc_sphere = FullwayBounceBackBC(indices=sphere) ``` Also...
I am trying to run the lid driven cavity 2d example. I have installed the package from source but I am getting the following error: ``` Traceback (most recent call...
## Contributing Guidelines - [ ] I have read and understood the [CONTRIBUTING.md](https://github.com/Autodesk/XLB/blob/main/CONTRIBUTING.md) guidelines ## Description ## Type of change - [ ] Bug fix (non-breaking change which fixes an...