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

sigSEGV error + custom boundary condition in OF 2.3.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 3, 2014, 05:00
Default sigSEGV error + custom boundary condition in OF 2.3.0
  #1
New Member
 
Bharat Bhushan Sharma
Join Date: Nov 2014
Posts: 8
Rep Power: 11
bharat.gmail is on a distinguished road
Dear All FOAMers.

I am new to OF and am currently working on modifying an existing solver to suit my requirements. IN this work I have made few custom boundary conditions. While wmaking them there is no error however when I run the application on a test case I get following error.

Code:
#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigSegv::sigHandler(int) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2   in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::GeometricBoundaryField(Foam::DimensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField const&) in "/root/OpenFOAM/root-2.3.0/platforms/linux64GccDPOpt/bin/impesFoam"
#4  Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricField(Foam::IOobject const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/root/OpenFOAM/root-2.3.0/platforms/linux64GccDPOpt/bin/impesFoam"
#5  
 in "/root/OpenFOAM/root-2.3.0/platforms/linux64GccDPOpt/bin/impesFoam"
#6  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7  
 in "/root/OpenFOAM/root-2.3.0/platforms/linux64GccDPOpt/bin/impesFoam"
Segmentation fault (core dumped)
After reading other threads similar to my problem I understood that perhaps this is due to my custom B.C's. But I am unable to sort out the problem myself. Thus I request your kind help to solve this problem.

Regards,

Bharat
bharat.gmail is offline   Reply With Quote

Old   December 19, 2014, 06:52
Default
  #2
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 17
Tushar@cfd is on a distinguished road
Quote:
Originally Posted by bharat.gmail View Post
Dear All FOAMers.

I am new to OF and am currently working on modifying an existing solver to suit my requirements. IN this work I have made few custom boundary conditions. While wmaking them there is no error however when I run the application on a test case I get following error.

Code:
#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigSegv::sigHandler(int) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2   in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::GeometricBoundaryField(Foam::DimensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField const&) in "/root/OpenFOAM/root-2.3.0/platforms/linux64GccDPOpt/bin/impesFoam"
#4  Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricField(Foam::IOobject const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/root/OpenFOAM/root-2.3.0/platforms/linux64GccDPOpt/bin/impesFoam"
#5  
 in "/root/OpenFOAM/root-2.3.0/platforms/linux64GccDPOpt/bin/impesFoam"
#6  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7  
 in "/root/OpenFOAM/root-2.3.0/platforms/linux64GccDPOpt/bin/impesFoam"
Segmentation fault (core dumped)
After reading other threads similar to my problem I understood that perhaps this is due to my custom B.C's. But I am unable to sort out the problem myself. Thus I request your kind help to solve this problem.

Regards,

Bharat
Dear Bharat,

Can you please detail your case (solver, case directory etc.)? which custom boundaries you use? At this moment you left it on foamer's to guess.

-
Best Regards!
Tushar@cfd is offline   Reply With Quote

Old   December 19, 2014, 07:58
Default
  #3
New Member
 
Bharat Bhushan Sharma
Join Date: Nov 2014
Posts: 8
Rep Power: 11
bharat.gmail is on a distinguished road
Quote:
Originally Posted by Tushar@cfd View Post
Dear Bharat,

Can you please detail your case (solver, case directory etc.)? which custom boundaries you use? At this moment you left it on foamer's to guess.

-
Best Regards!
Hi tushar. Thanks for your reply. I have solved this error but I am facing same error at another place. I have detailed everything about it in my new thread.

http://www.cfd-online.com/Forums/ope...need-help.html


Please help me in that.

Thanks & Regards,

Bharat
bharat.gmail is offline   Reply With Quote

Reply

Tags
sigsegv


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Outflow boundary condition in cartesian grid SIMPLE velocity-pressure coupling ghobold Main CFD Forum 9 September 19, 2015 02:50
Accessing multiple boundary patches from a custom boundary condition file ripudaman OpenFOAM Programming & Development 0 October 22, 2014 18:34
Radiation interface hinca CFX 15 January 26, 2014 17:11
CFX fails to calculate a diffuser pipe flow shenying0710 CFX 7 March 26, 2013 04:13


All times are GMT -4. The time now is 09:31.