Wednesday, 15 January 2014

openFoam errors and fixes.

on $ blockMesh


--> FOAM FATAL IO ERROR:
"ill defined primitiveEntry starting at keyword 'blocks' on line 55 and ending at line 125"

a result of using,


   hex(0 1 2 3 4 5 6 7) (10 10 1) simpleGrading (10 1 1)

Changing to 

 hex (0 1 2 3 4 5 6 7) (10 10 1) simpleGrading (10 1 1)

fixed things.  Watch those spaces.

--------------------------------

$ blockMesh
$ chtMultiRegionSimpleFoam


--> FOAM FATAL ERROR:
Cannot find file "points" in directory "air/polyMesh" in times 0 down to constant

    From function Time::findInstance(const fileName&, const word&, const IOobject::readOption, const word&)
    in file db/Time/findInstance.C at line 188.

FOAM exiting

This occurs in the tutorial also.  Do,

$ blockMesh
$ topoSet
$ splitMeshRegions -cellZones -overwrite
$ chtMultiRegionSimpleFoam


-------------------------------

No comments:

Post a Comment