CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Case works on Single Core, but not Multi Core (https://www.cfd-online.com/Forums/openfoam/176862-case-works-single-core-but-not-multi-core.html)

Verse August 29, 2016 09:44

Case works on Single Core, but not Multi Core
 
Hello,

I have an OpenFOAM case which runs perfectly fine on a single processor, yet always seems to crash at the "Solve" portion with multicore processing.

I'm using my own implementation of fsiFoam, and was wondering if anyone has encountered a similar problem?

Code:

    for (label i=0; i<2; i++)
    {
        Foam::solve
        (
            fvm::laplacian
            (
                diffusivityPtr_->operator()(),
                cellMotionU_,
                "laplacian(diffusivity,cellMotionU)"
            )
        );
    }



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