-
-
August 14, 2018 at 3:33 pm
JOHN_SMART
SubscriberHi guys
How I can define the density in the term of two parameters: temperature and salinity. i.e software calculate density with the respect the 2 parameters. any of you can describe an algorit?m?
Best.
-
August 14, 2018 at 3:41 pm
Karthik R
AdministratorHello John,
I'd like to point you to a user defined macro - DEFINE_PROPERTY. You can use this macro in a UDF. You can compile and load this UDF into your simulation. Please refer to section 2.3.24 DEFINE_PROPERTY UDFs (Fluent customization manual) for more details and examples. Please note that you will need the two parameters, temperature and salinity, to be defined in your simulation and will need to use them as inputs to your UDFs. Please refer to the examples in the manual on how to code this.
Hope this helps.
Best Regards,
Karthik
-
- 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.

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
-
2524
-
2066
-
1279
-
1096
-
459
© 2023 Copyright ANSYS, Inc. All rights reserved.