Leapfrog Integration with velocity-dependent force

926 Views Asked by At

favorite In every reference I found on the internet, the ODEs to be solved are essentially

$$ \frac{dx}{dt}=v\\ \frac{dv}{dt}=F(t,x) $$ I am currently working on a hydrodynamical simulation, and would like to know if it's possible and advantageous to use a function of velocity in the leapfrog scheme. Thanks in advance.