CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   keyword potentialFlow is undefined in dictionary, please help. (https://www.cfd-online.com/Forums/openfoam-pre-processing/125190-keyword-potentialflow-undefined-dictionary-please-help.html)

TommiPLaiho October 21, 2013 07:15

keyword potentialFlow is undefined in dictionary, please help.
 
Hi,

I get this from the OpenFOAM when I try to run:

Code:

potentialFoam -writep
Quote:

--> FOAM FATAL IO ERROR:
keyword potentialFlow is undefined in dictionary "/home/tommi2/OpenFOAM/tommi2-2.1.1/run/system/fvSolution"

file: /home/tommi2/OpenFOAM/tommi2-2.1.1/run/system/fvSolution from line 21 to line 71.

From function dictionary::subDict(const word& keyword) const
in file db/dictionary/dictionary.C at line 461.

Please help me what to do for next. Thanks in advance.

chegdan October 21, 2013 10:22

This is a case where OpenFOAM is really good at telling you what is wrong with your case setup. The message

Code:

keyword potentialFlow is undefined in dictionary "/home/tommi2/OpenFOAM/tommi2-2.1.1/run/system/fvSolution"
tells you that you are missing the keyword "potentialFlow" in the fvSolution file. You can either go to the tutorials folder and do

Code:

grep -R 'potentialFlow' .
to search for examples or go to tutorials/basic/potentialFoam/pitzDaily/system/fvSolution

and find an example entry like:

Code:

potentialFlow
{
    nNonOrthogonalCorrectors 0;
}

and experiment a bit with the entry
Code:

nNonOrthogonalCorrectors    0;
good luck :D

TommiPLaiho October 21, 2013 17:12

Thanks. It helped. But I am running from another problem to another...I wonder if there is something wrong with my installation. Hmm...


All times are GMT -4. The time now is 21:30.