-
-
June 29, 2020 at 3:05 pm
pascuan
SubscriberI am trying to create a moving block from a pressure inlet. I have set up a dynamic mesh. I do not know how to write my own udf though. Any assistance would be great. Please help.
-
June 30, 2020 at 1:19 am
Karthik R
AdministratorPlease take a look at the Fluent Customization manual. There are several UDF examples you can use as your starting point to write your code. Here is the link
If you are looking for instructions on how to use this help, please have a look here.
https://forum.ansys.com/forums/topic/how-to-access-the-ansys-online-help/
I hope this helps.
Thank you.
Karthik
-
July 4, 2020 at 2:37 am
pascuan
SubscriberHello Karthik,
I have working udf for the movement of the zone reference for dynamic mesh. However, I would like my moving zone to stop when it contacts with the wall. I get an error when the zone reaches the wall too. I have checked 2.6.6 DEFINE_CONTACT for the details but I cannot interpret the code given. Any assistance would be appreciated. I like learning about CFD Ansys. Thank you for your help so far.
I have attached my udf and dynamic mesh motion for reference.
https://drive.google.com/drive/folders/1xPiwE4oRW4Al5Osuv5B5YUTvXu5B_eAj?usp=sharing
-
July 6, 2020 at 12:46 pm
Karthik R
AdministratorHello,
Please see if you can use the 'Contact Detection' feature in Fluent for this. Here are the details.
Also, as Ansys employees, we are not able to open any files attached to this community. Just an FYI.
Thank you.
Karthik
-
July 6, 2020 at 1:46 pm
pascuan
SubscriberHi Karthik,
I have visited the link but am having trouble when using it on Fluent. When i changed the proximity setting to a higher threshold, I believe contact was detected but my program has been interrupted. Every time I run it the program is interrupted and I have to close it through task manager. Thank you for you help. I believe we are almost there.
This is a picture for reference.
-
July 8, 2020 at 12:11 pm
Karthik R
AdministratorExcellent! Gald this works. Please feel free to mark the most appropriate answer as 'Is Solution' to benefit the community.
Thank you!
Karthik
-
- 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
-
3850
-
2629
-
1853
-
1252
-
600
© 2023 Copyright ANSYS, Inc. All rights reserved.