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 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: upeksa
Forum: Fluent UDF and Scheme Programming February 4, 2015, 09:55
Replies: 18
Views: 1,400
Posted By upeksa
No, you still need 2. if you only use 1...

No, you still need 2.

if you only use 1 memory location whose number is, for example 11 (C_UDMI(c,t,11)), you will need in that case 12 memory locations.

If you are going to use only one memory...
Forum: Fluent UDF and Scheme Programming February 4, 2015, 09:37
Replies: 18
Views: 1,400
Posted By upeksa
You used C_UDMI(c,t,0) and C_UDMI(c,t,1). 2...

You used C_UDMI(c,t,0) and C_UDMI(c,t,1). 2 memory locations.
Forum: Fluent UDF and Scheme Programming February 4, 2015, 07:31
Replies: 18
Views: 1,400
Posted By upeksa
You haven't reserved UDF memories: Define ->...

You haven't reserved UDF memories:

Define -> User-Defined -> Memory... Number of User-Defined Memory Locations =2

It will work
Forum: Fluent UDF and Scheme Programming February 4, 2015, 05:28
Replies: 18
Views: 1,400
Posted By upeksa
I think something is wrong with C_O(c,t). I...

I think something is wrong with C_O(c,t).

I have change it for C_T(c,t) for example and it worked.
Forum: Fluent UDF and Scheme Programming February 3, 2015, 10:28
Replies: 18
Views: 1,400
Posted By upeksa
Did you know that you can use the macro...

Did you know that you can use the macro C_VOLUME(c,t) to check the cell volume of each cell?
Forum: Fluent UDF and Scheme Programming February 3, 2015, 09:46
Replies: 18
Views: 1,400
Posted By upeksa
I don't really know what are you trying, you have...

I don't really know what are you trying, you have a lot of useless code here.

It works now anyway.

#include "udf.h"
#include "math.h"

DEFINE_ON_DEMAND(contour)
{
Domain *d=Get_Domain(1);
Showing results 1 to 6 of 6

 
Forum Jump

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