-
-
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
- The topic ‘moment along z axis at base or CG of water tank for 2 secs’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- 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
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- Script Error
- convergence issue for transonic flow
- RIBBON WINDOW DISAPPEARED
- Running ANSYS Fluent on a HPC Cluster
Top Contributors
-
1762
-
635
-
599
-
591
-
366
Top Rated Tags
© 2025 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.