What is the best way to import tabulated values for example air Thermal Conductivity vs Temperature?
Tagged: Air-properties, input-file, programming, text-file, udf-fluent
-
-
March 16, 2022 at 10:30 am
Randy92
SubscriberI'm working with very high temperatures and I got txt files with data for Density, Cp, Thermal Conductivity and Viscosity values at different Temperatures. I don't have experience with UDF and C programming. Is there an easy way to import or read this data? Or do I have to learn C programming and write an UDF?
March 16, 2022 at 11:06 amDrAmine
Ansys EmployeeYou will need to learn C to include these tables. For Air we have however Real Gas Property Tables which you might use directly (after creating the tables) or you use temperature dependent functions to incorporate what you have in your tables.
March 16, 2022 at 1:39 pmRandy92
SubscriberThank you for your answer. Can I just paste the values of my table in the RGP Table Data Set? And I can see that RGP is only available for Density.
March 16, 2022 at 2:29 pmRandy92
SubscriberAnd what about the Read Table function? I can read txt files with it but can I use this for the air properties?
March 17, 2022 at 10:15 amDrAmine
Ansys EmployeeYou can read the tables using C and do interpolation there. Only of couple of things can be adjusted using Tables in Ansys Fluent. I can tell that material properties do not belong to these parameters. So you require UDF/C.
March 17, 2022 at 10:16 amDrAmine
Ansys EmployeeNo: RGP is a genialized property table which is very accurate. You do not to use your own tables.
March 17, 2022 at 3:47 pmRandy92
SubscriberOk. Why is it when I asked my friend, who is a programmer, to help me with C to write something that can read the tabulated data he says this is something very complex that will take a long time and it is not realistic for me, a person with no programming experience, to learn this and do it myself within an realisitic time frame? Is he right or does he somehow not understand what I have to do. I found an example of someone making a UDF for air viscosity vs temperature (something I have to do as well).
***Edited by DrAmine: removed external link**
When I showed him this and told him we at least have something that we can use/copy he still wasn't positive. Maybe it is an improvement for the next version, to make Ansys read data from excel or something. I just don't understand why this has to be so complicated xd.
March 18, 2022 at 8:52 amaitor.amatriain
SubscriberWhy don't you fit the data to a polynomial?
March 18, 2022 at 9:30 amDrAmine
Ansys Employeewrote it: why not fitting data to polynomial?
I can understand that you do not want to dive into programming and to have things done using C and you expect to have that already in Ansys Fluent: I can understand that. We actually are working on extending 1D or 3D Tables so that it is not required to code anything. This will be added in the future.
March 21, 2022 at 4:04 pmMarch 21, 2022 at 6:11 pmDrAmine
Ansys EmployeeUse Fluent Expressions and you will be happy
March 21, 2022 at 6:12 pmDrAmine
Ansys EmployeeFor heat capacity you will require UDF though.
Viewing 11 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceEarth 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.
Trending discussions- 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
Top Contributors-
2564
-
2068
-
1289
-
1106
-
459
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-