|
[Sponsors] |
Inconsistent number of patches when distributing cells |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 11, 2017, 11:29 |
Inconsistent number of patches when distributing cells
|
#1 |
New Member
Roberto Ribeiro
Join Date: Jan 2017
Posts: 3
Rep Power: 9 |
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 |
|
April 18, 2017, 21:18 |
Some suggestion
|
#2 |
New Member
Miao Wang
Join Date: Apr 2017
Posts: 1
Rep Power: 0 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 91 | December 21, 2022 04:50 |
Weird AMI Courant Number | Vyssion | OpenFOAM Running, Solving & CFD | 3 | April 13, 2016 02:31 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 18:45 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 13:38 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |