Ansys Fluent: Making Waves With A Moving Wall And Dynamic Mesh.

Опубликовано: 20 Октябрь 2024
на канале: Fluent Setup
11,249
128

This video shows how to simulate the waves on a 2D water tank, using a block that follows an harmonic oscillation on the vertical direction, using the dynamic mesh tool.

This is the UDF:

#include "udf.h"

DEFINE_CG_MOTION(moving_wall,dt,vel,omega,time,dtime)
{

real t = CURRENT_TIME;
NV_S (vel, = , 0.0);
vel[1] = 0.1*4*3.1415*cos(4*3.1415*t);

}


#Ansys #AnsysFluent #CFD #AutoDeskInventor