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/)
-   -   Error while running simpleFoam (https://www.cfd-online.com/Forums/openfoam-solving/97614-error-while-running-simplefoam.html)

samiam1000 February 21, 2012 09:54

Error while running simpleFoam
 
Dear all,

I have a problem while trying to run simpleFoam.

I think I set all right, but I get this:

Code:

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi



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


file: /root/Documents/OF_case1_test/system/fvSolution::SIMPLE from line 81 to line 89.

    From function void Foam::setRefCell
(
    const volScalarField&,
    const volScalarField&,
    const dictionary&,
    label& scalar&,
    bool
)
    in file cfdTools/general/findRefCell/findRefCell.C at line 115.

FOAM exiting

Does anyone know how to solve this?

Thanks,

Samuele


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