CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

decomposepar error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2013, 10:58
Red face decomposepar error
  #1
New Member
 
Auggie
Join Date: Oct 2012
Posts: 5
Rep Power: 14
Yanming Ding is on a distinguished road
Hello Foamers,

Now I am trying to do decomposepar .

The order is:
blockmesh
toposet
createpatch -overwrite
decomposepar

after this, the error appears.

--> FOAM FATAL IO ERROR:
size 3764160 is not equal to the given value of 216000

file: /home/...case.../0/ccz from line 18 to line 3811162.

From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
in file /home/OpenFOAM/OpenFOAM2.1.1/src/OpenFOAM/lnInclude/Field.C at line 236.

FOAM exiting


I didn't meet the error before. but if I do this order:
blockmesh
toposet
createpatch -overwrite
snappyhexmesh -overwrite
decomposepar
Then it is OK.

Help!

Thanks.
Yanming Ding is offline   Reply With Quote

Old   April 16, 2013, 13:05
Default
  #2
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 17
fredo490 is on a distinguished road
This problem often happen when your variables files (in the "0" folder for example) come from another mesh.

Then the mesh has N cells and your variables files have Y cells. The decomposition cannot find the corresponding cells and crash


To solve this problem, look at your "0" file and find the problematic file (you might also want to check the hidden files).
fredo490 is offline   Reply With Quote

Old   April 16, 2013, 13:08
Default
  #3
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 17
fredo490 is on a distinguished road
The answer is in your post actually.

The "0/ccz" file has more cells than your actual cell number declared in the mesh.
fredo490 is offline   Reply With Quote

Old   April 17, 2013, 03:38
Default Thank you for your help
  #4
New Member
 
Auggie
Join Date: Oct 2012
Posts: 5
Rep Power: 14
Yanming Ding is on a distinguished road
Hi,Frédéric

I think it is just the problem ,I'm trying ...

thank you for your help!
Yanming Ding is offline   Reply With Quote

Reply

Tags
decomposepar


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
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43
[OpenFOAM] Saving ParaFoam views and case sail ParaView 9 November 25, 2011 16:46
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51
user defined function cfduser CFX 0 April 29, 2006 11:58


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