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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 3, 2014, 06: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: 10
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, 07:52
Default
  #2
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 16
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, 08:58
Default
  #3
New Member
 
Bharat Bhushan Sharma
Join Date: Nov 2014
Posts: 8
Rep Power: 10
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


All times are GMT -4. The time now is 15:45.