|
[Sponsors] |
March 17, 2019, 12:33 |
Segmentation Fault on PEM fuel cell addon
|
#1 |
New Member
Adam
Join Date: Mar 2019
Location: Aberdeen
Posts: 5
Rep Power: 7 |
Hello, everytime I try to run the calculation, I receive this error:
Error: received a fatal signal (Segmentation fault). Error Object: #f I am not sure what object: #f is and so I am not sure what part of the file is not working. Any help would be greatly appreciated! Regards, Adam |
|
March 17, 2019, 21:41 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
it means you are trying to access memory, which is not allocated
best regards |
|
March 18, 2019, 10:52 |
|
#3 |
New Member
Adam
Join Date: Mar 2019
Location: Aberdeen
Posts: 5
Rep Power: 7 |
Okay, thank you. How do i allocate memory? I was running the program on the university's virtual desktop and have now switched to just the normal desktop, and I am still getting the same error.
|
|
March 18, 2019, 11:37 |
|
#4 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
It depends on which memory you are trying to access.
You have not really given enough details on your simulation to determine this. Are you using UDFs (functions)? Are you using UDS (scalars)? Are you using UDMs (memory locations)? |
|
March 18, 2019, 11:40 |
|
#5 |
New Member
Adam
Join Date: Mar 2019
Location: Aberdeen
Posts: 5
Rep Power: 7 |
I am using all three that you have listed, as they are part of the PEM fuel cell addon module. What other information would you need?
|
|
March 18, 2019, 11:43 |
|
#6 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Disable them all three. Do you still have a problem?
If not, turn one of them back on, and check. Do you still have a problem? In this way, pinpoint the one that gives the problem. If it is the UDF, and you have more than one function, use only one. Does it give a problem? If not, use another one. Does it give a problem? Find out which one contains the problem. If you know which function gives the problem, and you can not fix it, post it here. |
|
March 18, 2019, 14:49 |
|
#7 |
New Member
Adam
Join Date: Mar 2019
Location: Aberdeen
Posts: 5
Rep Power: 7 |
thank you! i will try this tomorrow
|
|
March 18, 2019, 21:41 |
|
#8 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
my recommendation for you:
there are tutorials on PEM simulations in Fluent, go through it step by step best regards |
|
June 5, 2019, 19:56 |
|
#9 |
New Member
Gongjin
Join Date: Jun 2019
Posts: 3
Rep Power: 7 |
||
June 6, 2019, 06:02 |
|
#10 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
If your problem is "received a fatal signal (Segmentation fault)", then although you had the same error message, your problem is almost surely not "the same" as Adam404's problem.
Adam404's solution could be that he changed something in line 387 of his code, but that does not mean that you have to change the same line. The best advice I can give to you (maiyuebing) is to find out where your problem is. Make your simulation simpler, switch off models, until you find out which part of your simulation is causing the problem. |
|
June 7, 2019, 12:48 |
|
#11 | |
New Member
Gongjin
Join Date: Jun 2019
Posts: 3
Rep Power: 7 |
Quote:
By the way, how to find out the code of my simulation? Thank you |
||
June 9, 2019, 10:50 |
|
#12 | ||
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Quote:
Quote:
|
|||
June 17, 2019, 15:30 |
|
#13 | |
New Member
Gongjin
Join Date: Jun 2019
Posts: 3
Rep Power: 7 |
Quote:
Sometimes, the model can be calculated, some not. Could you give me some suggestion? |
||
June 18, 2019, 02:22 |
|
#14 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
I recommend you to make your model works well in all cases.
if you need help on that, you must describe your problem, steps which lead to this problem, show logs and errors best regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with PEM fuel cell modeling and I-V curve | AmiN.D | FLUENT | 3 | July 24, 2017 02:39 |
Single channel PEM fuel Cell tutorial | ramakant | FLUENT | 0 | February 7, 2017 05:02 |
Journal file error | magicalmarshmallow | FLUENT | 3 | April 4, 2014 13:25 |
MEA assembly in PEM fuel cell | poornima_n | CFX | 3 | September 3, 2012 03:12 |
segmentation fault when installing OF-2.1.1 on a cluster | Rebecca513 | OpenFOAM Installation | 9 | July 31, 2012 16:06 |