[Paraview] Integrate Variables
Andrew Roberts
andrew at thevisualroom.com
Thu Feb 1 07:56:02 EST 2018
Hello,
I have a function for mass flowrate that I want to plot over a time period
DT. The velocity is time averaged per timestep dt, not the whole time
period, DT. In otherwords the number of timesteps is DT/dt.
mdot(T) = int_A (rho . u(T) . n . alpha(T)) dA
mdot(T) is the massflow rate over time (kg/s)
int_A () dA is the integral over the area of a slice through the domain
(m^2)
rho is the density of the particle phase and this is constant (kg/m^3)
u(T) is the time averaged velocity of the particle phase for a timestep of
dt and varies with time, T (m/s)
n is the unit vector normal to the area (-)
alpha is the time averaged volume fraction of the particle phase and also
varies with time T (-)
I think I am pretty sure that I can compute rho . u . n . alpha
My process in paraview:
Slice > Origin = 0, 0, 0, Normal = 0, 1, 0, Slice Type = Plane
This is the part in the brackets of the massflow rate equation. Mean just
means time averaged:
Calculator > abs(U1Mean_Y)*2900*alpha1Mean
Now I must integrate this over the area of the slice.
*** Is it correct to use the Filter > IntegrateVariables? ***
I then use PlotSelectionOverTime (which I'm pretty sure is right).
Kind regards,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://paraview.org/pipermail/paraview/attachments/20180201/5a33e214/attachment.html>
More information about the ParaView
mailing list