View Issue Details

IDProjectCategoryView StatusLast Update
0004089OpenFOAMBugpublic2024-05-31 10:01
Reporterblocksgearing0d Assigned Tohenry  
PrioritylowSeveritycrashReproducibilityalways
Status closedResolutionsuspended 
PlatformGNU/LinuxOSUbuntuOS Version22.04
Product Versiondev 
Summary0004089: fieldValueDelta functionObject crashes during a mesh-to-mesh mapping
DescriptionThe fieldValueDelta functionObject (e.g., patchDifference) crashes a simulation with a mesh-to-mesh mapping.
Steps To ReproduceAdd the following functionObject to the engine2Valve2D tutorial:

#includeFunc patchDifference
(
    name=pressureDrop,
    patch1=inlet,
    patch2=outlet,
    p
)
Additional InformationTrace:

[4] #0 Foam::error::printStack(Foam::Ostream&) at ??:?
[4] #1 Foam::sigSegv::sigHandler(int) at ??:?
[4] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[4] #3 Foam::tmp<Foam::Field<Foam::Vector<double> > > Foam::functionObjects::fieldValues::surfaceFieldValue::filterField<Foam::Vector<double> >(Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) const at ??:?
[4] #4 Foam::functionObjects::fieldValues::surfaceFieldValue::write() at ??:?
[4] #5 Foam::functionObjects::fieldValues::fieldValueDelta::write() at ??:?
[4] #6 Foam::functionObjects::timeControl::write() at ??:?
[4] #7 Foam::functionObjectList::execute() at ??:?
[4] #8 Foam::Time::run() const at Time.C:?
[4] #9 ? in "/u/42/stashes1/unix/.local/opt/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/bin/foamRun"
[4] #10 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[4] #11 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[4] #12 ? in "/u/42/stashes1/unix/.local/opt/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/bin/foamRun"
[force:599670] *** Process received signal ***
[force:599670] Signal: Segmentation fault (11)
[force:599670] Signal code: (-6)
[force:599670] Failing at address: 0x2fda2a00092676
[force:599670] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f4f45020520]
[force:599670] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f4f450749fc]
[force:599670] [ 2] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f4f45020476]
[force:599670] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f4f45020520]
[force:599670] [ 4] /u/42/stashes1/unix/.local/opt/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/libfieldFunctionObjects.so(_ZNK4Foam15functionObjects11fieldValues17surfaceFieldValue11filterFieldINS_6VectorIdEEEENS_3tmpINS_5FieldIT_EEEERKNS_14GeometricFieldIS8_NS_13fvsPatchFieldENS_11surfaceMeshEEE+0x102)[0x7f4f2f518852]
[force:599670] [ 5] /u/42/stashes1/unix/.local/opt/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/libfieldFunctionObjects.so(_ZN4Foam15functionObjects11fieldValues17surfaceFieldValue5writeEv+0x420)[0x7f4f2f514460]
[force:599670] [ 6] /u/42/stashes1/unix/.local/opt/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/libfieldFunctionObjects.so(_ZN4Foam15functionObjects11fieldValues15fieldValueDelta5writeEv+0x43)[0x7f4f2f4d8083]
[force:599670] [ 7] /u/42/stashes1/unix/.local/opt/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam15functionObjects11timeControl5writeEv+0x34)[0x7f4f45ad8644]
[force:599670] [ 8] /u/42/stashes1/unix/.local/opt/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam18functionObjectList7executeEv+0x89)[0x7f4f45ac1f49]
[force:599670] [ 9] /u/42/stashes1/unix/.local/opt/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam4Time3runEv+0x87)[0x7f4f45adaab7]
[force:599670] [10] foamRun(+0x3ee7)[0x5600bce0bee7]
[force:599670] [11] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f4f45007d90]
[force:599670] [12] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f4f45007e40]
[force:599670] [13] foamRun(+0x4795)[0x5600bce0c795]
TagsNo tags attached.

Activities

henry

2024-05-31 10:01

manager   ~0013254

Further work on mesh-to-mesh mapping is pending further funding. This development is extremely complex and the original sponsor is not currently providing funding for further development so you can assume that lots of options in OpenFOAM do not currently support mesh-to-mesh mapping.

Issue History

Date Modified Username Field Change
2024-05-31 09:28 blocksgearing0d New Issue
2024-05-31 10:01 henry Assigned To => henry
2024-05-31 10:01 henry Status new => closed
2024-05-31 10:01 henry Resolution open => suspended
2024-05-31 10:01 henry Note Added: 0013254