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/reimplement force prior #513

Closed Xiangyu-Hu closed 3 months ago

Xiangyu-Hu commented 3 months ago
  1. Basically, I introduced a base class called ForcePrior to handle the forces other than that induced by pressure and stress. Now, one can apply such forces (such as gravity) at any where or frequency.
  2. I have updated several non-tested cases with regression test data set.