CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

PRF_Process_Messages: out of memory.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2009, 20:17
Default PRF_Process_Messages: out of memory.
  #1
New Member
 
fengzhipeng
Join Date: Mar 2009
Posts: 4
Rep Power: 17
zhipengfeng is on a distinguished road
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}
zhipengfeng is offline   Reply With Quote

Reply

Tags
another "out of memory"


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Out of memory? raintung FLUENT 6 May 25, 2016 22:21
RAM memory alpha CFX 1 October 8, 2009 11:31
out of memory dsunil FLUENT 7 September 19, 2008 10:20
Out of Memory Naghman Khan FLUENT 3 August 30, 2007 06:08
Memory 400-667 MHz George Main CFD Forum 8 March 1, 2007 08:22


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