CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   decomposepar error (https://www.cfd-online.com/Forums/openfoam-solving/116277-decomposepar-error.html)

Yanming Ding April 16, 2013 09:58

decomposepar error
 
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.

fredo490 April 16, 2013 12:05

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 April 16, 2013 12:08

The answer is in your post actually.

The "0/ccz" file has more cells than your actual cell number declared in the mesh.

Yanming Ding April 17, 2013 02:38

Thank you for your help
 
Hi,Frédéric

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

thank you for your help!


All times are GMT -4. The time now is 07:31.