alec-glisman / Swimming-in-Potential-Flow

Study dynamics of inertial active matter in a potential fluid (irrotational, incompressible).
https://doi.org/10.1017/jfm.2022.946
GNU General Public License v3.0
1 stars 0 forks source link

No acceleration components when internal dynamics are off. This seems wrong #17

Closed alec-glisman closed 2 years ago

alec-glisman commented 2 years ago

Find the source of this issue. All articulation motion is off and the initial conditions are set by constant velocity (same as average velocity of isolated swimmer).

Maybe the constant velocity is the source of the issue?

alec-glisman commented 2 years ago

After checking Q and Q_con in RungeKutta4::udwadiaKalabal(), it is clear that the hydrodynamics are giving zero force in all Cartesian components. This seems wrong. I will review the analysis and see what term could be going wrong.

alec-glisman commented 2 years ago

This issue seems to have been due to simulating too short of a time scale. As of commit SHA ad468ea2c57cbe02209677ffbd8cb9cec9fc951c, the code seems to be working as expected. The bodies are attracted together along the z-axis.