Open gangw0632 opened 3 years ago
Hi, not sure as I have not tested it with that OpenFOAM version - in fact I have only tested it using OpenFOAM Foundation's releases. What's the error message that you get? Andrea
Hi! Thanks for your reply! The errors are like this, I'm running on a supercomputer in China:
[6] #0 Foam::error::printStack(Foam::Ostream&)[126] #0 Foam::error::printStack(Foam::Ostream&)[135] #0 Foam::error::printStack(Foam::Ostream&)[13] #0 Foam::error::printStack(Foam::Ostream&)[4] #0 Fo am::error::printStack(Foam::Ostream&)[5] #0 Foam::error::printStack(Foam::Ostream&)[55] #0 Foam::error::printStack(Foam::Ostream&)[182] #0 Foam::error::printStack(Foam::Ostream&)[103] #0 Foam::error: :printStack(Foam::Ostream&)[20] #0 Foam::error::printStack(Foam::Ostream&)[63] #0 Foam::error::printStack(Foam::Ostream&)[189] #0 Foam::error::printStack(Foam::Ostream&)[119] #0 Foam::error::printSta ck(Foam::Ostream&)[69] #0 Foam::error::printStack(Foam::Ostream&)[132] #0 Foam::error::printStack(Foam::Ostream&)[191] #0 Foam::error::printStack(Foam::Ostream&)[70] #0 [124] #0 Foam::error::printSt ack(Foam::Ostream&)[149] #0 Foam::error::printStack(Foam::Ostream&)[71] #0 Foam::error::printStack(Foam::Ostream&)[125] #0 Foam::error::printStack(Foam::Ostream&)[157] #0 Foam::error::printStack(Foam ::Ostream&)[21] #0 Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&)[140] #0 Foam::error::printStack(Foam::Ostream&)[158] #0 Foam::error::printStack(Foam::Ostream&)[68] #0 Foam::error::printStack(Foam::Ostream&)[141] #0 Foam::error::printStack(Foam::Ostream&)[165] #0 Foam::error::printStack(Foam::Ostream&)[52] #0 [188] #0 Foam::error::printStack(Foam::Ostream&)Foam:: error::printStack(Foam::Ostream&)[60] #0 Foam::error::printStack(Foam::Ostream&)[172] #0 Foam::error::printStack(Foam::Ostream&)#0 Foam::error::printStack(Foam::Ostream&)[98] #0 Foam::error::printSta ck(Foam::Ostream&)[100] #0 Foam::error::printStack(Foam::Ostream&)[116] #0 Foam::error::printStack(Foam::Ostream&)[108] #0 Foam::error::printStack(Foam::Ostream&)[11] #0 Foam::error::printStack(Foam: :Ostream&)[28] #0 Foam::error::printStack(Foam::Ostream&)[156] #0 Foam::error::printStack(Foam::Ostream&)[90] #0 Foam::error::printStack(Foam::Ostream&)[99] #0 Foam::error::printStack(Foam::Ostream&) [31] #0 Foam::error::printStack(Foam::Ostream&)[162] #0 Foam::error::printStack(Foam::Ostream&)[107] #0 [79] #0 Foam::error::printStack(Foam::Ostream&)[180] #0 Foam::error::printStack(Foam::Ostream& )[35] #0 Foam::error::printStack(Foam::Ostream&)[163] #0 Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&)[84] #0 Foam::error::printStack(Foam::Ostream&)[139] #0 Foam::er ror::printStack(Foam::Ostream&)[164] #0 Foam::error::printStack(Foam::Ostream&)[36] #0 Foam::error::printStack(Foam::Ostream&)[87] #0 [37] #0 Foam::error::printStack(Foam::Ostream&)Foam::error::print Stack(Foam::Ostream&)[c21b03:29069] Process received signal
52 [38] #0 [92] #0 [c21b03:29069] Signal: Segmentation fault (11)
53 [c21b03:29069] Signal code: Address not mapped (1)
54 [c21b03:29069] Failing at address: 0xf1f6608
55 [17] [39] #0 Foam::error::printStack(Foam::Ostream&)[95] #0 #0 Foam::error::printStack(Foam::Ostream&)[44] #0 Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&)[148] #0 F oam::error::printStack(Foam::Ostream&)[47] #0 Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&)[27] #0 Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam:: Ostream&)[26] #0 Foam::error::printStack(Foam::Ostream&)[43] #0 Foam::error::printStack(Foam::Ostream&)[34] #0 Foam::error::printStack(Foam::Ostream&)[19] #0 Foam::error::printStack(Foam::Ostream&)[1 71] #0 Foam::error::printStack(Foam::Ostream&)[91] #0 Foam::error::printStack(Foam::Ostream&)[18] #0 Foam::error::printStack(Foam::Ostream&)[82] #0 [83] #0 Foam::error::printStack(Foam::Ostream&)Foa m::error::printStack(Foam::Ostream&)[25] #0 Foam::error::printStack(Foam::Ostream&)[9] #0 Foam::error::printStack(Foam::Ostream&)[2] #0 Foam::error::printStack(Foam::Ostream&)[3] #0 Foam::error::prin tStack(Foam::Ostream&)[10] #0 Foam::error::printStack(Foam::Ostream&)[75] #0 Foam::error::printStack(Foam::Ostream&)[179] #0 Foam::error::printStack(Foam::Ostream&)[115] #0 Foam::error::printStack(Fo am::Ostream&)[187] #0 Foam::error::printStack(Foam::Ostream&)[186] #0 Foam::error::printStack(Foam::Ostream&)[42] #0 [c21b03:29069] [ 0] /lib64/libc.so.6(+0x35670) [0x2b9b55c03670]
56 [c21b03:29069] [ 1] /lib64/libc.so.6(libc_fork+0x128) [0x2b9b55c8b578]
57 [c21b03:29069] [ 2] /lib64/libc.so.6(_IO_proc_open+0xbc) [0x2b9b55c3af9c]
58 [c21b03:29069] [ 3] /lib64/libc.so.6(popen+0x5c) [0x2b9b55c3b22c]
59 [c21b03:29069] [ 4] /home/wanggang/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5pOpenERKNS_6stringEi+0x38) [0x2b9b54d6b378]
60 [c21b03:29069] [ 5] /home/wanggang/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam22printSourceFileAndLineERNS_7OstreamERKNS_8fileNameEP7Dl_infoPv+0x162) [0x2b9b54d6b62 2]
61 [c21b03:29069] [ 6] /home/wanggang/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error10printStackERNS_7OstreamE+0xc2) [0x2b9b54d6d142]
62 [c21b03:29069] [ 7] /home/wanggang/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam7sigSegv10sigHandlerEi+0x30) [0x2b9b54d67f50]
63 [c21b03:29069] [ 8] /lib64/libc.so.6(+0x35670) [0x2b9b55c03670]
64 [c21b03:29069] [ 9] /lib64/libc.so.6(__libc_fork+0x128) [0x2b9b55c8b578]
65 [c21b03:29069] [10] /lib64/libc.so.6(_IO_proc_open+0xbc) [0x2b9b55c3af9c]
66 [c21b03:29069] [11] /lib64/libc.so.6(popen+0x5c) [0x2b9b55c3b22c]
67 [c21b03:29069] [12] /home/wanggang/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5pOpenERKNS_6stringEi+0x38) [0x2b9b54d6b378]
68 [c21b03:29069] [13] /home/wanggang/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam22printSourceFileAndLineERNS_7OstreamERKNS_8fileNameEP7Dl_infoPv+0x162) [0x2b9b54d6b62 2]
69 [c21b03:29069] [14] /home/wanggang/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error10printStackERNS_7OstreamE+0xc2) [0x2b9b54d6d142]
[c21b03:29066] [16] /home/wanggang/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error10printStackERNS_7OstreamE+0xc2) [0x2b9b54d6d142]
3241 [c21b03:29066] [17] /home/wanggang/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam6sigFpe10sigHandlerEi+0x30) [0x2b9b54d67660]
3242 [c21b03:29066] [18] /lib64/libc.so.6(+0x35670) [0x2b9b55c03670]
3243 [c21b03:29066] [19] /home/wanggang/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam4sqrtERNS_5FieldIdEERKNS_5UListIdEE+0x20) [0x2b9b54c8b740]
3244 [c21b03:29066] [20] /home/wanggang/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(_ZN4Foam4sqrtINS_12fvPatchFieldENS_7volMeshEEENS_3tmpINS_14GeometricFiel dIdT_T0EEEERKS7+0x16c) [0x2b9b4ff4de6c]
3245 [c21b03:29066] [21] /home/wanggang/OpenFOAM/OpenFOAM-v1906/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(_ZNK4Foam9LESModels16LESeddyViscosityINS_29IncompressibleTurbulenceModel INS_14transportModelEEEE7epsilonEv+0x104) [0x2b9b4ff62914]
3246 [c21b03:29066] [22] pimpleTKEBudgetFoam() [0x42715a]
3247 [c21b03:29066] [23] /lib64/libc.so.6(libc_start_main+0xf5) [0x2b9b55befb15]
3248 [c21b03:29066] [24] pimpleTKEBudgetFoam() [0x428ebd]
3249 [c21b03:29066] End of error message
3250 addr2line failed
3251 [103] #1 Foam::sigFpe::sigHandler(int)#0 [c21b03:29320] Process received signal
3252 [c21b03:29320] Signal: Segmentation fault (11)
3253 [c21b03:29320] Signal code: Address not mapped (1)
3254 [c21b03:29320] Failing at address: 0xf1f6690
3255 addr2line failed
3256 [103] #2 ? in /lib64/libc.so.6
3257 [103] #3 Foam::sqrt(Foam::Field
Not exactly sure what this is due to. As this solver is based on the existing pimpleFoam implementation I would suggest you do the following:
Good luck! Andrea
Thanks! I would have a try, and BTW, which OpenFOAM.org version are you testing this script?
Best, Gang
This worked for me in with both OpenFOAM 6 and OpenFOAM 7. Andrea
Hi! I'd like to know could this useful solver run on OpenFOAM v1906? But I've compiled successfully, but it directly crash the case after the 1st step..