July 25, 2019 at 3:03 pmastrotomaSubscriber
I have been struggling with implementing a user defined real gas model in Fluent 19.2. To begin with, I am using the example ideal gas UDRGM provided in the Users Guide, copied line for line and I can't get it to work.
The ideal gas UDRGM has been taken from https://www.sharcnet.ca/Software/Fluent6/html/ug/node379.htm.
The case I'm running is extremely simple. It is a square tube with a mass flow inlet and a pressure outlet. It successfully converged with ideal-gas air as the chosen material.
Using Visual Studio 2017 I successfully compile and load the UDRGM library. The console output is as follows:
Using the TUI I set the material to the compiled UDRGM, I initialize the case and hit Calculate and immediately without a single iteration this error is thrown:
I have tried this with the Redlich-Kwong EOS example UDRGM as well and the same error props up. What is happening here, how do I avoid it?
July 25, 2019 at 3:10 pmDrAmineAnsys EmployeeCheck if you are using the example from the documentation 19.2
July 25, 2019 at 3:15 pmastrotomaSubscriber
Where can I find the newest documentation?
July 25, 2019 at 3:24 pmDrAmineAnsys EmployeeJust hit F1 in Fluent.
July 25, 2019 at 3:27 pmDrAmineAnsys EmployeeJust hit Fone or click on help in Fluent
July 25, 2019 at 3:40 pmastrotomaSubscriber
Tried it, still get the same error.
July 26, 2019 at 1:38 pmRobAnsys Employee
If you plug the temperature, pressure etc from the initial solution into the UDF code what density etc does it give? How does that compare to the value in the initial data?
- You must be logged in to reply to this topic.
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.