|
[Sponsors] |
April 21, 2004, 00:09 |
Help about dynamic mesh
|
#1 |
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! |
|
|
|
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 |