CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   advancing velocities and positions in pimpleDyMFoam (http://www.cfd-online.com/Forums/openfoam/128134-advancing-velocities-positions-pimpledymfoam.html)

fsaltara January 4, 2014 12:17

advancing velocities and positions in pimpleDyMFoam
 
How are velocities and positions advanced in pimpleDyMFoam?

Looking in the code, I assume that:

v(t+0.5dt)=v(t)+0.5*dt0*a(t)

y(t+dt)=y(t)+v(t+0.5dt)*dt

v(t+dt)=v(t+0.5dt)+0.5*dt*a(t)

But, using a calculator, I was unable to reproduce the foam results between two time-steps.


All times are GMT -4. The time now is 04:59.