July 14, 2019 at 4:36 amjzliuyuSubscriber
I am working on a case of laminar flow of a viscous liquid in a cylinder. The rheological model of the liquid can be written as follows:
The Udf I wrote is as follows:
real gamma = C_STRAIN_RATE_MAG(cell,thread);
However, I found it does not work in Fluent (Ansys 2019 R1) and the following message is shown in Console window:
Error: floating point exception
Error Object: #f
Can anybody tell me what is wrong with my UDF?
July 15, 2019 at 5:10 amDrAmineAnsys EmployeeYou might use for viscosity a standard value on the beginning. Consider that in your UDF.
July 15, 2019 at 10:28 amRobAnsys Employee
When you interpret/compile the code what errors do you see? If there aren't any does the model run with a fixed viscosity?
- 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.
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
© 2023 Copyright ANSYS, Inc. All rights reserved.