不知火舞的被虐|伊人天伊人天天综合网|博洛尼亚天气|任你懆这里只有精品4|久久美日韩精品久久|掌中之物漫画免费阅读观看|0丨d老妇

求助,我的源項出了什么問題呢?

瀏覽:2615 回答:1
各位老師,我寫的源項是找貼近壁面的網格然后賦給負的源項,可以編譯但是沒辦法計算,請問哪里有問題呢? 報錯如下 Node 0: Process 876: Received signal SIGSEGV.============================================================================================================================================================Node 1: Process 10836: Received signal SIGSEGV.============================================================================================================================================================ Node 2: Process 25596: Received signal SIGSEGV.==============================================================================MPI Application rank 0 exited before MPI_Finalize() with status 2 The fl process could not be started UDF是這樣的 #include "udf.h" DEFINE_ON_DEMAND(face_souce0) { Domain *d; Thread *t; cell_t c; Thread *t0; cell_t c0; face_t f; d = Get_Domain(1); t = Lookup_Thread(d,14); begin_f_loop(f,t) { c0 = F_C0(f,t); t0 = THREAD_T0(t); C_UDMI(c0,t0,0) = 1.0; } end_f_loop(f, t) } DEFINE_SOURCE(face_source0, cell, thread, dS, eqn) { real source; Thread *t0; cell_t c0; t0 = 0; c0 = 0; source = -0.041*C_YI(cell,thread,0)/C_VOLUME(cell,thread)/CURRENT_TIMESTEP * C_UDMI(c0,t0,0); return source; }
邀請回答 我來回答

全部回答

(1)
默認 最新
愛琦民生

請問你解決了嗎?我也有相同的問題

2020年6月28日
評論 點贊

沒解決?試試專家一對一服務

換一批
    App下載
    技術鄰APP
    工程師必備
    • 項目客服
    • 培訓客服
    • 平臺客服

    TOP