Ansys Fluent: False Gear Pump With Dynamic Mesh: Setup

Опубликовано: 04 Октябрь 2024
на канале: Fluent Setup
13,023
129

Simulation of a 2D gear pump using the dynamic mesh method. In the video you can see that the gears do not touch each other, obviously this is not physically possible, hence what i mean by "false".

The contents of the UDFs are:

UDF1:

#include "udf.h"

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

real t = CURRENT_TIME;
NV_S (vel, = , 0.0);
NV_S (omega, = , 0.0);
omega[2] = 60.0*(1-0*exp(-500000.0*t));

}

UDF2:

#include "udf.h"

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


real t = CURRENT_TIME;
NV_S (vel, = , 0.0);
NV_S (omega, = , 0.0);
omega[2] = -60.0*(1-0*exp(-5000000.0*t));


}

These are to set the motion of both gears.

#Ansys #AnsysFluent #CFD #AutoDeskInventor