CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   PRF_Process_Messages: out of memory. (https://www.cfd-online.com/Forums/fluent/62721-prf_process_messages-out-memory.html)

zhipengfeng March 17, 2009 21:17

PRF_Process_Messages: out of memory.
 
When I run a parallel udf yesterday ,"PRF_Process_Messages: out of memory."appeared and the program broken off .Can anyone tell me what is wrong? The code list underline: #include "udf.h"#include "mem.h"#include "f_Wall.h"#include "unsteady.h"#include "stdlib.h"#include "stdio.h"DEFINE_EXECUTE_AT_END(execute_at_end) { float f_car1[ND_ND],m_car1[ND_ND],x_cg_car1[ND_ND]; int time_N=0; #if !RP_HOST face_t f; cell_t c; float current_time; float velocity=40.0; float x_car1=772.7; #endif #if !RP_NODE FILE *fp1,*fp2,*fp3,*fp4,*fp5,*fp6; #endif #if !RP_HOST Domain *domain=Get_Domain(1); Thread *car1=Lookup_Thread(domain,7); current_time=CURRENT_TIME; time_N=N_TIME; f_car1[0]=0.0; f_car1[1]=0.0; f_car1[2]=0.0; m_car1[0]=0.0; m_car1[1]=0.0; m_car1[2]=0.0; x_cg_car1[0]=0; x_cg_car1[1]=188.2; x_cg_car1[2]=-1.3; x_cg_car1[0]=x_car1+velocity*(current_time); Compute_Force_And_Moment (domain,car1,x_cg_car1,f_car1,m_car1,TRUE); #endif #if !RP_NODE fp1=fopen("car1_Fx.txt","a+"); fprintf(fp1, "%15.4f\t%d\n", f_car1[0],time_N); fclose(fp1); fp2=fopen("car1_Fy.txt","a+"); fprintf(fp2, "%15.4f\t%d\n", f_car1[1],time_N); fclose(fp2); fp3=fopen("car1_Fz.txt","a+"); fprintf(fp3, "%15.4f\t%d\n", f_car1[2],time_N); fclose(fp3); fp4=fopen("car1_Mx.txt","a+"); fprintf(fp4, "%15.4f\t%d\n", m_car1[0],time_N); fclose(fp4); fp5=fopen("car1_My.txt","a+"); fprintf(fp5, "%15.4f\t%d\n", m_car1[1],time_N); fclose(fp5); fp6=fopen("car1_Mz.txt","a+"); fprintf(fp6, "%15.4f\t%d\n", m_car1[2],time_N); fclose(fp6); #endif}


All times are GMT -4. The time now is 06:17.