View Issue Details

IDProjectCategoryView StatusLast Update
0001876OpenFOAM[All Projects] Bugpublic2015-10-26 22:25
ReporterDanielJAssigned To 
Status newResolutionopen 
PlatformGNU/LinuxOSUbuntuOS Version14.10
Product Version 
Fixed in Version 
Summary0001876: Boundary field with jumpAMI not initialized properly
DescriptionCase with uniformJumpAMI reports following error:

hanging pointer of type N4Foam12fvPatchFieldIdEE at index 0 (size 3), cannot dereference

    From function PtrList::operator[] const
    in file /opt/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude/PtrListI.H at line 160.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam::fixedJumpAMIFvPatchField<double>::jump() const at ??:?
#3 Foam::jumpCyclicAMIFvPatchField<double>::patchNeighbourField() const at ??:?
#4 Foam::coupledFvPatchField<double>::evaluate(Foam::UPstream::commsTypes) at ??:?

I attach test case illustrating this problem.
Steps To ReproduceThis error only occurs when the order of boundary fields in the field file is different from the patch order in the 'boundary' file.
It can be illustrated with the attached case by moving pressure 'outlet' field before 'boundaries' field.
TagsNo tags attached.



2015-10-26 10:11

reporter (43,256 bytes)

Issue History

Date Modified Username Field Change
2015-10-26 10:11 DanielJ New Issue
2015-10-26 10:11 DanielJ File Added: