|
[Sponsors] |
February 13, 2016, 14:44 |
cavity tutorial problem in OF 3.0.x
|
#1 |
Member
Mohsen
Join Date: Oct 2012
Posts: 47
Rep Power: 14 |
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 thanks all |
|
February 14, 2016, 05:20 |
|
#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. |
|
February 14, 2016, 05:55 |
|
#3 | |
Member
Mohsen
Join Date: Oct 2012
Posts: 47
Rep Power: 14 |
Quote:
I followed exactly the commands in the openfoam website, i'm sure i entered icoFoam to solve. |
||
February 14, 2016, 06:32 |
|
#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; } |
|
February 14, 2016, 11:45 |
|
#5 | |
Member
Mohsen
Join Date: Oct 2012
Posts: 47
Rep Power: 14 |
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 |
||
February 14, 2016, 12:03 |
|
#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 |
|
|
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 |