CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Calculation of motion continuity error (http://www.cfd-online.com/Forums/openfoam/121275-calculation-motion-continuity-error.html)

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 .
Code:

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,
Sasan.


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