CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   What is advection term of incompressible turbulence model (https://www.cfd-online.com/Forums/openfoam-solving/58239-what-advection-term-incompressible-turbulence-model.html)

waynezw0618 December 5, 2008 00:29

Hi everyone: i have find in
 
Hi everyone:

i have find in kEpsilon and KomegaSST,both k , epsilone,Omega equation has the advection term like this:
+ fvm::div(phi_, k_)
- fvm::Sp(fvc::div(phi_), k_)

but i think the div(phi_)should be "0" for incompressible flow. and why not write as :
- fvm::Sp(fvc::div(k_), phi_)
or
- fvm::Sp(fvm::div(k_), phi_)

thanks

yours wayne

villet December 5, 2008 02:47

Hi Wayne, there has already be
 
Hi Wayne, there has already been discussion about this matter. Try to search for it, because I cannot remember the details. You shouldn't worry too much about it, since the divergence term goes to zero as the solution converges.

waynezw0618 December 6, 2008 07:46

hi Ville thanks,i will se
 
hi Ville

thanks,i will search it now.if you find please tell me .there are some similar term in the diffusion term too :

tmp<fvvectormatrix> kEpsilon::divDevReff(volVectorField& U) const
{
return
(
- fvm::laplacian(nuEff(), U)
- fvc::div(nuEff()*dev(fvc::grad(U)().T()))
);
}

the red part will be 1/3*nuEff*grad(div(U)),and for incompressible flow it will be zero too.

the problem is that these terms should be zero in theory,but not in numerical,so i don`t know why add these terms here with the danger of introduce the numerical error. i think maybe there is something i do not know.so any one could help me ?

thanks

yours wayne


All times are GMT -4. The time now is 20:34.