HALLO FOR ALL

I would like to do something like BODY MOVMENT IN FLUID (2D), therefore I used dynamic mesh in fluent to simulate body movement (translation only with uniform velocity in x-axis) in fluid.

Rigid body (like car) + moving zone (around car) + deformation zone +stationary zone

With UDF as bellow

/* moving grid problem - CG movement of a box */

#include "udf.h"

#include "dynamesh_tools.h"

DEFINE_CG_MOTION(move, dt, cg_vel, cg_omega, time, dtime)

{

cg_vel[0] = 6.0;

cg_vel[1] = 0.0;

cg_vel[2] = 0.0;

cg_omega[0] = 0.0;

cg_omega[1] = 0.0;

cg_omega[2] = 0.0;

}

DEFINE_SDOF_PROPERTIES(sdof_properties, prop, dt, time, dtime)

{

prop[SDOF_MASS] = 40.0;

prop[SDOF_IXX] = 2.2;

prop[SDOF_IYY] = 2.01;

prop[SDOF_IZZ] = 0.001;

prop[SDOF_ZERO_TRANS_X] = TRUE;

/*prop[SDOF_ZERO_TRANS_Y] = TRUE;*/

/*prop[SDOF_ZERO_ROT_X] = TRUE;*/

/*prop[SDOF_ZERO_ROT_Z] = TRUE;*/

printf("\n updated 6DOF properties");

}

=====================================================================================

but when I display mesh motion I see the body moves correct but without any reaction in the other domain as in the attachment files. please I need your suggestions.

Best regards

Similar questions and discussions