Autodesk / XLB

XLB: Accelerated Lattice Boltzmann (XLB) for Physics-based ML
Other
238 stars 25 forks source link

We're calculating pressure and velocity incorrectly in the Warp backend. #90

Closed mehdiataei closed 1 day ago

mehdiataei commented 3 weeks ago

Since we're using the pull method, a must apply one streaming step (plus, apply_bc poststreaming) before calculating rho and u.

hsalehipour commented 3 weeks ago

that's not quite right. The zero'th and first moment of the Collision operation is zero actually and so the only issue we have with the way we are outputting rho and vel is at the boundaries and so all we need to be cautious of is not to include boundary voxels in our viz and analysis unless it is needed in our analysis.