|
[Sponsors] |
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: 12 |
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,363
Rep Power: 34 |
Did you allocate memory location for udmi in Fluent GUI? (for C_UDMI(c,t,0)=source; )
__________________
best regards ****************************** press LIKE if this message was helpful |
|
March 23, 2021, 02:55 |
|
#3 |
New Member
mohammad reza
Join Date: Apr 2014
Location: Iran-Isfahan
Posts: 10
Rep Power: 12 |
||
Tags |
error, fluent - udf, fluent 19.2, source terms, udf |
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |