CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Wiki > Gradient computation

Gradient computation

From CFD-Wiki

Revision as of 02:59, 3 October 2005 by Zxaar (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Gradient Calculation

From Green-Gauss theorem:


\int\limits_V {\nabla \phi dV = } \oint\limits_A {\phi dA}

Written in discrete form:


\left( {\nabla \phi } \right)_0  = {1 \over V}\sum\limits_f {\bar \phi _f A_f }

Value at Face

There are many ways of estimating value of  \phi at face.

  1. Weighted interpolation:  \phi _f  = w\phi _1  + \left( {1 - w} \right)\phi _0
  2. Arithmatic Average:  \phi _f  = 0.5 \left( \phi _1 + \phi _0 \right)
My wiki