CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   How to calculate the divergence on the boundary? (https://www.cfd-online.com/Forums/main/7802-how-calculate-divergence-boundary.html)

maximus July 9, 2004 23:49

How to calculate the divergence on the boundary?
 
Hi,I am discretizing the N-S equtation on a co-located no-orthogonal grid with finite volume method. I meet a problem when I deal with the source term of momentum equation. There is a partial derivative calculation for divergence term ( <Partial(div(U))/Partial(x)>in the source term. As we all know a node locates on the boundary with the volume equal zero, and there is also no definition for the node on the corner formed by two boundaries. How to discretize it, and is the divergence on the boundary equal zero? thanks!! maximus

Rami July 11, 2004 02:35

Re: How to calculate the divergence on the boundar
 
maximus,

I am not quite sure I understand your question.

Usually the divergence term is manipulated in the FVM by the divergence theorem to yield surface integrals on the control volume (cell) faces. On the other hand, on boundaries you should apply (discretized) BC, e.g. Dirichlet- or Neumann- type, rather than the conservation equation, and hence there is no divergence term there.

I hope this helps.


All times are GMT -4. The time now is 14:10.