CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

SetFields SigSegV bug.

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 30, 2018, 09:35
Default SetFields SigSegV bug.
  #1
New Member
 
Florian
Join Date: Dec 2018
Posts: 20
Rep Power: 7
Archoncomando is on a distinguished road
Hello there,


I'm having some issues with OpenFOAM 2.3.0's setFields command.



I've ran the check mesh several times and corrected the faults it gave me and then moved to setFields in preparation of running the actual simulation.



Now the program just delivers me this:


Build : 2.3.0-f5222ca19ce6
Exec : setFields
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
?
?
?
?

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 in "/home/rieth/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/setFields"
#4 in "/home/rieth/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/setFields"
#5 in "/home/rieth/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/setFields"
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7 in "/home/rieth/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/setFields"
Segmentation fault (core dumped)


After googling around for a bit i found out that this is a segmentation error where the program tries to access data it can't or did i misunderstand that? Sadly i found nothing on how to actually fix the issue.



If anyone could offer me some assistance on how to get this to run i'd be very grateful.


Also anyone reading this around new years i hope you get into the new year well.


Greetings



Florian
Archoncomando is offline   Reply With Quote

Old   December 30, 2018, 16:11
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: It's possible that you've tripped over a bug that was fixed later on in OpenFOAM 2.3.1 and/or 2.3.x and/or 2.4.x.

You can have 2.4.x or 2.4.0 installed in parallel with the 2.3.0 version, then run setFields only with that version, so that you can workaround this specific bug. More details on how to have more than one version installed, are provided here: https://openfoamwiki.net/index.php/I...nFOAM_versions
Daniel_Khazaei likes this.
__________________
wyldckat is offline   Reply With Quote

Old   December 31, 2018, 08:45
Default
  #3
New Member
 
Florian
Join Date: Dec 2018
Posts: 20
Rep Power: 7
Archoncomando is on a distinguished road
I'll give that a try later today or tomorrow and report back!

Thx in advance!
Archoncomando is offline   Reply With Quote

Old   January 4, 2019, 06:09
Default
  #4
New Member
 
Florian
Join Date: Dec 2018
Posts: 20
Rep Power: 7
Archoncomando is on a distinguished road
Alright i tried installing OpenFOAM 2.3.1 but when i get to setFields it still gives me the segmentation error. Could it have something to do with the Mesh? Even though CheckMesh returns that the mesh is ok...


I'll try 2.4 now see if that helps.
Archoncomando is offline   Reply With Quote

Old   January 4, 2019, 18:23
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: The only other thing that comes to mind is that something very wrong might be defined in the "setFieldsDict" file... can you share that file with us?
wyldckat 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
mapFields major bug alchem OpenFOAM Bugs 14 September 15, 2023 12:48
Manual decomposition using setFields RL-S OpenFOAM Pre-Processing 8 July 3, 2023 08:51
error: Received signal SIGSEGV ianziti92 Fluent UDF and Scheme Programming 2 December 5, 2018 16:25
Bug in Workbench CFX Pierre1 CFX 6 August 2, 2017 00:18
Problems with the execution of the setFields utility. foamer OpenFOAM Pre-Processing 5 June 3, 2013 12:24


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