-
-
November 17, 2018 at 8:58 am
AmkJU
Subscriber
I have written a udf for the above equation.
I am not getting the correct results for the circular channel.
Please check if udf is correct or not??
#include "udf.h"
#define mu_ref 0.001005
#define temp_ref 293
DEFINE_PROPERTY(viscosity_T,c,t)
{
real mu_lam;
real T = C_T(c,t);
mu_lam = mu_ref * ( pow((T/temp_ref),8.9) ) * exp( 4700 * ((1/T)-(1/temp_ref)) );
return mu_lam;
}
Thank You.
-
November 18, 2018 at 8:08 am
DrAmine
Ansys EmployeeLooks Ok.
-
November 18, 2018 at 2:32 pm
Karthik R
AdministratorHello,
please share more on what you think are the issues with your results? Are you seeing any compilation errors with your UDF? Also, there is an example UDF in the Fluent customization manual for defining viscosity. I'd encourage you to take a look at that.
please provide some more information so we can help you better.
thanks.
Best,
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
-
2688
-
2138
-
1351
-
1136
-
462
© 2023 Copyright ANSYS, Inc. All rights reserved.