|
[Sponsors] |
April 9, 2012, 13:08 |
sampledict error "keyword surfaces is undefined in dictionary"
|
#1 |
Member
Join Date: May 2010
Posts: 74
Rep Power: 16 |
Hello everyone,
I wanna compare a 2D flow's velocity profiles at different locations, but when I run sample command, there somethings wrong: // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 --> FOAM FATAL IO ERROR: keyword surfaces is undefined in dictionary "/Users/of/OpenFOAM/fpapcocp/system/sampleDict" file: /Users/of/OpenFOAM/fpapcocp/system/sampleDict from line 20 to line 50. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 395. FOAM exiting the sampleDict is followed: setFormat raw; interpolationScheme cellPoint; fields ( p U ); sets ( lineX1 { type uniform; axis distance; start (10 0 0); end (10 0.5 0); nPoints 100; } lineX2 { type uniform; axis distance; start (5 0 0); end (5 0.5 0); nPoints 100; } ); I don't know what's wrong,why there is information about surfaces? is it necesury to add surface? and how to do it, since I just need the lines infos? thank you very much! Wei Last edited by hewei; April 9, 2012 at 14:29. |
|
April 13, 2012, 11:36 |
|
#2 |
New Member
Join Date: Nov 2011
Posts: 13
Rep Power: 15 |
Hi, just add the following to the end:
surfaces (); |
|
April 13, 2012, 11:36 |
|
#3 |
New Member
Join Date: Nov 2011
Posts: 13
Rep Power: 15 |
Hi, just add the following to the end:
surfaces (); |
|
April 15, 2012, 05:50 |
|
#4 |
Member
Join Date: May 2010
Posts: 74
Rep Power: 16 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sample issues | MikePo | OpenFOAM Post-Processing | 1 | February 7, 2010 20:20 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 03:32 |
Statically Compiling OpenFOAM Issues | herzfeldd | OpenFOAM Installation | 21 | January 6, 2009 10:38 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 05:41 |
Running Star From Command Line in HPC | A.S. | Siemens | 4 | May 19, 2005 09:28 |