View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003316 | OpenFOAM | Bug | public | 2019-07-24 21:26 | 2019-08-05 11:33 |
Reporter | jheylmun | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Ubunutu | OS Version | 19.04 |
Product Version | dev | ||||
Summary | 0003316: dynamicRefineFvMesh fails on unrefine | ||||
Description | When the unrefine function is called an index goes out of bounds | ||||
Steps To Reproduce | ./Allrun with tutorials/multiphase/interFoam/laminar/damBreakWithObsticle | ||||
Additional Information | Selected 51 cells for refinement out of 110733. Refined from 110733 to 111090 cells. Selected 5 split points out of a possible 9710. Unrefined from 111090 to 111055 cells. --> FOAM FATAL ERROR: index 111055 out of range 0 ... 111054 From function void Foam::UList<T>::checkIndex(Foam::label) const [with T = double; Foam::label = int] in file /home/jheylmun/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/UListI.H at line 106. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ~/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/printStack.C:218 #1 Foam::error::abort() at ~/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/error.C:249 #2 Foam::Ostream& Foam::operator<< <Foam::error>(Foam::Ostream&, Foam::errorManip<Foam::error>) in "/home/jheylmun/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Debug/bin/interFoam" #3 Foam::UList<double>::checkIndex(int) const in "/home/jheylmun/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Debug/bin/interFoam" #4 Foam::UList<double>::operator[](int) const in "/home/jheylmun/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Debug/bin/interFoam" #5 Foam::Field<double>::doMap(Foam::UList<double> const&, Foam::List<Foam::List<int> > const&, Foam::List<Foam::List<double> > const&) at ~/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C:327 (discriminator 2) #6 Foam::Field<double>::map(Foam::UList<double> const&, Foam::List<Foam::List<int> > const&, Foam::List<Foam::List<double> > const&) at ~/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/Field.C:355 #7 void Foam::generalFieldMapper::map<double>(Foam::Field<double>&, Foam::Field<double> const&) const at ~/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/fields/Fields/fieldMappers/generalFieldMapper/generalFieldMapperTemplates.C:59 #8 Foam::generalFieldMapper::operator()(Foam::Field<double>&, Foam::Field<double> const&) const at ~/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/fields/Fields/fieldMappers/generalFieldMapper/generalFieldMapper.C:69 #9 Foam::MapInternalField<double, Foam::fvMeshMapper, Foam::volMesh>::operator()(Foam::Field<double>&, Foam::fvMeshMapper const&) const at ~/OpenFOAM/OpenFOAM-dev/src/finiteVolume/lnInclude/MapFvVolField.H:73 #10 void Foam::MapGeometricFields<double, Foam::fvPatchField, Foam::fvMeshMapper, Foam::volMesh>(Foam::fvMeshMapper const&) at ~/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude/MapGeometricFields.H:135 (discriminator 4) #11 Foam::fvMesh::mapFields(Foam::mapPolyMesh const&) at ~/OpenFOAM/OpenFOAM-dev/src/finiteVolume/fvMesh/fvMesh.C:595 #12 Foam::fvMesh::updateMesh(Foam::mapPolyMesh const&) at ~/OpenFOAM/OpenFOAM-dev/src/finiteVolume/fvMesh/fvMesh.C:844 #13 Foam::dynamicRefineFvMesh::unrefine(Foam::List<int> const&) at ~/OpenFOAM/OpenFOAM-dev/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C:524 #14 Foam::dynamicRefineFvMesh::update() at ~/OpenFOAM/OpenFOAM-dev/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C:1345 (discriminator 1) #15 ? in "/home/jheylmun/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Debug/bin/interFoam" #16 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #17 ? in "/home/jheylmun/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Debug/bin/interFoam" Aborted (core dumped) | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-07-24 21:26 | jheylmun | New Issue | |
2019-07-26 11:41 | henry | Assigned To | => henry |
2019-07-26 11:41 | henry | Status | new => resolved |
2019-07-26 11:41 | henry | Resolution | open => fixed |
2019-07-26 11:41 | henry | Fixed in Version | => 7 |
2019-07-26 11:41 | henry | Note Added: 0010650 | |
2019-08-05 11:33 | henry | Relationship added | related to 0003323 |