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/)
-   -   Momentum equation discretization in rhoSimpleFoam (https://www.cfd-online.com/Forums/openfoam-solving/59380-momentum-equation-discretization-rhosimplefoam.html)

mighelone October 16, 2007 05:51

I've a question about the disc
 
I've a question about the discretization of the momentum equation in the solver rhoSimpleFoam, defined in this way:


fvm::div(phi, U)
- fvm::Sp(fvc::div(phi), U)
+ turbulence->divRhoR(U)


I don't understand the meaning of the second term fvm::Sp(fvc::div(phi),U).

The same equation in the solver rhoTurbFoam is discretized in a different way:

fvm::ddt(rho, U)
+ fvm::div(phi, U)
+ turbulence->divRhoR(U)

Someone can explain me the difference?

Thank you
Michele


All times are GMT -4. The time now is 09:30.