<div dir="ltr"><div><div><div><div><div>Hello. The Intergate Variables filter just calculate the area integral of each variable. If you need the mass flow then your workflow is correct. I use the same approach:<br></div>1. Slice + coordinate thresholds if it's needed to bound the sloce.<br></div>2. Calculator filter with the function like MassFlux=Density*VelocityVector*SurfaceNormalVector<br></div>3. Intergate Variables. The MassFlux integral is what we need.<br></div>Regarding the time dependence I cannot suggest you something because I didn't work with transient cases in ParaView (I use CFD Post for transients).<br></div>I also don't know the simple way to filter just one variable to integrate. If you have lots of variables like in CFD results it's very inconvenient to dig through all variables in Intagrate results.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-01 15:56 GMT+03:00 Andrew Roberts <span dir="ltr"><<a href="mailto:andrew@thevisualroom.com" target="_blank">andrew@thevisualroom.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>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.</div><div><br></div><div>mdot(T) = int_A (rho . u(T) . n . alpha(T)) dA</div><div><br></div><div>mdot(T) is the massflow rate over time (kg/s)</div><div>int_A () dA is the integral over the area of a slice through the domain (m^2)</div><div>rho is the density of the particle phase and this is constant (kg/m^3)</div><div>u(T) is the time averaged velocity of the particle phase for a timestep of dt and varies with time, T (m/s)</div><div>n is the unit vector normal to the area (-)</div><div>alpha is the time averaged volume fraction of the particle phase and also varies with time T (-)</div><div><br></div><div>I think I am pretty sure that I can compute rho . u . n . alpha</div><div><br></div><div>My process in paraview:</div><div><br></div><div>Slice > Origin = 0, 0, 0, Normal = 0, 1, 0, Slice Type = Plane</div><div><br></div><div>This is the part in the brackets of the massflow rate equation. Mean just means time averaged:</div><div><br></div><div>Calculator > abs(U1Mean_Y)*2900*<wbr>alpha1Mean</div><div><br></div><div>Now I must integrate this over the area of the slice.</div><div><br></div><div>*** Is it correct to use the Filter > IntegrateVariables? ***</div><div><br></div><div>I then use PlotSelectionOverTime (which I'm pretty sure is right).</div><div><br></div><div>Kind regards,</div><div><br></div><div>Andrew</div><div><br></div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://paraview.org/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://paraview.org/mailman/<wbr>listinfo/paraview</a><br>
<br></blockquote></div><br></div>