|
[Sponsors] |
Error: "MPI Application rank 0 exited before MPI_finalization() with status 2"? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 9, 2018, 11:13 |
Error: "MPI Application rank 0 exited before MPI_finalization() with status 2"?
|
#1 |
Member
Join Date: Dec 2017
Posts: 34
Rep Power: 9 |
Dear all,
I have a Fluent problem where I defined material properties using a simple UDF, like: DEFINE_PROPERTY(thermal_conductivity,cell,thread) { real tc, T; T = C_T(cell,thread); if(T <= 300) tc = 1; else tc = 2; return tc; } When I use this UDF, I have got this error: "MPI Application rank 0 exited before MPI_finalization() with status 2". Can anybody five me ant advice how to solve this error please! My model works fine without UDF. Thanks, Malekan |
|
December 9, 2018, 23:53 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
did you put
Code:
#include "udf.h" best regards |
|
December 10, 2018, 10:02 |
Yes, I did
|
#3 |
Member
Join Date: Dec 2017
Posts: 34
Rep Power: 9 |
Yes , I did that. In fact, compilation part of the code does not have any problem. When I try to initialize the problem, I receive that error.
Best, |
|
December 10, 2018, 20:58 |
|
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Try to initialize first, than load UDF
best regards |
|
December 12, 2018, 10:14 |
Initialization needs udfs
|
#5 |
Member
Join Date: Dec 2017
Posts: 34
Rep Power: 9 |
I need udfs to define material properties, how can I do initialization without loading udfs?
|
|
December 12, 2018, 11:14 |
|
#6 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
You don't need material properties to initialize anything
|
|
June 10, 2019, 23:14 |
|
#7 |
New Member
Etienne Lin
Join Date: Aug 2017
Location: la Chine
Posts: 4
Rep Power: 9 |
I've had the same error when using fluent in workbench. I was trying FSI and the coupling interface shows this error.
My solution is to delete the fluent module and reset a case. Though the same problem occurred after several times of interrupt and restart, once all parameters are determined and the case is reset, the program also works. |
|
Tags |
error fluent workbench, fluent, udf code |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mpt_connect: errorThe fl process could not be started. MPI Application rank 0 exited | tjZDH | FLUENT | 3 | November 28, 2021 15:30 |
Ansys Licence Serve on Ubuntu 16.04 LTS | david.pasquale | ANSYS | 2 | January 20, 2017 12:52 |
MPI application rank 0 exited before.. | jypark | FLUENT | 1 | July 15, 2016 13:58 |
MPI Application rank 0 exited before MPI_Finalize() with status 1 | mustafadeniz89 | AVL FIRE | 6 | November 24, 2015 10:40 |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 15:53 |