CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

UDF:error while initialisation problem

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

Like Tree1Likes
  • 1 Post By eng_s_sadeghi

Reply
 
LinkBack Thread Tools Display Modes
Old   October 20, 2012, 03:03
Default UDF:error while initialisation problem
  #1
New Member
 
Join Date: Jul 2012
Posts: 19
Rep Power: 5
ravindra is on a distinguished road
hello everyone,
i have written udf for radial distribution for eulerian model .....after building nad loading when i initialize it gives the following error
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: #f
can anyone telll me why this error is coming ....i hope someone knows about it...
ravindra is offline   Reply With Quote

Old   October 20, 2012, 04:35
Default
  #2
Member
 
eng_s_sadeghi's Avatar
 
Join Date: Mar 2011
Posts: 64
Rep Power: 6
eng_s_sadeghi is on a distinguished road
It means you have forgotten a special thing if defining parameters in both UDF and Fluent. May you please zip a sample case file and the UDF and email me to check?
alagbeuk likes this.
__________________
Saeed Sadeghi
Ansys Fluent CFD Consultant
eng_s_sadeghi is offline   Reply With Quote

Old   October 21, 2012, 08:26
Default
  #3
Senior Member
 
ghost82's Avatar
 
Daniele
Join Date: Oct 2010
Location: Italy
Posts: 918
Rep Power: 15
ghost82 will become famous soon enough
Quote:
Originally Posted by ravindra View Post
hello everyone,
i have written udf for radial distribution for eulerian model .....after building nad loading when i initialize it gives the following error
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: #f
can anyone telll me why this error is coming ....i hope someone knows about it...

When initializing don't "compute from"

Daniele
ghost82 is offline   Reply With Quote

Old   October 22, 2012, 01:20
Default
  #4
New Member
 
Join Date: Jul 2012
Posts: 19
Rep Power: 5
ravindra is on a distinguished road
hey friends thank u for ur reply ...

daniele,
i tried to initialise without using "compute from" ....but the error was still there ..
ravindra is offline   Reply With Quote

Old   October 22, 2012, 01:23
Default
  #5
New Member
 
Join Date: Jul 2012
Posts: 19
Rep Power: 5
ravindra is on a distinguished road
when i use this udf there is problem while initialization..
#include "udf.h"

DEFINE_PROPERTY(cell_raddis,c,t)
{
real rad_dis;
real a_a,v_s;
Thread **pt = THREAD_SUB_THREADS(t);
v_s= C_VOF(c,pt[1]);
a_a=1-pow((v_s/0.63),(1/3));
rad_dis=(3/5)*pow(a_a,-1);

return rad_dis;
}
when i use this udf there is no problem while initialisation but iteration cannot even start even once....it reports divergence problem...
#include "udf.h"

DEFINE_PROPERTY(cell_radial,c,t)
{
real rad_dis;
real a_a;
real void_s;
real void_g;

void_g=C_VOF(c,t);
void_s=1-void_g;

a_a=pow((void_s/0.63),(1/3));
rad_dis=(3/5)*pow((1-a_a),-1);

return rad_dis;
}

kindly look into this....and tell me your opinion...
ravindra is offline   Reply With Quote

Reply

Tags
udf

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with interFoam; Wave/wiggle alpha1 behavior JonW OpenFOAM 3 February 23, 2013 21:41
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Initialisation problem Turbo tool CFX-Post Toralf CFX 0 February 13, 2008 06:44
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13


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