August 31, 2018 at 6:55 amDevank12Subscriber
I want to define Density of water that varies with temperature I have written a UDF based on the following polynomial equation. I donot know it is right . If anycorrection plz inform me. Thanks
real T = C_T(c,t);
rho = 765.33+1.8142*T – 0.0035*pow(T,2.)
C_UDMI(c,t,0) = rho;
August 31, 2018 at 10:03 amDrAmineAnsys Employee
Help your self by using debugging messages. You have started with writing into UDMI's that if fine. You need to use the cell pointer and cell thread pointer passed by Fluent. Actually you don't need an UDF as you can use the polynomial option there.
September 10, 2019 at 1:33 pmRagnorakManSubscriber
September 10, 2019 at 2:12 pmDrAmineAnsys Employee
Why using an UDF to do just a temperature dependent density. Just use polynomial law in Fluent.
September 12, 2019 at 5:18 pmRagnorakManSubscriber
Because I'm trying to model a phase change material but as a solid. The drop down menu does not provide me with a polynomial function. Only the specific heat capacity and the thermal conductivity
September 13, 2019 at 6:34 amDrAmineAnsys Employee
You need to define that solid as a fluid in order to use phase change models or any phase-change related UDF.
- 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.