CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Momentum equation discretization in rhoSimpleFoam (

mighelone October 16, 2007 04: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

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