CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Calculation of motion continuity error (

sasanghomi July 25, 2013 04:41

Calculation of motion continuity error
Hi Dear Foamers,

I am trying to understand calculating of motion continuity error.
I think first line in below code is creating an object without any dimension and I don't understand the meaning of [d/dt ( Object ) ] . Also I couldn't understand what do meshPhi(U) do exactly .

volScalarField motionContErr =
        fvc::ddt(dimensionedScalar("1", dimless, 1.0), mesh)
      - fvc::div(fvc::meshPhi(U));

Can anybody help me for understanding this code?
I appreciate any help from you.

Thanks and best regards,

All times are GMT -4. The time now is 19:05.