CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

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

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 2 Post By Phicau

Reply
 
LinkBack Thread Tools Display Modes
Old   August 3, 2012, 07:50
Default --> FOAM FATAL IO ERROR: Unable to set reference cell for field p Please supply
  #1
Member
 
Alexander A
Join Date: Jun 2012
Posts: 53
Rep Power: 6
A.A. is on a distinguished road
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
A.A. is offline   Reply With Quote

Old   August 3, 2012, 08:12
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Singapore
Posts: 306
Rep Power: 8
Phicau is on a distinguished road
Hi

check this out:

Code:
less $FOAM_TUTORIALS/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/fvSolution
kovamaniac and CatFish like this.
Phicau is offline   Reply With Quote

Old   August 3, 2012, 08:32
Default
  #3
Member
 
Alexander A
Join Date: Jun 2012
Posts: 53
Rep Power: 6
A.A. is on a distinguished road
Thanks Phicau,

found it.

Regards,
Alex
A.A. is offline   Reply With Quote

Old   June 15, 2013, 12:03
Default
  #4
Member
 
India
Join Date: Oct 2012
Posts: 84
Rep Power: 5
mayank.dce2k7 is on a distinguished road
Thanks Phicau. I also ran across the same error.
mayank.dce2k7 is offline   Reply With Quote

Old   September 29, 2015, 09:53
Default
  #5
New Member
 
Adam
Join Date: Sep 2015
Posts: 2
Rep Power: 0
jyangay is on a distinguished road
Quote:
Originally Posted by Phicau View Post
Hi

check this out:

Code:
less $FOAM_TUTORIALS/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/fvSolution
jyangay@ust.hk
jyangay is offline   Reply With Quote

Old   April 3, 2016, 23:50
Default An example of the dict for potentialFoam
  #6
New Member
 
Pin Lyu
Join Date: Mar 2016
Location: Harbin
Posts: 6
Rep Power: 2
tripodtwostep is on a distinguished road
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; 
}
tripodtwostep is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
It would be wonderful if a tool for FoamToTecplot is available luckyluke OpenFOAM Post-Processing 165 November 27, 2012 07:54
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 01:34
Building OpenFoAm on SGI Altix 64bits anne OpenFOAM Installation 8 June 15, 2006 09:27
Windows Installation BugsComments on Petrbs patch brooksmoses OpenFOAM Installation 48 April 16, 2006 00:20
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 10:57.