TAGGED: ansys-cfd, cfd-icfluent, cfd-udf-fleunt, fluent, udf
-
-
January 6, 2024 at 8:53 am
Shubham Chaudhari
SubscriberI am writing the UDF of Pistion motion In Layering technique as the profile is not working.Â
This is a 3D problem.
The compiled UDF is given as below:
include "udf.h"
#include "dynamesh_tools.h"
DEFINE_CG_MOTION(piston,dt,vel,omega,time,dtime)
{
NV_S(vel, =, 0.0);
NV_S(omega, =, 0.0);
vel[0]=1;time = 1;
dtime = 0.001;
printf("\n");
printf("\n x_velocity = %g \n", vel[0]);
}as above the piston moving at 1000mm/sec speed. To lower the computational time i am moving at this only with stroke length of 260mm. But while changing the number of time step to 280 with time step size 0.001. The fluent getting crashed.Â
i am not sure what causing the problem in the solution, is it UDF or simulation setup.
-
January 8, 2024 at 1:29 pm
SRP
Ansys EmployeeHi,
The time step size (0.001 seconds) appears to be reasonable. However, reducing the time step even further might help stabilize the simulation. Try decreasing it and see if the issue persists.
-
- The topic ‘UDF for Pistion Motion in Layering technique’ is closed to new replies.
- How do I get my hands on Ansys Rocky DEM
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script Error
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- convergence issue for transonic flow
- Running ANSYS Fluent on a HPC Cluster
- Point exception in erosion calculation
-
1937
-
839
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.