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

Error in interpreted UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2007, 01:57
Default Error in interpreted UDF
  #1
shephali shrimali
Guest
 
Posts: n/a
My UDF got interpreted and hooked. But when I try to initialize it gives error message: Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: ()

I dont know what does this ACCESS_VIOLATION error means.Help me out with this
  Reply With Quote

Old   May 7, 2007, 05:07
Default Re: Error in interpreted UDF
  #2
saghir
Guest
 
Posts: n/a
do not forget to give the number of your UDMI or UDSI in the fluent interface
  Reply With Quote

Old   May 7, 2007, 05:41
Default Re: Error in interpreted UDF
  #3
shephali shrimali
Guest
 
Posts: n/a
hey i couldnt get properly what you are saying. my UDF is this: DEFINE_PROFILE(contact_angle,thread,i) {

float vel;//[10];

float Ca ;

float THETA_D;

float time;

face_t f;

for (time = 0 ; time <= 10 ; time = time + 0.00001)

{

if (time == CURRENT_TIME)

{

begin_f_loop(f, thread)

{

if (F_VOF(f, thread)==0.5)

{

vel=F_U(f, thread);

Ca=(vel*VISCOSITY)/SUR_TEN;

F_PROFILE(f,thread,i)=pow((pow(THETA_E,3)+9*Ca*log (LAMDA)), 0.3333);

}

else F_PROFILE(f,thread,i)=120;

}

end_f_loop(f, thread)

}

} }

please have a look at this and let me know what i need to do

  Reply With Quote

Old   May 7, 2007, 06:06
Default Re: Error in interpreted UDF
  #4
saghir
Guest
 
Posts: n/a
in the graphic interface you but

/solve/set/expert

and for question about Keep temporary solver memory from being freed, you must but yes

  Reply With Quote

Old   May 7, 2007, 06:16
Default Re: Error in interpreted UDF
  #5
shephali shrimali
Guest
 
Posts: n/a
what have u written? sorry but its not making any sense
  Reply With Quote

Old   May 7, 2007, 06:26
Default Re: Error in interpreted UDF
  #6
saghir
Guest
 
Posts: n/a
sorry,in the graphic Fluent interface you write

/solve/set/expert

+ entry

and for question about Keep temporary solver memory from being freed, you must but yes

  Reply With Quote

Old   May 9, 2007, 23:54
Default Re: Error in interpreted UDF
  #7
suvash
Guest
 
Posts: n/a
Are you running this code in windows interface or Unix/linux. If you write the code in dos and run in linux then you should face some problem. you have to convert like dos2unix or something like this........

regards Suvash
  Reply With Quote

Old   May 10, 2007, 03:53
Default Re: Error in interpreted UDF
  #8
shephali shrimali
Guest
 
Posts: n/a
i got rid of this problem...thanx for your help
  Reply With Quote

Reply


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
Interpreted UDF Bikash FLUENT 10 December 3, 2019 01:52
A Problem of Fluent Interpreted UDF: parse error knight Fluent UDF and Scheme Programming 25 August 16, 2018 11:26
Interpreted UDF in parallel David Chabot Fluent UDF and Scheme Programming 8 May 30, 2012 04:18
errors in interpreted udf for two macro Asghari FLUENT 0 August 7, 2006 03:29
error of Interpreted udf Zhang Junmei FLUENT 6 December 12, 2001 09:03


All times are GMT -4. The time now is 14:48.