CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   InterFoam Artificially High Velocities (https://www.cfd-online.com/Forums/openfoam-solving/84772-interfoam-artificially-high-velocities.html)

andersson.j February 8, 2011 10:43

InterFoam Artificially High Velocities
 
Hello everybody

I'm using interFoam to generate waves and having some troubles with periodic intervals of high velocities yielding very small time steps. These high velocities are not present during post processing. However the time step size is calculated using the flux field phi where these artificial high velocities appear.


Could someone please explain why do we have the extra term added to phiU (in bold)?

from pEqn.H:
Code:


phi = phiU +
    (
        fvc::interpolate(interface.sigmaK())*fvc::snGrad(gamma)
      - ghf*fvc::snGrad(rho)
    )*rUAf*mesh.magSf();

Shouldn't phi be "reset" (equal to U*faceArea) before include CourantNo.H?

I'm using OF1.5dev.

Thanks in advance,
Jonas


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