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

UDF Problem about Grid Motion !!!

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 6, 2013, 20:45
Angry UDF Problem about Grid Motion !!!
  #1
New Member
 
gao
Join Date: Nov 2013
Posts: 1
Rep Power: 0
Zhengyu Gao is on a distinguished road
Hello everyone,

I have to make a transient heat transfer simulation of a loudspeaker by FLUENT. And the moving boundary is controlled by the UDF showed below. These two UDF code make the axis stretching and the dust cap oscillating. Two UDF codes function well, however, after many times iteration node A on axis moves faster than node A on dust cap. So minus volume error occurred.

I think it is because the two boundaries are controlled by two UDF codes, and error occurred. I tried many ways to combine these two UDF code together(use if else if, switch ...), but I don't know what to put into "if()", in other words, I don't know how to define the condition when to use code stretching and code oscillating.

PS I tried remeshing, it doesn't work.

I attached the pictures of UDF code, description of the moving dust cap and the deformation of grids. I hope it will help you to understand this problem.

please help me ! thanks in advance






Attached Images
File Type: jpg 46@79@H1Z(]$%N~ER9PQCKP.jpg (57.2 KB, 23 views)

Last edited by Zhengyu Gao; December 6, 2013 at 22:01.
Zhengyu Gao is offline   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


Similar Threads
Thread Thread Starter Forum Replies Last Post
A problem about 'printf' and 'Message' in UDF. LICH Fluent UDF and Scheme Programming 2 May 2, 2013 02:45
incorrect cg motion UDF sdof_properties::libudf on zone 6 (assuming no motion) M.Magdy Fluent UDF and Scheme Programming 8 March 28, 2013 08:59
problem in compoile UDF h.daniyel FLUENT 5 June 12, 2008 05:06
UDF error CG Motion Alex FLUENT 0 March 22, 2006 18:40
Problem related with UDF for dynamic mesh Ryan FLUENT 6 April 29, 2004 09:29


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