CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Calculation difference between two time steps? (https://www.cfd-online.com/Forums/openfoam-programming-development/117525-calculation-difference-between-two-time-steps.html)

lfgmarc May 10, 2013 01:10

Calculation difference between two time steps?
 
Hi, I try to write a piece of code to calculate the difference between two successive time steps (i.e, rho^n-rho^(n-1)). My question is how I can access to a field value for each grid point at any successive time step from temporal directories?.

Thanks in advance for any advice.

F G.

duongquaphim May 10, 2013 04:57

This is probably what you are looking for http://www.cfd-online.com/Forums/ope...time-step.html

Cheers, D


All times are GMT -4. The time now is 01:20.