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

The fl process could not be started

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

Like Tree1Likes
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2021, 06:24
Unhappy The fl process could not be started
  #1
New Member
 
mohammad reza
Join Date: Apr 2014
Location: Iran-Isfahan
Posts: 7
Rep Power: 9
m.r.soufivand is on a distinguished road
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?
m.r.soufivand is offline   Reply With Quote

Old   March 23, 2021, 01:57
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 1,638
Rep Power: 23
AlexanderZ will become famous soon enough
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
AlexanderZ is offline   Reply With Quote

Old   March 23, 2021, 02:55
Default
  #3
New Member
 
mohammad reza
Join Date: Apr 2014
Location: Iran-Isfahan
Posts: 7
Rep Power: 9
m.r.soufivand is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
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.
m.r.soufivand is offline   Reply With Quote

Reply

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Process xxxx: received signal SIGSEGV; The fl process could not be started Someeee FLUENT 1 October 31, 2018 04:32
Error running openfoam in parallel fede32 OpenFOAM Programming & Development 5 October 4, 2018 16:38
the f1 process couldn't be started after 2000 iteration??? Bmalgil FLUENT 0 May 7, 2018 15:57
How to setup a simple OpenFOAM cluster? TommiPLaiho OpenFOAM Installation 3 October 27, 2013 15:15
HELP-error: the fluent process cannot be started James Willie FLUENT 0 January 24, 2006 11:17


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