CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

keyword potentialFlow is undefined in dictionary, please help.

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 21, 2013, 08:15
Default keyword potentialFlow is undefined in dictionary, please help.
  #1
New Member
 
Tommi P. Laiho
Join Date: Oct 2013
Posts: 18
Rep Power: 3
TommiPLaiho is on a distinguished road
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.
TommiPLaiho is offline   Reply With Quote

Old   October 21, 2013, 11:22
Default
  #2
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 522
Rep Power: 17
chegdan will become famous soon enough
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
__________________
Dan

Find me on twitter @dancombest
chegdan is offline   Reply With Quote

Old   October 21, 2013, 18:12
Default
  #3
New Member
 
Tommi P. Laiho
Join Date: Oct 2013
Posts: 18
Rep Power: 3
TommiPLaiho is on a distinguished road
Thanks. It helped. But I am running from another problem to another...I wonder if there is something wrong with my installation. Hmm...
TommiPLaiho 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
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 10 May 1, 2014 17:26
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 01:34


All times are GMT -4. The time now is 19:03.