CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: AlexanderZ
Forum: Fluent UDF and Scheme Programming January 2, 2019, 02:21
Replies: 17
Views: 5,263
Posted By AlexanderZ
if(temp == T_int[i]) mu_lam = eta_T[i]; ...

if(temp == T_int[i])
mu_lam = eta_T[i];

this temp == T_int[i] approach is bad, because what is the chance you will have exactly T_int[i] temperature?

DEFINE_PROPERTY(cell_viscosity, cell,...
Forum: Fluent UDF and Scheme Programming January 1, 2019, 20:44
Replies: 17
Views: 5,263
Posted By AlexanderZ
for i(i=1;i<= size_int;i++) { if...

for i(i=1;i<= size_int;i++)
{
if (T_int[1]>temp || T_int[size_int])
break;
else if (T_int[i]<temp && T_int[i+1]>temp)
mu_lam =...
Forum: Fluent UDF and Scheme Programming November 21, 2017, 22:51
Replies: 17
Views: 5,263
Posted By AlexanderZ
Do you compile this code or interpret it? ...

Do you compile this code or interpret it?

Some functions do not supported for interpretation, so you should compile this code.

Best regards
Forum: Fluent UDF and Scheme Programming November 20, 2017, 21:14
Replies: 17
Views: 5,263
Posted By AlexanderZ
First check, how your input file is read,...

First check, how your input file is read, successfully?

/*LOOP TO READ THE FILE AND STORE IN A VECTOR */
i=1; /* initialize before to loop */
for (i=1;i<=5;i++)
{
fscanf (vel_x, "%f",...
Forum: Fluent UDF and Scheme Programming November 19, 2017, 19:30
Replies: 17
Views: 5,263
Posted By AlexanderZ
Nice question, I guess, something wrong with...

Nice question,
I guess, something wrong with your UDF

Best regards
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -4. The time now is 19:46.