|
[Sponsors] |
May 2, 2019, 08:16 |
Problem in topoSetDict (Unique Error)
|
#1 |
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 7 |
Hello,
My version of OpenFoam is 4.1. I have searched alot on this forum and almost everywhere else. No one even encountered this error. Probably, I am doing a very stupid mistake. I am using topoSetDict to make a faceSet from a patch, and then I want to make cellSet using that faceSet. My topoSetDict file is given below: Code:
actions ( { name hot1; type faceSet; action new; source patchToFace; sourceInfo { name "hotFace"; } } // Select based on faceSet { name hotcell; type cellSet; action new; source faceToCell; sourceInfo { set hot1; // Name of faceSet //option neighbour; // cell with neighbour in faceSet //option owner; // ,, owner option any; // cell with any face in faceSet //option all; // cell with all faces in faceSet } } the log file shows that it has created faceSet and cellSet, Code:
Create time Create polyMesh for time = 0 Reading topoSetDict Time = 0 mesh not changed. Created faceSet hot1 Applying source patchToFace Adding all faces of patch hotFace ... Found matching patch hotFace with 253 faces. faceSet hot1 now size 253 Created cellSet hotcell Applying source faceToCell Adding cells according to faceSet hot1 ... cellSet hotcell now size 253 End but I am getting the following error: Code:
--> FOAM FATAL ERROR: Illegal content 8200 of set:hotcell of type cellSet Value should be between 0 and 6396 From function void Foam::topoSet::check(Foam::label) in file sets/topoSets/topoSet.C at line 189. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::topoSet::check(int) at ??:? #3 Foam::cellSet::cellSet(Foam::polyMesh const&, Foam::word const&, Foam::IOobject::readOption, Foam::IOobject::writeOption) at ??:? #4 Foam::fv::cellSetOption::setCellSet() at ??:? #5 Foam::fv::cellSetOption::cellSetOption(Foam::word const&, Foam::word const&, Foam::dictionary const&, Foam::fvMesh const&) at ??:? #6 Foam::fv::option::adddictionaryConstructorToTable<Foam::fv::SemiImplicitSource<double> >::New(Foam::word const&, Foam::word const&, Foam::dictionary const&, Foam::fvMesh const&) at ??:? #7 Foam::fv::option::New(Foam::word const&, Foam::dictionary const&, Foam::fvMesh const&) at ??:? #8 Foam::fv::optionList::reset(Foam::dictionary const&) at ??:? #9 Foam::fv::optionList::optionList(Foam::fvMesh const&, Foam::dictionary const&) at ??:? #10 Foam::fv::options::options(Foam::fvMesh const&) at ??:? #11 ? at ??:? #12 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #13 ? at ??:? Aborted (core dumped) I don't know where I did mistake. I would be highly thankful if someone can help me out in this. Thank you |
|
May 3, 2019, 16:35 |
|
#2 |
Senior Member
|
Hi,
It seems that the problem is in the description of fvOptions. Could you post content of the corresponding file? |
|
May 3, 2019, 17:38 |
|
#3 |
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 7 |
Thank you so much for your reply. I am attaching my fvOptions file below for your reference.
Code:
heatSource { type scalarSemiImplicitSource; active true; scalarSemiImplicitSourceCoeffs { selectionMode cellSet; // all, cellSet, cellZone, points //cellZone hot; cellSet hotcell; volumeMode absolute; // absolute; injectionRateSuSp { h (2600 0); } } } |
|
May 4, 2019, 03:34 |
|
#4 |
Senior Member
|
OK. Did you modify mesh and did not recreate cell set files?
|
|
Tags |
fvoptions, openfoam, toposet |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
long error when using make-install SU2_AD. | tomp1993 | SU2 Installation | 3 | March 17, 2018 07:25 |
error compiling modified applications | yvyan | OpenFOAM Programming & Development | 21 | March 1, 2016 05:53 |
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x | Saxwax | OpenFOAM Installation | 25 | November 29, 2013 06:34 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |