TAGGED: #fluent-#ansys, define_grid_motion, dynamic-mesh, udf
-
-
June 30, 2023 at 9:59 am
Christopher Pass
SubscriberI am trying to model a case in which one cell zone in my domain will undergo both rigid body motion and deforming motion. I have defined the rigid body motion in a UDF using the DEFINE_CG_MOTION macro, this motion is working fine.
I have specified the deforming motion using the DEFINE_GRID_MOTION macro, I had a version of this UDF in which I was defining node positions on the deforming boundary explicitly, this did not work so I have modified this by using the NODE_COORD_NEST macro which I believe should specify the deforming motion relative to the CG motion of the whole zone.
My workflow is to:
- Compile DEFINE_CG_MOTION and DEFINE_GRID_MOTION macros.
- Setup rigid body deformation on relevant cell zones.
- Setup 'user-specified' mesh deformation on deforming boundary.
- Set the user-specified mesh deformation to occur relative the CG motion of the adjacent cell zone.
This seems to be working in that I can clearly see CG motion as specified and I can also see motion of the boundary nodes. The issue is that, despite setting a deforming thread flag (SET_DEFORMING_THREAD_FLAG) to define the adjacent cell zone as deforming, I dont see any deformation of the interior mesh so I get inverted elements immediately.
Can anyone offer any advice? I have searched this forum and also dug through the documentation to no avail so any guidance would be appreciated!
-
July 6, 2023 at 11:08 am
C N
Ansys EmployeeHello christopher,
You have raised a SR and I am working on it. As discussed , It is most probably the udf not working properly . Kindly check on it. I will update you regarding this on the service requestal portal
Thanks,
Chaitanya Natraj
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Suppress Fluent to open with GUI while performing in journal file
- Mesh Interfaces in ANSYS FLUENT
- Time Step Size and Courant Number
- error: Received signal SIGSEGV
-
7680
-
4476
-
2957
-
1433
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.