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

udf problem.... pls help

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2007, 02:11
Default udf problem.... pls help
  #1
anant
Guest
 
Posts: n/a
Hi everybody, I am doing a 2D problem in which a small wedge protrudes out in Y direction from the surface while air flows over it in the X direction. I am following the UDF for the piston motion i.e One DOF equation of motion of the piston in X direction from the UDF manual (Dynamic mesh EFINE_CG_MOTION). I have changed the set x component of velocity to Y component by setting vel[1]= vel_prev. After I compile the UDFsuccessfully, i am unable to progress further since there is error msg . The error is Error: get_udf_function: function piston::libudf has wrong type: 39!=46. can any one help me please.

thanks a lot in advance.
  Reply With Quote

Old   January 10, 2007, 12:20
Default Re: udf problem.... pls help
  #2
sujith
Guest
 
Posts: n/a
wrong type: 39!=46.

make sure u are hooking it at correct location

- Sujith S Nair
  Reply With Quote

Old   January 11, 2007, 07:01
Default Re: udf problem.... pls help
  #3
anant
Guest
 
Posts: n/a
Thank you Sujit for the advice. I corrected the hooking procedure and overcame that situation. however when i started iterating, I got into another problem of access voilation. The error msg reads.

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 also made a simple 2D clinder and piston geometry and used the same UDF for the X direction motion. still the same access voilation error occurs. I have used the UDF which given for the 1DOF eqn of motion for Dynamic mesh in the UDF manual( chapter 4, para 4.5). I am confused as to whether I have to do anymore changes in the UDF before i use it. can u pls help me.
  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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 07:05
UDF Problem ozgur Fluent UDF and Scheme Programming 18 January 17, 2016 15:40
UDF compiling problem in Flient 6.3 jeevan kumar FLUENT 2 February 25, 2009 01:43
UDF problem mansha goraya FLUENT 0 October 29, 2007 01:31
udf compiling problem akr FLUENT 3 August 22, 2007 08:14


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