# The fl process could not be started

 Register Blogs Members List Search Today's Posts Mark Forums Read

 March 22, 2021, 06:24 The fl process could not be started #1 New Member   mohammad reza Join Date: Apr 2014 Location: Iran-Isfahan Posts: 10 Rep Power: 11 Hi, I am just a beginner with UDF. I trying to use the Source macro function to add a source term to mom. eq.! I compiled that without any warning or error and I setting up and initialized but when I start the calculation, following error was happen. "The fl process could not be started" My code is following: #include "udf.h" DEFINE_SOURCE(plasma_source,c,t,dS,eqn) { /* Declare Variables */ real xc[ND_ND]; real source, x, y; real m1, m2, th; real b_bottom, b_left, b_top, b_right; real check_bottom, check_left, check_top, check_right; /* Call x and y data from FLUENT */ C_CENTROID(xc,c,t); x=xc[0]; y=xc[1]; /* Define plasma region. Four inequalities are used to define the rectangular plasma region. */ m1=0.16364; m2=-1; th=0.0001; b_bottom=0.0012; b_left=-0.0525; b_top=0.0021; b_right=-0.047; check_bottom=m1*(x-(b_left))+b_bottom; check_left=(1/m2)*(y-(b_bottom))+(b_left); check_top=m1*(x-((b_left)-th))+((b_bottom)+th); check_right=(1/m2)*(y-(b_top))+(b_right); /* Apply source term to region inside the four inequalities */ if ((y>=check_bottom)&&(x>=check_left)&&(y<=check_top )&&(x<=check_right)) { source = 1000.0; dS[eqn] = 0; } else { source = 0; dS[eqn] = 0; } C_UDMI(c,t,0)=source; return source; } Can anyone please suggest me what this is happening?

 March 23, 2021, 01:57 #2 Senior Member   Alexander Join Date: Apr 2013 Posts: 2,309 Rep Power: 33 Did you allocate memory location for udmi in Fluent GUI? (for C_UDMI(c,t,0)=source; ) m.r.soufivand likes this. __________________ best regards ****************************** press LIKE if this message was helpful

March 23, 2021, 02:55
#3
New Member

Join Date: Apr 2014
Location: Iran-Isfahan
Posts: 10
Rep Power: 11
Quote:
 Originally Posted by AlexanderZ Did you allocate memory location for udmi in Fluent GUI? (for C_UDMI(c,t,0)=source; )
Thank you very much. As you said, the problem was here and after definition of UDMI, that was solved.

 Tags error, fluent - udf, fluent 19.2, source terms, udf