CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)

 Barry September 25, 2001 08:40

Dear all

Can anyone tell me / give references of alternative methods to Gauss/Green to compute gradients of for example a scalar over a control volume.

Gauss (grad Phi)~1/V Sigma_faces (Phi_face x areavector_face)

 Jim Park September 25, 2001 09:04

I'll not try to dig out multiple references.

My point (helpful or not) is that there are a great many ways to calculate Phi_face.

What you choose depends on your experience, your problem, your overall algorithm, economics, the physics you're trying to simulate.

 Barry September 25, 2001 09:12

Dear Jim

Say I have phi_face. I'm just looking for alternatives to Gauss for the gradient calculation.

Regards

 Kang, Seok Koo September 25, 2001 10:36

The least squares method can be an alternative to the green-gauss theorem for calculating a gradient of a scalar over irregular control volumes. Both are useful and cannot say which is better; because it depends on the situation.

In my experience, two methods show similar results. The method of least squares is sometimes used in special scheme such as least-squares ENO, but it can take the place of green-gauss.

 Barry September 26, 2001 01:37

Dear Kang

Could you maybe provide references of where the least squares method is explained? Thank you

 Kang, Seok Koo September 26, 2001 06:08

One example of calculating a gradient of a dependent variables over a control volume is presented here. Hope this will help you.

N. BALAKRISHNAN AND G. FERNANDEZ, WALL BOUNDARY CONDITIONS FOR INVISCID COMPRESSIBLE FLOWS ON UNSTRUCTURED MESHES, Int. J. Numer. Meth. Fluids 28: 1481-1501 (1998)

 Phil Zwart September 26, 2001 15:54

Tim Barth, "Recent Developments in High Order K-Exact Reconstruction on Unstructured Meshes", AIAA Paper 93-0668, 1993.

This paper describes a least-squares procedure for calculating gradients and Hessians. Gradients only are a simplification of this procedure.

 Barry September 27, 2001 07:15