|
[Sponsors] |
December 22, 2014, 11:58 |
The meaning of the divergence term
|
#1 |
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22 |
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. Code:
while (simple.correctNonOrthogonal()) { solve ( fvm::ddt(U) + 0.5 * fvm::div(phi, U) //*0.5? - fvm::laplacian(DT, U) ); } phi = linearInterpolate(U) & mesh.Sf(); |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ANSYS Meshing] Help with element size | sandri_92 | ANSYS Meshing & Geometry | 14 | November 14, 2018 08:54 |
Divergence detected in pressure correction term problem calculation | lm_laxman | FLUENT | 0 | September 23, 2014 01:28 |
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 10:47 |