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

Dynamic mesh UDF executes twice

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2009, 07:14
Default Dynamic mesh UDF executes twice
  #1
New Member
 
Join Date: Apr 2009
Posts: 1
Rep Power: 0
Gabor is on a distinguished road
Dear Forum Member,

I am trying to compute the flow around a rotating body inside a duct and having the following problem:
when I use smoothing and remeshing together my UDF that contains the dynamics of the rotating body is being executed twice, at least the DEFINE_CG_MOTION() function since my Message() output in it shows up twice. Therefore the angle of rotation is computed twice as well so Fluent thinks the body reached the desired angle of rotation (e.g. the position where the spring is unstressed) however it is just halfways. If I only use smoothing the problem does not occur however I need remeshing in order to avoid skewed cells.
The dynamics of the rotating body is just a simple equation of motion with torsional spring and viscous damping.
I am wondering if You have faced the problem already and could help me out with any suggestion.

Thanks in advance, regards
Gabor
Gabor is offline   Reply With Quote

Reply

Tags
remeshing, smoothig, udf

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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Dynamic mesh UDF problem Peter FLUENT 2 November 12, 2007 02:10
writing a dynamic mesh udf ALPER ALBAYRAQ FLUENT 0 October 24, 2005 08:41
Problem related with UDF for dynamic mesh Ryan FLUENT 6 April 29, 2004 09:29
UDF problem for dynamic mesh??? lyf FLUENT 1 April 19, 2004 06:43


All times are GMT -4. The time now is 18:05.