找回密码
 注册
查看: 5483|回复: 6

The FLUENT process could not be started

[复制链接]
发表于 2011-10-25 20:21:12 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
最近用Compute_Force_And_Moment函数实现物体根据受力进行运动下面是我下载的udf:
include "udf.h"
#include "mem.h"
#include "dynamesh_tools.h"
static real v_x = 0.0,v_y=0.0,omega_z=0.0;
DEFINE_CG_MOTION(piston,dt,vel,omega,time,dtime)
{
face_t f;
cell_t c;
real f_glob[ND_ND],m_glob[ND_ND],x_cg[ND_ND],dv_x,dv_y,domega_z;
Domain *domain= Get_Domain (1);
Thread *tf1 = Lookup_Thread (domain, 3);
int i;
/* reset velocities */
NV_S(vel, =, 0.0);
NV_S(omega, =, 0.0);
if (!Data_Valid_P())
return;
for(i=0;i<=ND_ND;i++)
{
f_glob=0;
m_glob=0;
}
/* get the thread pointer for which this motion is defined */
for(i=0;i<ND_ND;i++)
x_cg=DT_CG(dt);
if(time<=0.001)
{
vel[1]=3.5;
Message ("ntime=%f ,x=%.10lf ,y=%.10lf , force_x=%.1f ,force_y=%.1f ,moment_x=%f,moment_y=%f,moment_z=%f ,Vx=%f ,Vy=%f ,omega_z=%fn", time,x_cg[0],x_cg[1],f_glob[0],f_glob[1],m_glob[0],m_glob[1],m_glob[2],v_x,v_y,omega_z);
return;
}
/* compute pressure force , viscosity force and moment on body by looping through all faces */
Compute_Force_And_Moment (domain, tf1, x_cg, f_glob, m_glob, TRUE);
/* compute change in velocity and angle velocity, i.e., dv = F * dt / mass
velocity update using explicit Euler formula */
dv_x = dtime * f_glob[0] / 39;
v_x += dv_x;
dv_y = dtime * f_glob[1] / 39;
v_y += dv_y;
domega_z=dtime*m_glob[2]/390;
omega_z+=domega_z;
Message ("ntime=%f ,x=%.10lf ,y=%.10lf , force_x=%.1f ,force_y=%.1f ,moment_x=%f,moment_y=%f,moment_z=%f ,Vx=%f ,Vy=%f ,omega_z=%fn", time,x_cg[0],x_cg[1],f_glob[0],f_glob[1],m_glob[0],m_glob[1],m_glob[2],v_x,v_y,omega_z);
/* set components of velocity */
vel[0] = v_x,vel[1]=v_y,omega[2]=omega_z;
}
可以编译但一运行Fluent就出现The FLUENT process could not be started
见下图,希望大侠帮忙解决,先谢谢了!
 楼主| 发表于 2011-10-25 20:23:09 | 显示全部楼层
错误提示见附件。
截图00.png
 楼主| 发表于 2011-10-26 07:49:55 | 显示全部楼层
哈哈,自己顶一顶!
 楼主| 发表于 2011-10-27 08:27:57 | 显示全部楼层
问题已解决。

点评

请问问题怎么解决的,谢谢  详情 回复 发表于 2020-6-22 08:50
发表于 2014-7-18 21:22:44 | 显示全部楼层
请问怎么解决的
发表于 2014-9-3 10:21:52 | 显示全部楼层

回复 4# watcher007 的帖子

我昨天还能运行,今天也出现了这种一样的情况,一出现这个就不能迭代计算,退出倒是挺快的,就是不知道问题出在哪儿了,大神能说一下吗?
发表于 2020-6-22 08:50:45 | 显示全部楼层

请问问题怎么解决的,谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表