CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Help for Fluent udf on parallel computing (http://www.cfd-online.com/Forums/fluent/49287-help-fluent-udf-parallel-computing.html)

KAILI September 18, 2008 00:52

Help for Fluent udf on parallel computing
 
Hello,

My udf is used for dynamic mesh.

In paralle,the error:

Updating mesh at time level N... done. time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

time=0.000000 omega=1000.000036

iter continuity x-velocity y-velocity energy k omega time/iter

999999 (..\..\src\mpsystem.c@1123): mpt_read: failed: errno = 10054

999999: mpt_read: error: read failed trying to read 4 bytesunable to read the cmd header on the pmi context, Undefined dynamic error code.

: No such file or directory unable to read the cmd header on the pmi context,

Undefined dynamic error code. received suspend command for a pmi context that doesn't exist: unmatched id = 0

received kill command for a pmi context that doesn't exist: unmatched id = 0

job aborted: rank: node: exit code[: error message]

0: ifrc_k: -1073741819: process 0 exited without calling finalize

1: ifrc_k: -1073741819: process 1 exited without calling finalize

The Parallel FLUENT process could not be started.

`````````````````````````````````````````````````` ```````

This is the udf:

#include "udf.h" #include "unsteady.h" #include "stdio.h" #include "stdlib.h" /************************************************** **********/

real current_time = 0.0 ; /************************************************** **********/

DEFINE_CG_MOTION(Pitching,dt,vel,omega,time,dtime)

{

#if !RP_HOST

current_time = CURRENT_TIME ;

vel[0] = 0.0 ;

vel[1] = 0.0 ;

vel[2] = 0.0 ;

omega[0] = 0.0 ;

omega[1] = 0.0 ;

omega[2] = 17.453292222 ;

Message("time=%f omega=%f\n",current_time,omega[2]*180.0/3.1415926) ;

#endif /* !RP_HOST */

}

The code worked well in the serial process.

Do you know what happens?

Thanks!



All times are GMT -4. The time now is 11:37.