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.
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- I am doing a corona simulation. But particles are not spreading.
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
-
3907
-
1414
-
1256
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.