turbineSiting tutorial - error
Hi All,
I have run the turbineSiting tutorial but I've got the below error. Any help on this please? Thanks. Luca Selecting source model type actuationDiskSource Source: disk1 - selecting cells using cellSet actuationDisk1 --> FOAM FATAL ERROR: Cannot find file "" in directory "polyMesh/sets" 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 140. FOAM exiting |
Greetings Luca,
Which OpenFOAM version do you have? If you have a version older than 2.1.1, then upgrade! Best regards, Bruno |
Hi Bruno,
Thanks for your reply, I've got the latest release. I don't understand why I get this error though. Regards, Luca |
Hi Luca,
Are you using a copy of the tutorial? If you are (which is the correct way to use it), then confirm if:
Bruno |
Yes I confirm I'm using a copy of the tutorial and all of the files were correctly copied, the path to the test case folder does not have any space in it and I did the ./Allrun that gave no errors.
Luca |
Hi Luca,
Check the "log.*" files by the order indicated when you ran Allrun. Which one is the first to give an error? Best regards, Bruno |
Bruno,
I managed to run the tutorial with one processor only by doing 1. blockMesh 2. snappyHexmesh -overwrite 3. topoSet 4. simpleFoam when I use ./Allrun the first log file that has errors is log.decomposePar as following: --> FOAM FATAL IO ERROR: size 120246 is not equal to the given value of 18000 file: /home/luca/OpenFOAM/luca-2.1.x/run/tutorials/incompressible/simpleFoam/turbineSiting/0/ccz from line 18 to line 64. From function Field<Type>::Field(const word& keyword, const dictionary&, const label) in file /usr/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/Field.C at line 236. FOAM exiting |
Hi Luca,
From what I can understand, you can try to make a new copy of the original tutorial and try again, or run Allclean for cleaning up the tutorial. The reason why "cc*" files appeared is because the "0" folder was already filled with something from a previous run, possibly because you erased manually only some files and folders. If you run: Code:
./Allclean Best regards, Bruno |
Bruno,
I have downloaded the tutorial from here, the content of some files is quite different from the one I used: https://github.com/OpenFOAM/OpenFOAM.../turbineSiting and have re-run it but still I get errors. I guess I should recompile all the bits that have been updated in this version of OpenFOAM 2.1.x I'll let you know if it works. Thanks for your help! Best regards, Luca |
Similar error as above
Hi Bruno,
I have created a cellSet and after running the command topoSet a sets directory is being created with the cellSet name in the constant/polyMesh directory but while running the simulation I am getting --> FOAM FATAL ERROR: Cannot find file "" in directory "polyMesh/sets" in times 0 down to constant I am confused as to what is the cause of this error? I am using OF.2.2.x Thanks, Rohit |
Greetings Rohit,
:eek: You're asking quite a feat from me. I have no idea as to how you got that error message, since you didn't indicate what was the exact command sequence and file contents used, namely for creating the sets and for getting that error message :( Please provide more information! Best regards, Bruno |
Hi Bruno,
I am sorry for the insufficient information and I was finally able to figure out the source of the error. I was able to solve it by running the toposet in parallel which I was not doing earlier and the sets folders were not appearing in any processor folders. Thanks, Best Regards, Rohit |
All times are GMT -4. The time now is 14:51. |