Firstly, I used SnappyHexmeshDict to refine mesh and remove a small cylinder. And then I used toposet to define some faces. Allrun is:
# Source tutorial run functions
# Set application name
rm -rf constant/polyMesh/*.gz
rm -rf constant/polyMesh/sets
rm -rf 0/polyMesh
rm -rf 0/*.gz
rm -f log.blockMesh
rm -f log.snappyHexMesh
runApplication snappyHexMesh -overwrite
rm -f log.topoSet
rm -f log.createPatch
runApplication createPatch -overwrite
when I decompose, the errors occured as follows
Number of cells = 46723
Number of faces shared with processor 27 = 657
Number of faces shared with processor 29 = 1870
Number of faces shared with processor 30 = 1855
Number of processor patches = 3
Number of processor faces = 4382
Number of boundary faces = 4368
Number of processor faces = 86026
Max number of cells = 46723 (0.0131109% above average 46716.9)
Max number of processor patches = 6 (11.6279% above average 5.375)
Max number of faces between processors = 5875 (9.26929% above average 5376.62)
Time = 0
--> FOAM FATAL IO ERROR:
size 75000 is not equal to the given value of 67500
file: /home/ku47897/OpenFOAM/chjwang/fire/two_fuel/fireswirl/temp2/0/ccz::boundaryField::sides from line 1497479 to line 1497480.
From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
in file /home/ku47897/OpenFOAM/OpenFOAM-2.1.y/src/OpenFOAM/lnInclude/Field.C at line 236.
would you like to tell me what is the problem? How to recitfy it?
Attached are the files including blockmeshdict, toposetdict, createPatchdict, snappyhexdict, Allrun.
I might be wrong but I believe is this due to the presence of an old mesh with a different number of cells. Try to delete the old mesh (not the input files as blockMeshDict etc.; make a backup first!!!) and start your meshing script again.
Hi, Cutter, Thank you.
But I have done this many time. Cleaned all files every time and started again.
This problem is still there.
Greetings to all!
@ yiwang25: Run this command:
|All times are GMT -4. The time now is 04:48.|