CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

turbineSiting tutorial - error

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By rohitpurdue

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2013, 12:46
Default turbineSiting tutorial - error
  #1
New Member
 
L
Join Date: Mar 2011
Posts: 6
Rep Power: 15
Luca L is on a distinguished road
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
Luca L is offline   Reply With Quote

Old   January 28, 2013, 17:45
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Luca,

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

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 29, 2013, 05:19
Default
  #3
New Member
 
L
Join Date: Mar 2011
Posts: 6
Rep Power: 15
Luca L is on a distinguished road
Hi Bruno,

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

Regards,
Luca
Luca L is offline   Reply With Quote

Old   January 29, 2013, 05:29
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   January 29, 2013, 05:37
Default
  #5
New Member
 
L
Join Date: Mar 2011
Posts: 6
Rep Power: 15
Luca L is on a distinguished road
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
Luca L is offline   Reply With Quote

Old   January 29, 2013, 05:39
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   January 29, 2013, 06:21
Default
  #7
New Member
 
L
Join Date: Mar 2011
Posts: 6
Rep Power: 15
Luca L is on a distinguished road
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
Luca L is offline   Reply With Quote

Old   January 29, 2013, 06:42
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   January 29, 2013, 07:45
Default
  #9
New Member
 
L
Join Date: Mar 2011
Posts: 6
Rep Power: 15
Luca L is on a distinguished road
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
Luca L is offline   Reply With Quote

Old   April 17, 2014, 03:18
Default Similar error as above
  #10
New Member
 
IN
Join Date: Mar 2014
Posts: 9
Rep Power: 12
rohitpurdue is on a distinguished road
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
rohitpurdue is offline   Reply With Quote

Old   April 19, 2014, 09:29
Default
  #11
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Rohit,

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
__________________
wyldckat is offline   Reply With Quote

Old   April 20, 2014, 00:27
Smile
  #12
New Member
 
IN
Join Date: Mar 2014
Posts: 9
Rep Power: 12
rohitpurdue is on a distinguished road
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
wyldckat likes this.
rohitpurdue is offline   Reply With Quote

Reply

Tags
openfoam 2.1.x, turbine siting


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 08:24
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31
user defined function cfduser CFX 0 April 29, 2006 11:58


All times are GMT -4. The time now is 13:56.