CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Regarding Simulation Gear Pump (https://www.cfd-online.com/Forums/fluent/202095-regarding-simulation-gear-pump.html)

PMHATRE86 May 21, 2018 08:26

Regarding Simulation Gear Pump
 
1 Attachment(s)
Guys, I need to simulate the gear pump to check the flow motion in Ansys Fluent for a 2D geometry. However, I am not able to provide the BC's properly and the dynamic mesh condition to get the desired result.

Please help me in this.

Looking forward to your suggestions.
Please find attached the geometry and youtube link.

https://www.youtube.com/watch?v=c6gwU7IHtlo

Mess August 25, 2018 03:52

Hi. Here is a link to a tutorial on gear pump with ansys fluent.
https://wenku.baidu.com/view/e2d086c...5.html?re=view

Kummi September 17, 2018 06:48

Hii,
Are you dealing with overset mesh interface in Fluent?

vivjk94 December 28, 2021 10:58

Quote:

Originally Posted by PMHATRE86 (Post 693052)
Guys, I need to simulate the gear pump to check the flow motion in Ansys Fluent for a 2D geometry. However, I am not able to provide the BC's properly and the dynamic mesh condition to get the desired result.

Please help me in this.

Looking forward to your suggestions.
Please find attached the geometry and youtube link.

https://www.youtube.com/watch?v=c6gwU7IHtlo

Hi
in order to do dynamic mesh, you need to write a user defined code in .c file format. When you import the gear pump cad file in the workbench, use named selection to mark the two gear boundaries separately and name them as gear_one and gear_two. After that you need to write the following code in notepad:'
#include "udf.h"

DEFINE_CG_MOTION(gear_1_new,dt,vel,omega,time,dtim e)
{

real t = CURRENT_TIME;
NV_S (vel, = , 0.0);
NV_S (omega, = , 0.0);
omega[2] = -314.1592654; /*change the - sign to positive for gear 1*/

}
' and save it with the filename as gear_1 and gear_2 respectively. For gear two, the omega value will be positive so that it rotates in anti clockwise direction.

In fluent, go to 'Parameters and customization' in the menu tree and select user defined function. Click add button, find the udf file saved in .c format and click build. If you have Ansys 2020 and above, you have to tick 'use inbuilt compiler' and if you have previous version of Ansys then you have to install visual studio software and reopen fluent from Visual studio command prompt and then compile the udf.
Important tip: make sure the working directory(which appears when you click setup from workbench or while opening fluent) contains the udf you want to compile or else you wont be able to compile the udf and will have to deal with error codes.

Regarding boundary conditions, you could set the inlet as pressure inlet or velocity inlet and set the outlet as pressure outlet.
Good luck


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