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

Help about dynamic mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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


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
Dynamic Mesh on Pintle type injector. herntan FLUENT 16 September 4, 2020 08:27
pls help. mesh collapsed with dynamic mesh. wlt_1985 FLUENT 2 May 7, 2020 10:42
Incylinder dynamic mesh with volumetric reaction mas FLUENT 4 May 3, 2012 10:22
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 19:47.