CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF Problem about Grid Motion !!!

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

LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2013, 19:45
Angry UDF Problem about Grid Motion !!!
New Member
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, 48 views)

Last edited by Zhengyu Gao; December 6, 2013 at 21:01.
Zhengyu Gao is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
incorrect cg motion UDF sdof_properties::libudf on zone 6 (assuming no motion) M.Magdy Fluent UDF and Scheme Programming 9 April 4, 2023 12:00
A problem about 'printf' and 'Message' in UDF. LICH Fluent UDF and Scheme Programming 2 May 2, 2013 02:45
problem in compoile UDF h.daniyel FLUENT 5 June 12, 2008 05:06
UDF error CG Motion Alex FLUENT 0 March 22, 2006 17: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 17:36.