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

C_UDSI_G() in DEFINE_ADJUST

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 15, 2006, 21:56
Default C_UDSI_G() in DEFINE_ADJUST
  #1
shuqin
Guest
 
Posts: n/a
Has anyone tested Fluent6.1.22 UDF Manual 4.2.1 DEFINE_ADJUST Example 2 ?

When I use a C_UDSI_G in DEFINE_ADJUST, the access_violation error came out.

if I start iteration without hooking the adjust fuction,the iteration executed ,after some steps, I hooked the adjust function and initialized ,the iteration continues . I guess this is because the gradient of C_UDSI(C_UDSI_G ) isn't allocated yet ,but the codes do contain the if (! Data_Valid_P())return; sentence?

I check the id.h in the src file as: FLUENT_EXPORT boolean Data_Valid_P(void); The FLUENT_EXPORT usually provides a GUI operation interface.am i right?

can some one give me some suggestion that how to let Fluent iterate when hooked a adjust function which contains C_UDSI_G other then let it iterate some step without hooking this adjust function? and the reason for this? thanks in advance

  Reply With Quote

Old   June 16, 2006, 06:05
Default Re: C_UDSI_G() in DEFINE_ADJUST
  #2
karolw
Guest
 
Posts: n/a
I ran into the same problem with v6.2 and bypassed it as you did. I guess it is rather a "feature" and not some bug since Fluent did not fix it at the next version.

  Reply With Quote

Old   June 18, 2006, 00:12
Default Re: C_UDSI_G() in DEFINE_ADJUST
  #3
shuqin
Guest
 
Posts: n/a
thanks,karolw
  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:35.