CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   whats the mathematical equivalence of this formula? (http://www.cfd-online.com/Forums/openfoam-programming-development/119893-whats-mathematical-equivalence-formula.html)

immortality June 26, 2013 12:04

whats the mathematical equivalence of this formula?
 
whats the mathematical equivalence of this formula?
which equation is used in rhoCentralFoam?
Code:

// --- Solve momentum
        solve(fvm::ddt(rhoU) + fvc::div(phiUp));

        U.dimensionedInternalField() =
            rhoU.dimensionedInternalField()
          /rho.dimensionedInternalField();
        U.correctBoundaryConditions();
        rhoU.boundaryField() = rho.boundaryField()*U.boundaryField();

        volScalarField rhoBydt(rho/runTime.deltaT());

        if (!inviscid)
        {
            solve
            (
                fvm::ddt(rho, U) - fvc::ddt(rho, U)
              - fvm::laplacian(muEff, U)
              - fvc::div(tauMC)
            );
            rhoU = rho*U;
        }


wyldckat June 30, 2013 07:50

Hi Ehsan,

I don't know the answer, but I've picked on the following breadcrumbs on this topic:
Check the PDF files on the last link.

Best regards,
Bruno


All times are GMT -4. The time now is 18:58.