View Issue Details

IDProjectCategoryView StatusLast Update
0001876OpenFOAMBugpublic2024-07-11 09:13
ReporterDanielJ Assigned Towill  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSUbuntuOS Version14.10
Fixed in Version12 
Summary0001876: Boundary field with jumpAMI not initialized properly
DescriptionCase with uniformJumpAMI reports following error:

"
--> FOAM FATAL 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.

Activities

DanielJ

2015-10-26 10:11

reporter  

test.zip (43,256 bytes)

will

2024-07-11 09:13

manager   ~0013313

This was resolved back in February in dev and v12 by the following commits:

https://github.com/OpenFOAM/OpenFOAM-dev/commit/16b8bf5eae0a5af7aea05242368b9a7902e72843
https://github.com/OpenFOAM/OpenFOAM-12/commit/16b8bf5eae0a5af7aea05242368b9a7902e72843

Issue History

Date Modified Username Field Change
2015-10-26 10:11 DanielJ New Issue
2015-10-26 10:11 DanielJ File Added: test.zip
2024-07-11 09:13 will Assigned To => will
2024-07-11 09:13 will Status new => resolved
2024-07-11 09:13 will Resolution open => fixed
2024-07-11 09:13 will Fixed in Version => 12
2024-07-11 09:13 will Note Added: 0013313