CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Dynamic mesh - again (https://www.cfd-online.com/Forums/fluent/36950-dynamic-mesh-again.html)

Antoni June 14, 2005 04:58

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

Antoni June 15, 2005 05:28

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

Rafael June 15, 2005 10:56

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


Antoni June 16, 2005 04:44

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 23:50.