CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Calculating time derivative of scalar field (https://www.cfd-online.com/Forums/paraview/174332-calculating-time-derivative-scalar-field.html)

Jack001 July 10, 2016 13:11

Calculating time derivative of scalar field
 
I have an unsteady (time dependent) simulation to be analysed in paraview. I would like to calculate for instance \frac{\partial \rho}{\partial t} but I can't find a good way to do it. I figured there must be a straightforward way to do this as it must be a common task in CFD.

The only way I can think of is to write a python programmable filter that loops over all points, and for each point calculates the time derivative using a finite difference scheme by accessing the time step of a simulation at that point. However this seems like its going to be very slow...


All times are GMT -4. The time now is 23:03.