blueCFD / Core

Coordination repository for the blueCFD-Core: Issue tracking, Wiki, project webpage and miscellaneous scripts
http://bluecfd.github.io/Core
53 stars 10 forks source link

Problem with blueCoreCFD -2017 for cyclicAMI boundary condition type causing error #266

Open Avengermaster opened 3 weeks ago

Avengermaster commented 3 weeks ago

I am trying to run cyclicAMI boundary in blueCoreCFD for the simulation of a mixer and created geometry and mesh of the mixer in salome. When implementing the cyclicAMI boundary condition and typing checkMesh in the terminal an error appears. The error came as follow-

--> FOAM FATAL ERROR:
Attempt to cast type patch to type cyclicAMI

    From function To& Foam::refCast(From&) [with To = const Foam::cyclicAMIPolyPatch; From = const Foam::polyPatch]
    in file X:/OpenFOAM-5.x/src/OpenFOAM/db/typeInfo/typeInfo.H at line 114.

FOAM aborting

Generating stack trace...

Backtrace:
        ZN10StackTraceC1Ev [0x705c1465+0x25]
                 module: C:\PROGRA~1\blueCFD-Core-2017\ThirdParty-5.x\platforms\mingw_w64GccDPInt32\lib\libstack_trace.dll
        ZN4Foam5error10printStackERNS_7OstreamE [0x10f1c88+0x218]
                 module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        ZN4Foam5error5abortEv [0xea5b5d+0x12d]
                 module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        ZN4Foam7refCastIKNS_18cyclicAMIPolyPatchEKNS_9polyPatchEEERT_RT0_ [0x63357cb2+0xc2]
                 module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libmeshTools.dll
        ZNK4Foam18cyclicAMIPolyPatch13neighbPatchIDEv [0x632c66a0+0x90]
                 module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libmeshTools.dll
        ZNK4Foam18cyclicAMIPolyPatch11neighbPatchEv [0x632c57c4+0x14]
                 module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libmeshTools.dll
        ZN4Foam18cyclicAMIPolyPatch12calcGeometryERNS_14PstreamBuffersE [0x632c9acb+0x2b]
                 module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libmeshTools.dll
        ZN4Foam16polyBoundaryMesh12calcGeometryEv [0x101021c+0x17c]
                 module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        ZN4Foam8polyMeshC2ERKNS_8IOobjectE [0x103850a+0xc0a]
                 module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        (No symbol) [0x426563]
                 module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\checkMesh.exe
        (No symbol) [0x4013f7]
                 module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\checkMesh.exe
        (No symbol) [0x40152b]
                 module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\checkMesh.exe
        BaseThreadInitThunk [0x7ff9b0a5257d+0x1d]
                 module: C:\Windows\System32\KERNEL32.DLL
        RtlUserThreadStart [0x7ff9b2b8af08+0x28]
                 module: C:\Windows\SYSTEM32\ntdll.dll

Please provide me a solution to this problem .

wyldckat commented 2 weeks ago

Quick answer: Without having access to the case or an example case, it is not possible to diagnose the issue solely based on this output.

Well, then again, I'm guessing that the file constant/polyMesh/boundary was not updated to match the boundary conditions? But since the error is with checkMesh, it doesn't make much sense...

At least having access to the file constant/polyMesh/boundary might give some ideas as what went wrong.

Beyond this, please keep in mind that blueCFD-Core 2020 and 2024 already exist after the release of 2017.