|
[Sponsors] |
MPI Application rank 0 exited before MPI_Finalize() with status 2 in Crystallization |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 12, 2020, 08:37 |
MPI Application rank 0 exited before MPI_Finalize() with status 2 in Crystallization
|
#1 |
New Member
John E
Join Date: Jan 2016
Posts: 25
Rep Power: 10 |
Hi, everyone.
i'm going to simulate crystallization with udf and I started with offical tutorial. there was 2D stirred tank model in turorial. udf's code as follows: #include "udf.h" #include "sg_mphase.h" #include "sg_pb.h" #define Mw_KCl 74.551 #define Mw_H2O 18. /************************************************** ************************/ /* This function defines growth rate (m3/s) */ /************************************************** ************************/ DEFINE_PB_GROWTH_RATE(growth_rate, cell, thread, d_1) { real G, S; real Kg = 2.8e-8; real Ng = 1.; Thread *tc = THREAD_SUPER_THREAD(thread); S = C_UDMI(cell,tc,0); if (S <= 1.) { G = 0.; } else { G = Kg*pow((S-1),Ng); } return G; } /************************************************** ************************/ /* This function defines nucleation rate (#/m3.s) */ /************************************************** ************************/ DEFINE_PB_NUCLEATION_RATE(nuc_rate,cell,thread) { real J, S ; real Kn = 4.0e10; real Nn = 2.77; Thread *tc = THREAD_SUPER_THREAD(thread); S = C_UDMI(cell,tc,0); if (S <= 1.) { J = 0.; } else { J = Kn*pow((S-1),Nn); } return J; } DEFINE_ADJUST(adjust_func, domain) { Thread *tc; real kcl, solub, S, T; Thread **pt; mp_thread_loop_c(tc, domain, pt) { cell_t cell; Thread *tp = pt[P_PHASE]; begin_c_loop_int(cell,tc) { kcl = (C_YI(cell,tp,0)/Mw_KCl)/((C_YI(cell,tp,0)/Mw_KCl)+(1-(C_YI(cell,tp,0)))/Mw_H2O); T = C_T(cell,tp); solub = 0.0005*T-0.0794; S = kcl/solub; C_UDMI(cell,tc,0) = S; } end_c_loop_int(cell,tc) } } After I do the basic settings;The following error is seen in fluent console: Updating solution at time level N... done. iter continuity u-water u-crystal v-water v-crystal energy-p1 energy-p2 k epsilon h2o<l>-wat bf-0-cryst bf-1-cryst bf-2-cryst bf-3-cryst bf-4-cryst bf-5-cryst bf-6-cryst bf-7-cryst bf-8-cryst bf-9-cryst bf-10-crys bf-11-crys bf-12-crys bf-13-crys bf-14-crys bf-15-crys bf-16-crys bf-17-crys bf-18-crys bf-19-crys bf-20-crys bf-21-crys bf-22-crys bf-23-crys bf-24-crys bf-25-crys bf-26-crys bf-27-crys bf-28-crys bf-29-crys bf-30-crys vf-crystal time/iter ================================================== ============================ Node 0: Process 11408: Received signal SIGSEGV. ================================================== ============================ MPI Application rank 0 exited before MPI_Finalize() with status 2 The fl process could not be started. But it was good in offical case, I only start to change the mesh documents to my. what is the problem? So could anyone can help to solve this? Thank you very much~ |
|
June 15, 2020, 04:44 |
Problem
|
#2 |
Senior Member
|
The issue is most likely with UDM. The code uses one UDM. You need to assign a UDM using User-Defined > Memory and also need to initialize it either via Initialization or Patch.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
June 21, 2020, 18:04 |
|
#3 |
New Member
John E
Join Date: Jan 2016
Posts: 25
Rep Power: 10 |
||
Tags |
crystallization, fluent, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MPI Application rank 0 exited before MPI_Finalize() with status 2 The fl process cou | Ryo KIKU | Fluent UDF and Scheme Programming | 2 | January 8, 2020 02:07 |
MPI Application rank 2 exited before MPI_Finalize() with status 2 The fl process cou | Venu Angirekula | FLUENT | 0 | June 7, 2019 05:36 |
MPI Application rank 0 exited before MPI_Finalize() with status -1073741819 | zjuv9021 | FLUENT | 1 | April 29, 2019 02:06 |
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 |