CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

The meaning of the divergence term

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   December 22, 2014, 11:58
Default The meaning of the divergence term
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 15
AlmostSurelyRob will become famous soon enough
This is a difficult question for me to ask provided I've been using OpenFOAM for some time, but I really wonder what is the real meaning of the divergence term as given by fvm::div(phi, U). Is it

a) u \cdot grad(u)
b) \nabla \cdot uu^T

The reason why I am asking is that I want to have an fvm based Burgers equation for 1D with the flux f(u) = 0.5 u^2 and I don't know whether I should or shouldn't include the 0.5 term.

        while (simple.correctNonOrthogonal())
              + 0.5 * fvm::div(phi, U) //*0.5?
              - fvm::laplacian(DT, U) 
        phi = linearInterpolate(U) & mesh.Sf();
AlmostSurelyRob is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Divergence detected in pressure correction term problem calculation lm_laxman FLUENT 0 September 23, 2014 00:28
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 13 May 26, 2014 09:05
Divergence problem Smaras FLUENT 13 February 21, 2013 06:03
Is it possible to use divergence in the source term of an scalar transport equation? jannnesss CFX 0 January 8, 2010 20:53
Problem in divergence term titio OpenFOAM Running, Solving & CFD 1 April 7, 2009 09:47

All times are GMT -4. The time now is 22:37.