|
[Sponsors] |
[snappyHexMesh] New feature of redistributePar utility in OpenFOAM-v2012 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 29, 2021, 09:48 |
New feature of redistributePar utility in OpenFOAM-v2012
|
#1 |
New Member
cyou
Join Date: Nov 2011
Posts: 15
Rep Power: 15 |
I encountered a fetal error when running redistributePar before chtMultiRegionFoam.
Code:
Selecting decompositionMethod simple [1] (region BaseBoard) From time 0 have objects:4(rho cellToRegion p T) [3] [0] [0] [1] [1] [1] --> FOAM FATAL ERROR: (openfoam-2012[2] [2] [2] --> FOAM FATAL ERROR: (openfoam- [3] [3] --> FOAM FATAL ERROR: (openfoam-2012) [3] Cannot find a patch which is neither of type empty nor coupled in patches 67 ( . . . There has to be at least one such patch for distribution to work [1] [1] From Foam::label Foam::fvMeshDistribute::findNonEmptyPatch() const [1] in file fvMeshDistribute/fvMeshDistribute.C at line 353. [1] FOAM parallel run aborting [1] Code:
label nonEmptyPatchi = -1; forAllReverse(patches, patchi) { const polyPatch& pp = patches[patchi]; if ( !isA<emptyPolyPatch>(pp) && !isCoupledPatch(patchi) && !isA<mappedPatchBase>(pp) ) { nonEmptyPatchi = patchi; break; } } if (nonEmptyPatchi == -1) { FatalErrorInFunction << "Cannot find a patch which is neither of type empty nor" << " coupled in patches " << patches.names() << endl << "There has to be at least one such patch for" << " distribution to work" << abort(FatalError); } I want to use redistributePar to assign solid region to only one processor. Any suggestions for my problem? |
|
July 12, 2021, 15:34 |
|
#2 |
New Member
Nick Holt
Join Date: Jun 2015
Posts: 3
Rep Power: 11 |
I'm also having this problem. It is also preventing me from running CHT cases with an isolated and smaller fluid region, since the smaller fluid region is only distributed onto one processor and the 'pRefCell' SIMPLE quantity gives an error for processors which do not contain any part of that mesh.
Would it be best to change the patch types to 'patch' before redistributing and then changing them back to mapped afterwards? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 06:40 |
OpenFOAM 4.0 sample utility | Bazinga | OpenFOAM Running, Solving & CFD | 0 | August 30, 2016 11:36 |
[Other] question concerning the OpenFOAM utility: plot3dToFoam | Chatur Ramalingum | OpenFOAM Meshing & Mesh Conversion | 7 | June 20, 2013 17:52 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |