CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   problem whit remeshing,Deforming in Dynamic mesh (https://www.cfd-online.com/Forums/fluent/162329-problem-whit-remeshing-deforming-dynamic-mesh.html)

javadeghbali November 8, 2015 07:51

problem whit remeshing,Deforming in Dynamic mesh
 
Hi everyone
I want to move right wall and remeshing while the wall is moving
I set up the settings for this work like u can see in picture and I comopiled this UDF code :

#include "udf.h"
DEFINE_CG_MOTION(popet,dt,vel,omega,time,dtime)
{
vel[0] = 0.5 ;
}

right wall moves on positive X axis and upper wall & bottom walls are deforming and cells is remeshing but my problem is :
when upper & bottom walls are deforming,isn't generate new cells and only the cell that is near the wall is growing !!!
i want to generate a new cell in upper & bottom walls while moving right wall

please help me
tanks

images :
http://uupload.ir/files/21o_0.png
http://uupload.ir/files/fqk6_1.png
http://uupload.ir/files/s3t_2.png

`e` November 8, 2015 16:52

It appears you're attempting the lid-driven cavity problem; the moving/deforming mesh model isn't required for this case. You can specify a wall motion on boundary conditions within Fluent via Boundary Conditions > Wall > Momentum > Wall Motion > Moving Wall.

javadeghbali November 9, 2015 07:09

In my project I have a problem like this and I should to use from dynamic mesh
This example is a sipmle exaple for show my problem
Moving wall isn't true for this situation

neko November 9, 2015 08:33

Hi!

You should define the moving wall as rigid body, since there is no relative motion between the nodes of this thread. And then, apply your udf to this boundary. However, you should chick your code: you are setting vertical velocity: vel[1] is vel in y-direction.

You will obtain new cells in upper and lower walls if you define them as deforming, and you define properly their geometries (I recommed you to use an UDF for this).

Good luck. Moving and deforming mesh is not a trivial task.


All times are GMT -4. The time now is 20:55.