Xiangyu-Hu / SPHinXsys

SPHinXsys provides C++ APIs for engineering simulation and optimization. It aims at complex systems driven by fluid, structure, multi-body dynamics and beyond. The multi-physics library is based on a unique and unified computational framework by which strong coupling has been achieved for all involved physics.
https://www.sphinxsys.org/
Apache License 2.0
259 stars 197 forks source link

viscous dynamics #544

Closed Xiangyu-Hu closed 1 month ago

Xiangyu-Hu commented 1 month ago

The changes are summarized as follows:

  1. fixed a bug is old royld b case
  2. add shear dependent viscosity
  3. add observer using lattice generator to lid driven cavity
  4. introduced signed distance to solid particles, and DistanceFromWall class for fluid particles.
  5. Near linear reproducing boundary condition is added to velocity gradient computation and angular momentum conservative viscous force and a new test 2d_velocity_gradient is added as a unit test.
  6. 2d lid driven as new case for future clarification of shear-dependent viscous flow test , but now regression test is not done yet.
Xiangyu-Hu commented 1 month ago

@FabienPean-Virtonomy @FengWang3119 @TheodorH999 @Bo-Zhang1995 @Lisu-lisa Please have check the pull request. If there is no issues, please approve it. Thanks.