|
[Sponsors] |
One question about the discretization of governing equation in OpenFOAM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 14, 2011, 22:05 |
One question about the discretization of governing equation in OpenFOAM
|
#1 |
Member
|
I found there is an extra term in some solvers. I am not sure about the reason. For example in the TEqn.H of buoyantBoussinesqSimpleFoam. The scalar matrix is constructed via
fvScalarMatrix TEqn ( fvm::div(phi, T) - fvm::Sp(fvc::div(phi), T) - fvm::laplacian(kappaEff, T) ); The second term seems not necessary here. And it also make the discretization become nonconservative. I wonder why this is necessary. In contrast in the UEqn.H in the same solver tmp<fvVectorMatrix> UEqn ( fvm::div(phi, U) + turbulence->divDevReff(U) ); Such term does not appear. Can anyone explain why we need this? Thanks a lot. Best Regards,
__________________
Jinbiao |
|
December 30, 2011, 04:49 |
|
#2 |
Senior Member
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 16 |
Hii,
The line is added to have values of T bounded in the algorithms like SIMPLE where we have partial convergence of pressure. Check this: http://www.cfd-online.com/Forums/ope...silon-eqn.html |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
Convergence question with regards to discretization | karananand | Main CFD Forum | 0 | July 16, 2010 01:27 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 06:56 |
UDF to add two governing equation?? | T.K. Yang | FLUENT | 0 | May 9, 2006 03:54 |