All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
REPORT Gearbox Simulation OBJECTIVE To simulate the Fluid Sloshing effect inside a Gearbox through four different cases. Discuss highlighted terminology of this simulation and answer a few questions related to them. CASE Gearbox The gearbox is a mechanical method of transferring energy from one device to another and is…
Vidu Bansal
updated on 10 Nov 2022
REPORT
Gearbox Simulation
OBJECTIVE
CASE
Gearbox
The gearbox is a mechanical method of transferring energy from one device to another and is used to increase torque while reducing speed.
Gearboxes/Gear reducers or enclosed speed reducers are used in many electromechanical drive systems. Gearboxes are essentially multiple open gear sets contained in the housing. The housing supports bearings and shafts hold in lubricants and protects the components from surrounding conditions. Gearboxes are available in a wide range of load capacities and speed ratios. The purpose of a gearbox is to increase or reduce speed. As a result, torque output will be the inverse of the speed function.
Here, the gearbox consists of two spur gears in housing. The gears would be immersed in the liquid filled up to a certain height in the gearbox. The gears are run at 200 radians per second. When the gear set is running, this liquid is carried by the teeth thus resulting in self-lubrication of the gearbox. Liquid sloshing also occurs as the result. Considering the complete 3D simulation of the gearbox would be computationally expensive in terms of mesh and time taken a 2D simulation is conducted. A transient simulation is performed to capture two complete rotations of the gear. At industry standards, gearbox simulations capture two complete rotations of the gear. At industry standards, gearbox simulations would be run typically up to 6-7 rotations. The gear ratio is equal to one and both the gears are of the same size.
There are four cases considered as follows,
Case
PROCEDURE TO SET UP THE CASE
SpaceClaim
Gearbox 3D model
Extracted Fluid Volume
Sectional view
2D geometry (Final Geometry)
Mesh
Mesh Details
Name selection
Mesh
Mesh metric
Setup
Dynamic meshing
Methods
The motion of assigned using User-defined functions and centre of gravity location for both the gears as gathered i.e. (0, 0) and (0.115, 0).
Adapt
For 20% immersion
For 30% immersion
Solver
General
Models
Multiphase
Volume of fluid
Phases
Viscous
Material
User-Defined
Functions – Compiled
UDF
#include "udf.h"
DEFINE_CG_MOTION(right_motion, dt, vel, omega, time, dtime)
{
vel[0] = 0.0;
vel[1] = 0.0;
vel[2] = 0.0;
omega[0] = 0.0;
omega[1] = 0.0;
omega[2] = 2.0e2; /* [rad/s]*/
}
DEFINE_CG_MOTION(left_motion, dt, vel, omega, time, dtime)
{
vel[0] = 0.0;
vel[1] = 0.0;
vel[2] = 0.0;
omega[0] = 0.0;
omega[1] = 0.0;
omega[2] = -2.0e2; /* [rad/s]*/
}
Solution
CALCULATION
As, mu = (2*3.14*N)/60
Therefore, N = 31.83 rps i.e. 0.0314s
For minimum of 2 rotations; N = 2*0.0314 s = 0.0628 s
To find the number of time steps
(Time step size) * (Number of time steps) = (Total flow time)
Time step size = 0.0001
Therefore,
Number of time step * 0.0001 = 0.0628
Number of time step = 628 (approximately 700)
OUTPUT
Residuals
Contour at 0.07 flow time
Animation
Residuals
Contour at 0.07 flow time
Animation
Residuals
Contour at 0.07 flow time
Animation
Residuals
Contour at 0.07 flow time
Animation
CONCLUSION
TERMINOLOGY
Dynamic Meshing
The dynamic mesh model allows you to move the boundaries of a cell zone relative to other boundaries of the zone, and to adjust the mesh accordingly. The boundaries can move rigidly concerning each other, mainly linear or rotational motion, or can deform. In either case, the nodes that define the cells in the domain must be updated as a function of time, and hence the dynamic mesh solutions are inherently unsteady. Combined with the six degrees of freedom (6 DOF) solver, dynamic mesh allows the trajectory of a moving object to be determined by the aero or hydrodynamic forces from the surrounding flow field. The dynamic mesh model in ANSYS Fluent can be used to model flows where the shape of the domain changes with time due to motion on the domain boundaries. The dynamic mesh model can be applied to single or multiphase flows. The volume mesh update is automatically handled by ANSYS Fluent at each time step based on the new positions of the boundaries.
Application
A good use case for dynamic meshing is rigid body motion where boundaries or internal walls move relative to each other. The dynamic mesh capability is used to simulate problems with boundary motion, such as checking valves and store separations. Dynamic meshes can also be used in simulating the movement of pistons inside a cylinder, flap detecting on an aircraft wing, and deformation of an elastic wall of a balloon on a rigid surface.
The building blocks for dynamic mesh capabilities within ANSYS FLUENT are three dynamic mesh schemes: smoothing, layering, and re-meshing.
Fluid Sloshing Effect
Sloshing refers to any motion of the free liquid surface inside its container. It is caused by any disturbance to partially filled liquid containers. The liquid must have a free surface to constitute a slosh dynamics problem, where the dynamics of the liquid can interact with the container to alter the system dynamics significantly. Slosh is an important effect on spacecraft, ships, some land vehicles and some aircraft.
Advantages
Drawbacks
UDF (User-Defined Function)
A user-defined function is a C function program that can be dynamically loaded with the ANSYS FLUENT solver to enhance the standard features of the code.
One can use a UDF to,
ERROR
‘Dynamic mesh failed’ error
Dynamic meshing failed refers to situations in which the computational grid changes dynamically during the run of the computational fluid dynamics simulation. This opens up the possibility to simulate flows where the geometry changes with time.
To use the dynamic mesh model, one needs to provide a starting volume mesh and a description of the motion of any moving zones in the model. ANSYS Fluent allows one to describe the motion using either boundary profiles, user-defined functions (UDFs), or the six degrees of freedom solver.
ANSYS Fluent expects the description of the motion to be specified on either face or cell zones. If the model contains moving and non-moving regions, one needs to identify these regions y grouping them into their respective face or cell zones in the starting volume mesh that you generate. Furthermore, regions that are deforming due to motion on their adjacent regions must also be grouped into separate zones in the starting volume mesh. The boundary between the various regions need not be conformal. One can use the non-conformal or sliding interface capability in ANSYS Fluent to connect the various zones in the final model.
‘Negative cell volume detected’ error
Negative cell volume detected occurs when the meshed cell moves too far in a time step such that the cell collapses. To avoid this, use the re-meshing and reduction of the time step can be done.
When the boundary displacement is large compared to the local cell sizes, the cell quality can deteriorate or the cells can become degenerate if only mesh smoothing is used. This will invalidate the mesh resulting in negative cell volume and consequently, will lead to convergence problems when the solution is updated to the next time step.
To circumvent this problem, ANSYS Fluent agglomerates cells that violate the skewness or size criteria and locally re-meshes the agglomerated cells or faces. If the new cells or faces satisfy the skewness criterion, the mesh is locally updated with the new cells (with the solution interpolated from the old cells). Otherwise, the news cells are discarded and the old cells are retained.
Floating-point exception error
Floating point exception means that the solver detects an arithmetic operation, which it cannot compute, for example, division by zero, or if the numbers exceed the bounds for the numerical data or types used in the code. Mathematically speaking, we are dealing with a divergence here.
Ways to avoid the error:
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Week 6 - Data analysis
Data Analysis OBJECTIVE Data Visualizer Compatibility check Basic performance calculation THEORY Data analysis Data analysis is a process of inspecting, cleansing, transforming and modelling data with the goal of discovering useful information, informing conclusions, and supporting decision-making. This deals with the…
29 Dec 2022 05:23 PM IST
Week 2 Air standard Cycle
Otto cycle - Python OBJECTIVE Introduction to IC engine and air standard cycle Plotting PV graph of Otto cycle using Python THEORY IC Engine It is a heat engine that converts the chemical energy of fuel into mechanical energy. The chemical energy of the fuel gets converted to thermal energy through the combustion of an…
26 Dec 2022 06:52 PM IST
Week 5 - Curve fitting
CURVE FITTING – Python OBJECTIVE How to change the experimental data into a mathematical equation. Ways to measure the goodness of fit To fit Cp data according to the given Cp vs temperature data file THEORY Curve Fitting It is one of the techniques of data analysis to validate and find the mathematical relation…
25 Dec 2022 04:57 PM IST
Week 3 - Solving second order ODEs
Solving Second Order ODE Using PYTHON OBJECTIVE To create a simulation of simple pendulum with python as a solution for second-order ODE with damping. THEORY ODE is used to describe the transient behavior of a system. Example; PENDULUM The path of pendulum depends on the Newton’s second law. ODE representing the…
25 Dec 2022 07:30 AM IST
Related Courses
0 Hours of Content
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.