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

keyword potentialFlow is undefined in dictionary, please help.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2013, 07:15
Default keyword potentialFlow is undefined in dictionary, please help.
  #1
New Member
 
Tommi P. Laiho
Join Date: Oct 2013
Posts: 18
Rep Power: 12
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, 10:22
Default
  #2
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan 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
chegdan is offline   Reply With Quote

Old   October 21, 2013, 17:12
Default
  #3
New Member
 
Tommi P. Laiho
Join Date: Oct 2013
Posts: 18
Rep Power: 12
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 11 March 27, 2021 04:28
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51
G95 + CGNS Bruno Main CFD Forum 1 January 30, 2007 00:34


All times are GMT -4. The time now is 18:45.