Ansys Learning Forum › Forums › Discuss Simulation › Fluids › Definition of UDF as a Boundary Condition › Reply To: Definition of UDF as a Boundary Condition
Hello,
Please check this link from the Ansys Customization Manual to understand how to hook the DEFINE_PROFILE UDF to the appropriate boundary.
6.2.25. Hooking DEFINE_PROFILE UDFs (ansys.com)
Alternatively, I would recommend you to consider using Expressions instead of using a UDF to provide the vibration. The Fluent Expression Language is an interpreted, declarative language based on Python, that enables you to specify complex boundary conditions and source terms with respect to time, iteration number, position, and solution variables. The interface is intuitive and it is easy to write the required Expressions. Please check the link from the Ansys User Guide below to understand how to write Expressions in Ansys Fluent as well as attach them as a boundary condition.
5.1. Introduction to Expressions (ansys.com)
If you are not able to access the link, please refer to this forum discussion: Using Help with links (ansys.com)
Thanks!