April 3, 2020 at 11:21 pmallenpvarSubscriber
I am attempting to understand how to use UDF's in PolyFlow. According to the manual, UDF can be used to define value parameters (for material data) or boundary conditions.
These can be functions of the following quantities:
- Fields: such as the velocity, the temperature, or the pressure
- Additional quantities: local compression rate, local shear rate, local stretch rate etc.
- Evolution parameter S (EVOL-based functions)
The manual also mentions that we can use the parameters listed in the Additional quantities to derive generalized Newtonian viscosity models as seen in the screenshot below,
How do I use these custom generalized Newtonian viscosity model in Polyflow?
The manual only explains how to use the PMAT button in Polyflow to define a UDF within a field inside an existing shear rate dependence viscosity model or temperature dependence viscosity model
I am using Polyflow within Ansys workbench, so I have read that you need to save it as a UDF file and import it by right clicking Setup and importing it. Next you have to enable it for use by right clicking Solution > Preferences > Polyflow and click the the Use a UDF checkbox.
I must be doing something wrong, can you please advice, how I can use a custom generalized Newtonian viscosity model ?
April 8, 2020 at 2:36 pmBenjamin DucoeurAnsys Employee
Please look in the help : https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/prod_page.html?pn=Polyflow&lang=en
In the section "Polyflow Examples Files", you will find example 12. It is an example about UDF applied to a viscosity law.
Hope this helps.
- You must be logged in to reply to this topic.
Simulation World 2022
Check out more than 70 different sessions now available on demand. Get inspired as you hear from visionary companies, leading researchers and educators from around the globe on a variety of topics from life-saving improvements in healthcare, to bold new realities of space travel. Take a leap of certainty and check out a session today here.
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.
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
- Heat transfer coefficient
- What are the differences between CFX and Fluent?
- Floating point exception in Fluent
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2022 Copyright ANSYS, Inc. All rights reserved.