CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   --> FOAM FATAL IO ERROR: Unable to set reference cell for field p Please supply (http://www.cfd-online.com/Forums/openfoam-solving/105598-foam-fatal-io-error-unable-set-reference-cell-field-p-please-supply.html)

A.A. August 3, 2012 07:50

--> FOAM FATAL IO ERROR: Unable to set reference cell for field p Please supply
 
Hi,

When I want to run my simulation with pimpleDyMFoam command I get the following error Message:

--> FOAM FATAL IO ERROR:
Unable to set reference cell for field p
Please supply either pRefCell or pRefPoint

Does anybody now where I can supply either pRefCell or pRefPoint?


Thanks in advance,
alex

Phicau August 3, 2012 08:12

Hi

check this out:

Code:

less $FOAM_TUTORIALS/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/fvSolution

A.A. August 3, 2012 08:32

Thanks Phicau,

found it.

Regards,
Alex

mayank.dce2k7 June 15, 2013 12:03

Thanks Phicau. I also ran across the same error.

jyangay September 29, 2015 09:53

Quote:

Originally Posted by Phicau (Post 375236)
Hi

check this out:

Code:

less $FOAM_TUTORIALS/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/fvSolution

jyangay@ust.hk

tripodtwostep April 3, 2016 23:50

An example of the dict for potentialFoam
 
I also came across similar problem, potentialFoam complained about pRefCell, phiRefCell, and Phi. Luckily after adding those keywords to fvSolution, it solved.
Here are several keywords you may need.
Code:

PIMPLE
{
    pRefCell 0;
    pRefValue 0;
}

solvers
{
    Phi
    {
        solver          GAMG;
        smoother        DIC;
        cacheAgglomeration on;
        agglomerator    faceAreaPair;
        nCellsInCoarsestLevel 10;
        mergeLevels    1;

        tolerance      1e-06;
        relTol          0.01;
    }
}

potentialFlow
{
    nNonOrthogonalCorrectors 10;
    PhiRefCell 0;
    PhiRefValue 0;
}



All times are GMT -4. The time now is 02:45.