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

Search Results

Register Blogs Members List Search Today's Posts Mark Forums Read

Showing results 1 to 10 of 10
Search took 0.00 seconds.
Search: Posts Made By: Amir
Forum: Fluent UDF and Scheme Programming January 16, 2013, 12:59
Replies: 22
Views: 3,976
Posted By Amir
It depends whether you want to manipulate the...

It depends whether you want to manipulate the cell-center data or face-center data, but for your purpose, if you want to use the data for other places, i.e., from outlet to inlet, this procedure may...
Forum: Fluent UDF and Scheme Programming January 16, 2013, 12:40
Replies: 22
Views: 3,976
Posted By Amir
Dear friend, No problem. F_UDMI is not...

Dear friend,

No problem. F_UDMI is not something independent from C_UDMI!
Save your desire data in C_UDMI (cell-center) then use the interpolated face-center data via F_UDMI. Clear?

Bests,
Forum: Fluent UDF and Scheme Programming January 16, 2013, 12:22
Replies: 22
Views: 3,976
Posted By Amir
#include "udf.h" DEFINE_PROFILE(abs_vel,t,i) ...

#include "udf.h"
DEFINE_PROFILE(abs_vel,t,i)
{

face_t f;
begin_f_loop(f,t)
{

F_PROFILE(f,t,i)=F_UDMI(f,t,0) ;
}
Forum: Fluent UDF and Scheme Programming January 16, 2013, 12:02
Replies: 22
Views: 3,976
Posted By Amir
Try F_UDMI(f,t,i) instead and check whether it...

Try F_UDMI(f,t,i) instead and check whether it works or not. (refer to UDF manual to see examples)

Bests,
Forum: Fluent UDF and Scheme Programming August 13, 2012, 07:17
Replies: 22
Views: 3,976
Posted By Amir
Hi, It's a numerical setting tool. In some...

Hi,

It's a numerical setting tool. In some cases, with high relaxation factors few unstability may occur but in more stable cases, increasing these factors increases the rate of convergency. In...
Forum: Fluent UDF and Scheme Programming August 1, 2012, 12:48
Replies: 22
Views: 3,976
Posted By Amir
No, just the UDFs that are hooked, are executed....

No, just the UDFs that are hooked, are executed. Note that each UDF should be hooked in its proper panel; you have to hook DEFINE_ADJUST in it's panel and DEFINE_PROFILE in BC panel.
But a point I...
Forum: Fluent UDF and Scheme Programming August 1, 2012, 09:22
Replies: 22
Views: 3,976
Posted By Amir
Obviously you have to select different names for...

Obviously you have to select different names for different macros. you can see these names while hooking in FLUENT GUI.

Yes, this macro can access global variable; tavg.

Bests,
Forum: Fluent UDF and Scheme Programming August 1, 2012, 07:14
Replies: 22
Views: 3,976
Posted By Amir
Hi, Unfortunately it's not correct. The...

Hi,

Unfortunately it's not correct. The procedure for DEFINE_PROFILE is not the same as DEFINE_ADJUST; i.e., you'll need F_PROFILE(...) statements in order to assign values to boundaries. Take a...
Forum: Fluent UDF and Scheme Programming August 1, 2012, 04:11
Replies: 22
Views: 3,976
Posted By Amir
Dear Santhosh, I don't think you're really a...

Dear Santhosh,

I don't think you're really a newbie in UDF, because it's handled well. :)
But just a point; As you noticed, it's stated in the manual that we can also use DEFINE_ADJUST macro for...
Forum: Fluent UDF and Scheme Programming July 30, 2012, 11:25
Replies: 22
Views: 3,976
Posted By Amir
Exactly; so you need to use a loop over cells to...

Exactly; so you need to use a loop over cells to find average value and then use another loop over faces to assign the BC in appropriate macro.

Bests,
Showing results 1 to 10 of 10

 
Forum Jump

All times are GMT -4. The time now is 16:33.