CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

ABL use of fixed shear stress leads to segmentation fault 11

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2016, 03:45
Default ABL use of fixed shear stress leads to segmentation fault 11
  #1
New Member
 
Christof Schmidt
Join Date: Nov 2015
Posts: 6
Rep Power: 10
cristopf is on a distinguished road
Hi everybody,

I have a case where I use the ABL and want to set a fixed shear stress at the top boundary like Hargreaves and Wright recommend. So I use the "libturbulenceDerivedFvPatchFields.so" in the control dict and in 0/U I choose the type fixedShearStress for the top boundary.
When I run the solver (simpleFoam) it stops at once and I got a segmentation fault 11.
I know itīs not much information but I donīt find out where the problem could be that causes this fault.
Perhaps anyone can give me some hints or had the same problem with the fixed shear stress.

Thank you!

mpirun -np 8 simpleFoam -parallel > log&
[1] 31617
]0;pwacker@SRV02: ~/OpenFOAM/pwacker-2.2.2/Testrechnungen/VergleichZ0Ks/z0MovingWallFSSpwacker@SRV02:~/OpenFOAM/pwacker-2.2.2/Testrechnungen/VergleichZ0Ks/z0MovingWallF
FSS$ [1] #0 [2] #0 [3] #0 [4] #0 [5] #0 [7] #0 Foam::error::printStack(Foam::Ostream&)Foam::error ::printStack(Foam::Ostream&)Foam::error::printStac k(Foam::Ostream&)Foam::error::printStack(Foam::Ost ream&)[6] #0 Foam::error::printStack(Foam::Ostream&)Foam::error ::printStack(Foam::Ostream&)Foam::error::printStac k(Foam::Ostream&)[0] #0 Foam::error::printStack(Foam::Ostream&) in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #1 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[2] #1 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #1 Foam::sigSegv::sigHandler(int)Foam::sigSegv::sigHa ndler(int)Foam::sigSegv::sigHandler(int) in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[4] #1 Foam::sigSegv::sigHandler(int) in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linuGccDPOpt/lib/libOpenFOAM.so"
[7] #1[5] #1 Foam::sigSegv::sigHandler(int)
[3] #1 x64GccDPOpt/lib/libOpenFOAM.so"
[6] #1 Foam::sigSegv::sigHandler(int)Foam::sigSegv::sigHa ndler(int) Foam::sigSegv::sigHandler(int) in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] # in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[2] #2 2 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[4] #2 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #2 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/ in "/home/lhoang/OpenFOAM/OpenFOAM-2.2lib/libOpenFOAM.so"
[5] #2 .2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" in "/h in "/home/lhoa
[7] #2 ng/OpenFOAM/OpenFOAM-2ome/lhoang/OpenFOAM/OpenFOAM-2.2.2/.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
so"
[3] #2 [6] #2 in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #3 Foam::multiply(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/lib/x86_64-linux-gnu/libc.so.6"
[2] #3 Foam::multiply(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/lib/x86_64-linux-gnu/libc.so.6"
[4] #3 Foam::multiply(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/lib/x86_64-linux-gn in "/lib/x86_64-linux-gnu/l in "/lib/x86_64-linux-gnu/libc.s in "/lib/x86_64-linux-gnu/libc.so.6" in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #3 u/libc.so.6"
[6] #3 ibc.so.6"
[7] #o.6"
[5] #3
[3] #3 Foam::multiply(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&)Foam::multiply(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&)Foam::multiply(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&)3 Foam::multiply(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) Foam::multiply(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #4 Foam::operator*(Foam::UList<double> const&, Foam::UList<double> const&) in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[2] #4 Foam::operator*(Foam::UList<double> const&, Foam::UList<double> const&) in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[5] #4 Foam::operator*(Foam::UList<double> const&, Foam::UList<double> const&) in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[3] #4 Foam::operator*(Foam::UList<double> const&, Foam::UList<double> const&) in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[4] #4 Foam::operator*(Foam::UList<double> const&, Foam::UList<double> const&) in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #4 Foam::operator*(Foam::UList<double> const&, Foam::UList<double> const&) in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
in "/home/lhoa[7] #4 Foam::operator*(Foam::UList<double> const&, Foam::UList<double> const&)ng/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[6] #4 Foam::operator*(Foam::UList<double> const&, Foam::UList<double> const&) in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[4] #5 Foam::fixedShearStressFvPatchVectorField::updateCo effs() in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #5 Foam::fixedShearStressFvPatchVectorField::updateCo effs() in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[7] #5 Foam::fixedShearStressFvPatchVectorField::updateCo effs() in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so in "/home/lhoa"
[0] #5 Foam::fixedShearStressFvPatchVectorField::updateCo effs()ng/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[3] #5 in "/hFoam::fixedShearStressFvPatchVectorField::updateC oeffs()ome/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[5] #5 Foam::fixedShearStressFvPatchVectorField::updateCo effs() in "/home/lhoang/OpenFOAM/OpenF in "/home/lhoang/OpeOAM-2.2.2/platforms/linux64GccDPOpt/libnFOAM/OpenFOAM-2.2.2/platforms/linu/libOpenFOAM.so"
[2] #5 x64GccDPOpt/lib/libturbulenceDerivedFoam::fixedShearStressFvPatchV ectorField::updateCoeffs()FvPatchFields.so"
[4] #6 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[6] #5 Foam::fixedShearStressFvPatchVectorField::updateCo effs() in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libturbulenceDerivedFvPatchFields.so"
[7] #6 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libturbulenceDerivedFvPatchFields.so"
[1] #6 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libturbulenceDerivedFvPatchFields.so"
[3] #6 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libturbulenceDer ivedFvPatchFields.so"
[5] #6 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoef fs() in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libturbulenceDerivedFvPatchFields.so"
[0] #6 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libturbulenceDerivedFvPatchFields.so"
[2] #6 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libturbulenceDerivedFvPatchFields.so"
[6] #6 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoef fs()Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoef fs()Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoef fs()Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoef fs() in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[4] #7 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoef fs()Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoef fs()Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoef fs() in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[7] #7 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[1] #7 Foam::fvMatrix<Foam::Vector<double> >::fvMatrix(Foam::GeometricField<Foam::Vector<doub le>, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[3] #7 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[5] #7 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[0] #7 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[2] #7 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[6] #7 Foam::fvMatrix<Foam::Vector<double> >::fvMatrix(Foam::GeometricField<Foam::Vector<doub le>, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&)Foam::fvMatrix<Foam::Vector<double> >::fvMatrix(Foam::GeometricField<Foam::Vector<doub le>, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[4] #8 Foam::fvMatrix<Foam::Vector<double> >::fvMatrix(Foam::GeometricField<Foam::Vector<doub le>, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&)Foam::fvMatrix<Foam::Vector<double> >::fvMatrix(Foam::GeometricField<Foam::Vector<doub le>, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&)Foam::fvMatrix<Foam::Vector<double> >::fvMatrix(Foam::GeometricField<Foam::Vector<doub le>, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&)Foam::fvMatrix<Foam::Vector<double> >::fvMatrix(Foam::GeometricField<Foam::Vector<doub le>, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&)Foam::fvMatrix<Foam::Vector<double> >::fvMatrix(Foam::GeometricField<Foam::Vector<doub le>, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&)
in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[0] #8 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[7] #8 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[6] #8 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[1] #8 [4] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[4] #9 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[2] #8 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[5] #8 in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[3] #8







[0] [4] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[4] #10 __libc_start_main[7] in "/home/lhoang/OpenFOAM in "/home/lhoang/OpenFOAM/OpenFOA/OpenFOAM-2.2.2/platforms/M-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[0] #9 linux64GccDPOpt/bin/simpleFoam"
[7] #9 [5] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[5] #9 [6] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[6] #9 [1] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[1] #9 [2] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[2] #9
[3] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[3] #9
in "/lib/x86_64-linux-gnu/libc.so.6"
[4] #11





[0] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[0] #10 __libc_start_main[7] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[7] #10 __libc_start_main[2] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[2] #10 __libc_start_main[6] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[6] #10 __libc_start_main[1] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[1] #[5] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/li10 __libc_start_mainnux64GccDPOpt/bin/simpleFoam"
[5] #10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #11 [3] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[3] #10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[7] #11 [4] in "/home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/bin/simpleFoam"
[SRV02:31622] *** Process received signal ***
[SRV02:31622] Signal: Segmentation fault (11)
[SRV02:31622] Signal code: (-6)
[SRV02:31622] Failing at address: 0x3ec00007b86
[SRV02:31622] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x324f0) [0x7f7a51b3f4f0]
[SRV02:31622] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f7a51b3f475]
[SRV02:31622] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x324f0) [0x7f7a51b3f4f0]
[SRV02:31622] [ 3] /home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam8multiplyERNS_5FieldIdEERKN S_5UListIdEES6_+0x78) [0x7f7a52d4e7d8]
[SRV02:31622] [ 4] /home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4FoammlERKNS_5UListIdEES3_+0x71) [0x7f7a52d52d11]
[SRV02:31622] [ 5] /home/lhoang/OpenFOAM/OpenFOAM-2.2.2/platforms/linux64GccDPOpt/lib/libturbulenceDerivedFvPatchFields.so(_ZN4Foam34fix edShearStressFvPatchVectorField12updateCoeffsEv+0x 2b2) [0x7f7a3ec22ab2]
[SRV02:31622] [ 6] simpleFoam(_ZN4Foam14GeometricFieldINS_6VectorIdEE NS_12fvPatchFieldENS_7volMeshEE22GeometricBoundary Field12updateCoeffsEv+0x3d) [0x4369dd]
[SRV02:31622] [ 7] simpleFoam(_ZN4Foam8fvMatrixINS_6VectorIdEEEC1ERKN S_14GeometricFieldIS2_NS_12fvPatchFieldENS_7volMes hEEERKNS_12dimensionSetE+0x383) [0x43f143]
[SRV02:31622] [ 8] simpleFoam() [0x43f264]
[SRV02:31622] [ 9] simpleFoam() [0x426ca7]
[SRV02:31622] [10] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f7a51b2bead]
[SRV02:31622] [11] simpleFoam() [0x428d4d]
[SRV02:31622] *** End of error message ***
in "/lib/x86_64-linux-gnu/libc.so.6"
[2] #11 in "/lib/x86_64-linux-gnu/libc.so.6"
[6] #11 in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #11
in "/lib/x86_64-linux-gnu/libc.so.6"
[5] #11
--------------------------------------------------------------------------
mpirun noticed that process rank 4 with PID 31622 on node SRV02 exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------
cristopf is offline   Reply With Quote

Old   December 23, 2016, 17:57
Default
  #2
New Member
 
Jie (Jay) Zhang
Join Date: Sep 2010
Location: Phoenix, AZ, U.S.
Posts: 28
Rep Power: 16
jiez is on a distinguished road
Hi Christof, have you fixed the issue? How did you fix it?

Best,

Jie
jiez is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixed wall shear stress Andrea_Fen STAR-CCM+ 2 September 20, 2021 08:27
Setting constant shear stress to upper ABL wall. Possible in OF? kingjewel1 OpenFOAM Running, Solving & CFD 2 April 28, 2020 12:15
Fluent UDF Wall Shear Stress Segmentation Fault a1ananth Fluent UDF and Scheme Programming 3 February 24, 2015 04:23
shear stress scalar definitions? Novak Elliott CFX 0 April 6, 2003 02:45
What is the detail definition of wall shear stress zjm FLUENT 0 January 2, 2002 08:43


All times are GMT -4. The time now is 18:21.