Dynamic mesh - again
I need help !!! I am combining and nothing.
I have four wall: wall-1 ______________ | | | | | | wall-2 | | wall-3 | | | | ______________ wall-4 If it's possible to moving wall-4 (direction to wall-1) without uses UDF file. Which walls is stationary and moving. And which parameters in "Dynamic Mesh" I must determine???. Regards |
Re: Dynamic mesh - again
Sorry, but my schematic is not clear. This is square which consist od four walls (top - wall1, bottom -wall4, left -wall2, right-wall3).
Regards |
Re: Dynamic mesh - again
only wall-4 you don't need use stationary set layering
you can use in-cilinder for tests or try this udf #include "udf.h" static double linear; DEFINE_CG_MOTION(linear, dt, vel, omega, time, dtime) { real w = 300,a=0.1; NV_S (omega,=, 0.0); linear = w*sin(w*CURRENT_TIME); vel[0] = linear; } 0 is the direction of moving 0 is x 1 is y 2 is z |
Re: Dynamic mesh - again
Hi
But I cannot compiled: ..\..\src\pist.c(8) : error C2373: 'linear' : redefinition; different type modifiers ..\..\src\pist.c(4) : see declaration of 'linear' Regards |
All times are GMT -4. The time now is 21:23. |