CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Help about dynamic mesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 21, 2004, 00:09
Default Help about dynamic mesh
  #1
lingo
Guest
 
Posts: n/a
Hi,evryone:

I need udf of dynamic mesh in simulationg a pump whose rotate speed is changing with the time same as SIN(). The udf is as follows: #include "udf.h" #include "dynamesh.h" DIFEINE_CG_MOTION(pump,dt,vel,omega,dtime,time) {

Thread*t;

face_t f;

real NV_VEC(A);

t=DT_THREAD(dt);

begin_f_loop(f,t)

{

omega=sin(10*time);

}

end_f_loop(f,t) } When I compile it ,message appears "error C2223: left of '->thread' must point to struct/union"

I don't know how to solve it ? I think for my situation ,the udf must have many problemse except syntax error,could you give me some advice? Thank you very much!
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Incylinder dynamic mesh with volumetric reaction mas FLUENT 4 May 3, 2012 10:22
Dynamic Mesh on Pintle type injector. herntan FLUENT 15 January 4, 2012 03:31
pls help. mesh collapsed with dynamic mesh. wlt_1985 FLUENT 1 July 28, 2011 01:53
dynamic mesh on a hexa grid Manoj Kumar FLUENT 0 August 21, 2007 07:41
Dynamic mesh + grid adapt = Crash! (Files included BillH FLUENT 4 July 24, 2007 15:31


All times are GMT -4. The time now is 18:27.