|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Mohsen
Join Date: Oct 2012
Posts: 47
Rep Power: 15 ![]() |
hi everyone,
i tried to run the tutorial example of openFoam 3.0.x but i got this error. Code:
--> FOAM FATAL IO ERROR:
keyword pFinal is undefined in dictionary "/home/mohen/OpenFOAM/mohen-3.0.x/run/tutorials/incompressible/icoFoam/cavity/system/fvSolution.solvers"
file: /home/mohen/OpenFOAM/mohen-3.0.x/run/tutorials/incompressible/icoFoam/cavity/system/fvSolution.solvers from line 22 to line 33.
From function dictionary::subDict(const word& keyword) const
in file db/dictionary/dictionary.C at line 648.
FOAM exiting
![]() i searched throw the fvsolution script but i didn't see any pFinal there. i also copied the cavity tutorial from other versions but nothing changedthanks all |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
|
Hi,
cavity tutorial is meant to be run with icoFoam, yet it seems you are trying to run PISO/PIMPLE family solver. As of commit a2e25d5, icoFoam runs smoothly in cavity tutorial. |
|
|
|
|
|
|
|
|
#3 | |
|
Member
Mohsen
Join Date: Oct 2012
Posts: 47
Rep Power: 15 ![]() |
Quote:
I followed exactly the commands in the openfoam website, i'm sure i entered icoFoam to solve. |
||
|
|
|
||
|
|
|
#4 |
|
Senior Member
|
Hi,
You are right, I should have recompiled icoFoam with newly checked out source. As a workaround for the problem, you can change this part of fvSolution: Code:
p
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}
Code:
"p.*"
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}
|
|
|
|
|
|
|
|
|
#5 | |
|
Member
Mohsen
Join Date: Oct 2012
Posts: 47
Rep Power: 15 ![]() |
Quote:
thanks for your useful reply. I have another question. is there a problem with icoFoam in this version? or this error was just for the cavity tutorial? Thanks |
||
|
|
|
||
|
|
|
#6 |
|
Senior Member
|
Hi,
I think all icoFoam tutorials became broken after commit 21cbbf7. I.e. after this source modification: Code:
commit 21cbbf7beb561ce13a67790ce4c36a1371b17cd0
Author: Henry Weller <http://cfd.direct>
Date: Thu Jan 28 09:03:51 2016 +0000
pisoControl: Corrected handling of final inner (PISO) iteration control
...
+inline bool Foam::pisoControl::finalInnerIter() const
+{
+ return
+ corrPISO_ == nCorrPISO_
+ && corrNonOrtho_ == nNonOrthCorr_ + 1;
+}
|
|
|
|
|
|
![]() |
| Tags |
| cavity, fatal error, tutorial |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Convergence problem in 2D cavity problem | dreamz | Main CFD Forum | 0 | December 9, 2013 18:55 |
| Viscositymodel tutorial, problems when changing test case to cavity | sur4j | OpenFOAM Programming & Development | 1 | December 8, 2013 10:53 |
| Vessel tutorial problem | hosseinhgf | CFX | 1 | March 17, 2013 12:39 |
| [OpenFOAM] display panal dosn't refresh in tutorial 2.1 Cavity | kEpsilon | ParaView | 0 | February 27, 2012 11:43 |
| radiation problem for square cavity using fluent | john | Main CFD Forum | 0 | September 30, 2005 08:40 |