Inconsistent number of patches when distributing cells
Hey,
I'm trying to move cells in run-time by constructing a new decomposition using partmetis and then using fvMeshDistribute to distribute cells ( just like redistributeParMesh, but triggered in run-time). The cell moving is based on a certain criteria and at some point I get a fatal error: [3] --> FOAM FATAL ERROR: [3] Incorrect number of patch type specifications given Number of patches in mesh = 4 number of patch type specifications = 5 [3] [3] From function GeometricField<Type, PatchField, GeoMesh>::GeometricBoundaryField::GeometricBoundar yField(const BoundaryMesh&, const Field<Type>&, const wordList&) [3] in file /home/rr/work/openfoam/extend-3.1/builds/dev/foam-extend-3.1/src/foam/lnInclude/GeometricBoundaryField.C at line 98. This is running damBreakWithObstacle and OF extend-3.2 (also tested with 3.1) I know the error output seems suggestive but not to me :( or at least not enough to solve the problem. It seems however that there is a lower limit of cell which OF assigns or not to a patch, i.e if the patch cells are below a threshold, the patch is merged and that check above fails. Is there such thing in OF? Any clarifications of suggestions are welcomed, are kinda stuck here, thanks |
Some suggestion
I suggest looking into the following work, damBreakWithObstacle in parallel with load re-balancing works well on OF-2.3.1.
https://github.com/tgvoskuilen/meshBalancing But I've got the same error with yours, in another case using snappyHexMesh for mesh generation and then dynamically refine and load re-balancing with pimpleDyMFoam. Have no idea what to do:( |
All times are GMT -4. The time now is 00:19. |