|
[Sponsors] |
--> FOAM FATAL IO ERROR: Unable to set reference cell for field p Please supply |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 3, 2012, 08:50 |
--> 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: 14 |
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 |
|
August 3, 2012, 09:12 |
|
#2 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi
check this out: Code:
less $FOAM_TUTORIALS/incompressible/pimpleDyMFoam/mixerVesselAMI2D/system/fvSolution |
|
August 3, 2012, 09:32 |
|
#3 |
Member
Alexander A
Join Date: Jun 2012
Posts: 53
Rep Power: 14 |
Thanks Phicau,
found it. Regards, Alex |
|
June 15, 2013, 13:03 |
|
#4 |
Member
India
Join Date: Oct 2012
Posts: 84
Rep Power: 14 |
Thanks Phicau. I also ran across the same error.
|
|
September 29, 2015, 10:53 |
|
#5 | |
New Member
Adam
Join Date: Sep 2015
Posts: 2
Rep Power: 0 |
Quote:
|
||
April 4, 2016, 00:50 |
An example of the dict for potentialFoam
|
#6 |
New Member
Pin Lyu
Join Date: Mar 2016
Location: Harbin
Posts: 6
Rep Power: 10 |
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; } |
|
November 24, 2017, 05:12 |
|
#7 |
New Member
Mileva_Maric
Join Date: Nov 2017
Posts: 3
Rep Power: 9 |
Dear users,
I do have exacly the same pRefCell error than Alexander but I already have the code of fvSolutions as you mentioned, with pRefCell 0; and pRefValue 0; set. Does anyone know what is going on? |
|
November 24, 2017, 06:58 |
|
#8 |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12 |
Most likely your simulation doesn't like cell 0. You can try pRefPoint and set a point somewhere in your domain.
|
|
November 27, 2017, 04:13 |
|
#9 |
New Member
Mileva_Maric
Join Date: Nov 2017
Posts: 3
Rep Power: 9 |
||
June 24, 2019, 05:57 |
|
#10 | |
New Member
Hamed
Join Date: Dec 2013
Location: Istanbul
Posts: 16
Rep Power: 13 |
Quote:
flowModel consistentIcoFlow; icoFlowCoeffs { nCorrectors 3; nNonOrthogonalCorrectors 1; pRefCell 0; pRefValue 0; } //consistentIcoFlowCoeffs consistentIcoFlowCoeffs; { nCorrectors 3; nNonOrthogonalCorrectors 1; pRefCell 0; pRefValue 0; } |
||
|
|
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 10:27 |
Windows Installation BugsComments on Petrbs patch | brooksmoses | OpenFOAM Installation | 48 | April 16, 2006 01:20 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |