Hello OF'ers, I am simulati
I am simulating pipe flows and I have a question concerning the calculation of average velocities and pressures.
Is it possible to add something like an additional, imaginary, patch at a specified point in order to calculate the averages ?
I know it is possible within Paraview, but I am looking for something like patchAverage, although I do not want to use the Inlet or Outlet patch.
Thanks in advance,
hi Bart have a look in anot
have a look in another post regarding "pressure coefficients" in "Running / Solving / CFD". There someone suggested me to use probe points that save for each time you will store the value of velocity or pressure or whatever you want.
hope this helps
Hi Bart, Have a look at the
Have a look at the sample utility, that lies in $FOAM_UTILITIES/postProcessing/sampling/sample.
In that path you have a sampleDict dictionary, that I believe is self-explanatory.
Just place that dictionary in the system directory of your case, and make the necessary adjustments to get the values belonging to the plane your are interested in.
Hello Jose, Thanks for the
Thanks for the tip, it works perfectly.
Now I only have to average the pressure on each surface and then I'm done http://www.cfd-online.com/OpenFOAM_D...part/happy.gif
Did you able to calculate average from sampled data for planes. Though my patch is not a plane but i have sampled data, and I want to calculate average value from it. Can you help me out ??
Thanks in advance
|All times are GMT -4. The time now is 06:22.|