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

UDF segmentation fault

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2024, 00:52
Default UDF segmentation fault
  #1
New Member
 
Samuel Song
Join Date: Jan 2024
Posts: 7
Rep Power: 2
dnwnlife0109 is on a distinguished road
Hi.



I'm currently trying to use udf on convergeCFD.



I'd followed the instruction in udf manual but finally the program print segmentation fault (11). Could somebody explain this thing? There was no error or warning on building process.



Currently I'm suspecting the version of building tools

This is the versions of program that I'd used.



cmake 3.15.4

make 3.8.2 (minimum version)

gcc 8.3.0


The only thing I did different from the manual is that i'd invoked cmake and make to use GCC version 8.3.0. Which is 4.8.5 default on the cluster.



C udf file was flux_limiter.c from example folder. No code modification.



Thank you.
dnwnlife0109 is offline   Reply With Quote

Old   March 29, 2024, 14:54
Default
  #2
Senior Member
 
ksrivast's Avatar
 
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 165
Rep Power: 8
ksrivast is on a distinguished road
Hello Samuel,

Were there any messages in the converge.log file when the case crashed, apart from the Signal 11 segmentation fault error?
Does the converge.log show the simulation crashed while loading the UDF libraries?
What version of CONVERGE solver are you using? And on which platform (Windows/Linux)?
Did you try to run one of our example cases with the UDFs?

Hopefully your answers to the above will help us narrow down the issue. We ran one of our example cases (Pipe CHT) using our latest v3.1.11 solver with the default flux_limiter.c compiled UDFs and the case seems to run fine.

Sincerely,
__________________
Kislaya Srivastava
Principal Research Engineer | Applications
CONVERGECFD
ksrivast is offline   Reply With Quote

Old   April 1, 2024, 05:45
Default
  #3
New Member
 
Samuel Song
Join Date: Jan 2024
Posts: 7
Rep Power: 2
dnwnlife0109 is on a distinguished road
Thank you for your response.



The test results was as follows.



1&2. . No nothing specific. Final message was just "cell_count in rank 123: is ~~~~"

3. Currently using 3.10 with linux cluster

4. Solver crashes with segmentation 9, 11. (On pipe-CHT case) No warning was in converge.log. I'd used user limiter only on momentum limiter.
dnwnlife0109 is offline   Reply With Quote

Old   April 1, 2024, 08:37
Default
  #4
Senior Member
 
ksrivast's Avatar
 
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 165
Rep Power: 8
ksrivast is on a distinguished road
Hello Samuel,

Given that we have been unable to reproduce the issue on our end, we recommend you reach out to us at support@convergecfd.com. Please use your official email for all correspondence with Convergent Science. Please mention your issue, attach your case setup along with your compiled UDFs and add the cfd-online thread, as reference.

We will check whether there were any issues in your compiled UDFs and also forward you with compiled UDFs we created to see if the case runs fine.

Sincerely,
__________________
Kislaya Srivastava
Principal Research Engineer | Applications
CONVERGECFD
ksrivast 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
UDM segmentation fault. Tushar_Telmasre Fluent UDF and Scheme Programming 1 March 24, 2017 05:45
Segmentation fault in SU2 V5.0 ygd SU2 2 March 1, 2017 04:38
fatal signal segmentation fault in a UDF hares FLUENT 6 January 21, 2017 03:26
segmentation fault when installing OF-2.1.1 on a cluster Rebecca513 OpenFOAM Installation 9 July 31, 2012 15:06
Segmentation Fault Shawn_A OpenFOAM Running, Solving & CFD 6 October 31, 2011 14:38


All times are GMT -4. The time now is 17:26.