-
-
April 8, 2024 at 8:58 amvikram chahalSubscriber
i want to apply a moment around z axis of a partially filled tank at its base or CG, after compiling while i am hooking this UDF under dynamic mesh, In base as rigid body its showing incorrect CG motion(Assume No motion)
#include "udf.h"DEFINE_SDOF_PROPERTIES(tank_moment, prop, dt, time, dtime){  real t = CURRENT_TIME; // Obtain the current simulation time Â  prop[SDOF_LOAD_M_Z] = 0.0; // Initialize moment load to 0.0  if (t <= 2.0)  {  Â    prop[SDOF_LOAD_M_Z] = 5000.0; // Moment load in the z-direction  }  printf("\ntank_moment: updated SDOF properties");} -
April 17, 2024 at 9:50 amSRPAnsys Employee
Hi,
Since you are not seeing the intended motion, it may be beneficial to add additional debugging output to your UDF to track the CG's motion over time.
-
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending discussions
- How do you approach this?
- Convective Augmentation Factor in DEFINE_HEAT_FLUX
- Conservation issue with a UDS solution
- Non-Premixed Combustion PDF generation with 4th-order interpolation
- Where is the Electrolyte Projected Area in the Reports tab of PEMFC Model?
- ANSYS fluent – Rocky DEM coupling
- Solar load , Mesh Orientation and Beam direction
Top Contributors
-
461
-
220
-
194
-
177
-
162
Top Rated Tags
© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.