-
-
September 27, 2017 at 11:19 am
admin
Ansys EmployeeHow to assign a transient velocity profile to a moving wall?
-
October 17, 2017 at 5:26 am
admin
Ansys EmployeeThe Below UDF will perform the job. A few points about the UDF and its use: 1) The UDF uses a macro which directly assigns the velocity to the thread corresponding to the moving wall, instead of going to the GUI to use the value assigned by user. So this UDF will not update the changes in the boundary condition corresponding to moving wall. To see the updated values on the moving wall, one has to display contours of velocity on that wall with node values enable and global values disabled. The Min and Max values reported in the Contours panel will be the updated values of the velocity assigned to the moving wall. 2) The direction of the wall velocity has to be set by the user in the wall boundary condition panel. #include "udf.h" #include "threads.h" #define wallid 5 DEFINEADJUST(myadjust,domain) { Thread thread = Lookup_Thread(domain, wall_id); real current_time = RP_Get_Real("flow-time"); THREAD_VAR(thread).wall.translate_mag = 10 - (5currenttime); } /* Here, wallid is the integer value (zone id), corresponding to the moving wall thread. It can be obtained from Define -> Boundary Condition Panel. In the current UDF, wall velocity is related linearly with the time to assign a value to the moving wall. */
-
- 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.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
-
2706
-
2146
-
1357
-
1150
-
462
© 2023 Copyright ANSYS, Inc. All rights reserved.