|
[Sponsors] | |||||
Error: "MPI Application rank 0 exited before MPI_finalization() with status 2"? |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
Join Date: Dec 2017
Posts: 34
Rep Power: 10 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 35 ![]() ![]() |
did you put
Code:
#include "udf.h" best regards |
|
|
|
|
|
|
|
|
#3 |
|
Member
Join Date: Dec 2017
Posts: 34
Rep Power: 10 ![]() |
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, |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 35 ![]() ![]() |
Try to initialize first, than load UDF
best regards |
|
|
|
|
|
|
|
|
#5 |
|
Member
Join Date: Dec 2017
Posts: 34
Rep Power: 10 ![]() |
I need udfs to define material properties, how can I do initialization without loading udfs?
|
|
|
|
|
|
|
|
|
#6 |
|
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,845
Rep Power: 68 ![]() ![]() ![]() |
You don't need material properties to initialize anything
|
|
|
|
|
|
|
|
|
#7 |
|
New Member
Etienne Lin
Join Date: Aug 2017
Location: la Chine
Posts: 5
Rep Power: 10 ![]() |
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 |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |