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.
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.
I have updated several non-tested cases with regression test data set.