MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
continuityErrors.H
Go to the documentation of this file.
1 
10 {
12  dimensionedScalar continuityError;
13  continuityError =
14  mag(initialFoamMass - fvc::domainIntegrate(rho_foam*alpha2))
15  /initialFoamMass*100.0;
16  cumulativeContinuityError = cumulativeContinuityError + continuityError;
17 
18  Info<< "Continuity error: "
19  << continuityError.value() << " %" << endl;
20 }
21 ///@endcond