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: vek123
Forum: Fluent UDF and Scheme Programming January 14, 2019, 01:55
Replies: 17
Views: 5,263
Posted By vek123
it had some small problems, i fixed it and it...

it had some small problems, i fixed it and it works


#include "udf.h"
DEFINE_PROPERTY(cell_viscosity, cell, thread)
{
real mu_lam;

/* local variable */
real temp = C_T(cell, thread); /*...
Forum: Fluent UDF and Scheme Programming January 2, 2019, 02:53
Replies: 17
Views: 5,263
Posted By vek123
That's true actually there is a very small chance...

That's true actually there is a very small chance of it happening. And your edit looks spot on. I will try that one.
Thanks
I am still far away from running the final simulation " electric arc...
Forum: Fluent UDF and Scheme Programming January 1, 2019, 22:36
Replies: 17
Views: 5,263
Posted By vek123
i removed the break thing and simply put it this...

i removed the break thing and simply put it this way, i added the possibility if temp is exactly the temperature in the table.


DEFINE_PROPERTY(cell_viscosity, cell, thread)
{
real mu_lam;
...
Forum: Fluent UDF and Scheme Programming January 1, 2019, 21:58
Replies: 17
Views: 5,263
Posted By vek123
hello AlexanderZ, i really appreciate your...

hello AlexanderZ,
i really appreciate your help, i really just made that code without trying it, that break i put it in case (i am not sure about this) if the temperature in the model, somehow...
Forum: Fluent UDF and Scheme Programming January 1, 2019, 01:02
Replies: 17
Views: 5,263
Posted By vek123
liner interpolation

so i read the comments, and i am pretty sure that i am bad at these UDF thing, and c programming in general



i created a simple material udf ( only viscosity for now) and, what i did is...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -4. The time now is 15:05.