CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Laplacian term missing in simpleFoam - UEqn.H (http://www.cfd-online.com/Forums/openfoam/86845-laplacian-term-missing-simplefoam-ueqn-h.html)

Balakrshnan Ramakrishnan April 4, 2011 06:44

Laplacian term missing in simpleFoam - UEqn.H
 
Dear Foamers,
I am trying to understand the code for simpleFoam and I came across the wiki for the same

HTML Code:

http://openfoamwiki.net/index.php/The_SIMPLE_algorithm_in_OpenFOAM
In the above link , in the "Implementation of the SIMPLE algorithm in OpenFOAM" section,

the second equation says that the

tmp<fvVectorMatrix> UEqn
(
fvm::div(phi, U) - laplacian(nu,U)
);


But in the actual file UEqn.H in the /solvers folder , the code is as below

tmp<fvVectorMatrix> UEqn
(
fvm::div(phi, U)
+ turbulence->divDevReff(U)
);


Is the laplacian term replaced with a turbulence term??

Can someone help to figure this out?

Your help is highly appreciated.

Thanks

santiagomarquezd April 4, 2011 17:45

Hi, simpleFoam manages both laminar and turbulent cases via turbulence->divDevReff(U). This term reduces to the laplacian one in laminar cases.

Regards.

Balakrshnan Ramakrishnan April 5, 2011 10:58

Thanks a lot for your reply:)


All times are GMT -4. The time now is 01:41.