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

Refactory/check oldroyd b #537

Closed Xiangyu-Hu closed 1 month ago

Xiangyu-Hu commented 2 months ago

I have found a bug in the throat case, in which the dissipation term has been wrongly added in contact interaction.

Xiangyu-Hu commented 1 month ago

@TheodorH999 You can use the new class for computing velocity gradient in your project if you like. Certainly You can still use you own for now.

Xiangyu-Hu commented 1 month ago

I will open this pull request later.