TAGGED: bug, dynamic-mesh
-
-
November 24, 2023 at 11:34 amThodorisdmSubscriber
Hello,Â
Â
I am running a dynamic mesh problem. The walls are having a sinusoidal motion and the layering method is employed. When I run the case for a frquency of 1Hz it runs normally. When I increase to 20Hz, the mesh is not moving (in the preview mesh at every timestep I have the same volumes). When I am then checking my dynamic zones, every rigid body zone has a nan y-coordinate in the cg definition. Is it a bug?
-
November 24, 2023 at 1:46 pmFedericoAnsys Employee
Â
Hello,Â
did you adjust your time step size accordingly when changing the frequency?Â
Also, mesh preview will deform the mesh, hence you will need to re-read the case to a previous state with undeformed mesh. To a Mesh Check and make sure the CG coordinates are valid before you initialize the motion.
Â
-
November 24, 2023 at 1:50 pmThodorisdmSubscriber
Yes everything has been adjusted. If my timestep was not adjusted, I think I would have a message for negative volumes, no?
-
November 24, 2023 at 3:50 pmFedericoAnsys Employee
Yes and no, depending on what your ymotion UDF does, time step size can bring in other issues as well.
As per my previous comment, do a mesh check prior to doing a Preview of Mesh Motion. Otherwise, you may share your UDF code here to give us more information.
-
-
November 24, 2023 at 3:59 pmThodorisdmSubscriberI always check the mesh prior to the preview of the mesh motion. Hereby my UDF. Always works for frequency 1-5 but not for larger.Â#include "udf.h"Â#define amplitude 0.01#define frequency 10ÂDEFINE_CG_MOTION(ymotion,dt,vel,omega,time,dtime){real vmax;real Tper;ÂÂTper = 1/frequency;vmax = (amplitude * 2*M_PI) / Tper;vel[1] = vmax*(cos(2 * M_PI * time / Tper));}
-
November 24, 2023 at 4:06 pmFedericoAnsys Employee
what is your dt for this case with 10Hz?
-
November 24, 2023 at 4:09 pmThodorisdmSubscriber
dt = 4.7 e-4 sec. Ideal height on the stationary zones to calculate the split and compression is 8e-4 m. and the real height of my mesh there is 6e-4 m .
-
November 24, 2023 at 4:36 pmFedericoAnsys Employee
Ok, all your DM settings appear to be ok.Â
However, Tper appears to be an integer division, which results in 0. Can you try with Tper = 1.0/frequency ?
-
-
November 24, 2023 at 4:46 pmThodorisdmSubscriber
yes, that solves everything! Thank you!
-
- The topic ‘Dynamic mesh-nan in cg definition’ is closed to new replies.
- error udf
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Fluent fails with Intel MPI protocol on 2 nodes
- Cyclone (Stairmand) simulation using RSM
- Diesel with Ammonia/Hydrogen blend combustion
- Non-Intersected faces found for matching interface periodic-walls
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Encountering Error in Heterogeneous Surface Reaction
- How to obtain axial and tangential velocity in CFX-post?
-
1141
-
471
-
468
-
225
-
201
© 2024 Copyright ANSYS, Inc. All rights reserved.