CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   turbineSiting tutorial - error (http://www.cfd-online.com/Forums/openfoam-pre-processing/112417-turbinesiting-tutorial-error.html)

Luca L January 28, 2013 12:46

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

wyldckat January 28, 2013 17:45

Greetings Luca,

Which OpenFOAM version do you have? If you have a version older than 2.1.1, then upgrade!

Best regards,
Bruno

Luca L January 29, 2013 05:19

Hi Bruno,

Thanks for your reply, I've got the latest release. I don't understand why I get this error though.

Regards,
Luca

wyldckat January 29, 2013 05:29

Hi Luca,

Are you using a copy of the tutorial? If you are (which is the correct way to use it), then confirm if:
  1. All of the files were correctly copied.
  2. The path to the case folder does not have any spaces in it. For example, this is a bad path:
    Code:

    /home/luca/Desktop/Testing turbineSiting
  3. Did you run Allrun? Like this:
    Code:

    ./Allrun
Best regards,
Bruno

Luca L January 29, 2013 05:37

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

wyldckat January 29, 2013 05:39

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

Luca L January 29, 2013 06:21

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

wyldckat January 29, 2013 06:42

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
./Allrun

everything should work as intended.

Best regards,
Bruno

Luca L January 29, 2013 07:45

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

rohitpurdue April 17, 2014 03:18

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

wyldckat April 19, 2014 09:29

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

rohitpurdue April 20, 2014 00:27

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 18:12.