|
[Sponsors] |
May 26, 2019, 04:32 |
Keyword direction is undefined in dictionary
|
#1 |
New Member
Outside US and Canada
Join Date: May 2019
Posts: 2
Rep Power: 0 |
My Problem
When I use the command simpleFoam, I get the following error ================================================== ============== Code:
No MRF models present No finite volume options present Starting time loop streamLine streamlines: --> FOAM FATAL IO ERROR: keyword direction is undefined in dictionary "/home/sid/CFD/lily/postrun/system/streamlines" file: /home/sid/CFD/lily/postrun/system/streamlines from line 13 to line 20. From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const in file db/dictionary/dictionary.C at line 566. What I tried I tried to create Code:
direction (0 0 1); for reference, I'm simulating a cylinder.stl file as shown in https://youtu.be/oc4V79F78AQ?t=734 And I get the error at 12:16 |
|
October 24, 2019, 10:52 |
Edit streamlines.cfg
|
#2 |
New Member
TN
Join Date: Oct 2019
Posts: 1
Rep Power: 0 |
streamlines.cfg is located in:
/opt/openfoam6/etc/caseDicts/postProcessing/visualization/ edit streamlines.cfg to look like this: /*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*---------------------------------------------------------------------------*/ type streamLine; libs ("libfieldFunctionObjects.so"); executeControl writeTime; writeControl writeTime; setFormat vtk; direction forward; lifeTime 10000; nSubCycle 5; cloudName particleTracks; seedSampleSet { type lineUniform; axis x; start $start; end $end; nPoints $nLines; } // ************************************************** *********************** // Why does this work? Not sure. I happened to have openfoam installed on multiple computers and this tutorial worked on one but not the other. When I traced the errors back, I noted streamlines.cfg was missing lines for the computer that didn't work. Perhaps these were put in place when I ran other simulation tutorials in the user manual. |
|
Tags |
fatal error, fatal io error, openfoam, simplefoam, simplefoam not converged |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
keyword PISO is undefined in dictionary, Please help. | TommiPLaiho | OpenFOAM Pre-Processing | 2 | May 26, 2019 04:50 |
problem with turbulence models after compilation? | lfgmarc | OpenFOAM Programming & Development | 19 | November 20, 2013 01:50 |
keyword potentialFlow is undefined in dictionary, please help. | TommiPLaiho | OpenFOAM Pre-Processing | 2 | October 21, 2013 18:12 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |
Error with Wmake | skabilan | OpenFOAM Installation | 3 | July 28, 2009 01:35 |