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

How to use F_FLUX_M1 macro????

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 7, 2007, 09:41
Default How to use F_FLUX_M1 macro????
  #1
Asghari
Guest
 
Posts: n/a
Hi all;

There is a macro calling F_FLUX_M1 for calculating face flux in previous time step . But whenever i use from this macro, I am encountered Access violation error. How can i remedy this problem? Erroe takes place in this lines in UDF presented in following:

thread_loop_c(t,domain) { int i=1; begin_c_loop(c,t) ; { C_UDMI(c,t,1)=0.0 ; c_face_loop (c,t,i) { f= C_FACE(c,t,i) ; tf= C_FACE_THREAD(c,t,i) ; C_UDMI(c,t,1)=C_UDMI(c,t,1)+F_FLUX_M1(f,tf); } } end_c_loop (c,t) }

Please help me.

Thanks in advance for everybody reply my question .

Mehdi Asghari
  Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro Trouble -Winows Explorer Crashes with Macro Martin Castillo FLUENT 1 July 25, 2007 04:18
Macro problem cfddummy Siemens 1 April 9, 2007 12:37
macro not function! guang ai Siemens 0 July 25, 2004 18:53
Call a macro from a macro Flav Siemens 2 July 1, 2004 05:42
Bug in the DEFINE_ADJUST macro? Senthil FLUENT 5 September 3, 2002 22:26


All times are GMT -4. The time now is 11:40.