Gauss Quadrature points
Hi All,
I am calculating volume flow in a channel, and want to use the Gauss quadrature to calculate the volume flow rate. I searched on the net, and found some tables that have the points ( abscissa) and the corresponding weighting functions. As far as i understood, I can select any of the points in my domain as a point corresponding to one of the Gauss point (say of 5X5 matrix points), and then can use coordinate transformation to select the other points. What happens however, if the other points are outside the domain?:o How can I select the points then? Is there some rule to fix the points according to my domain? Thanks, Dhruv 
You can set those values to zero. But that might compromise the accuracy of the Gaussian quadrature: it is exact for a polynomial of degree 2n and below. How well is your data represented by a polynomial if some of it is identically zero? Probably not so good.

Gaussian Quadrature
3 Attachment(s)
Quote:
Thanks for the reply. However, I did not fully understand your explanation. What do you mean when you say some of it is identically zero? I am attaching here the geometry, the cut and the region where I have the computation results. I want to set some points (say a 4 X 4 array) and find out the volume flow. How can I find a polynomial which can represent my data points? 
Quote:
As for your problem, I have two suggestions:  use an OF postprocessing utility. I have never done this one, but search the forum for integrating fluxes over patches.  Extract the points, and use a trapezoidal or a Romberg integration. I don't think Gaussian quadratures are of much help here, as they require nodes at specific locations. That will force you to interpolate the flux to those locations, and then you face the question of how do you interpolate. Finally, when I think about it, since this is a finite volume method, the flux is constant across a cell (at least in orthogonal meshes). Thus the selfconsistent way of getting the total flux is to add the fluxes of all the cells on a patch. Mirko 
Gau
Quote:

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