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

Problem of dynamic mesh in Fluent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 13, 2016, 13:03
Default Problem of dynamic mesh in Fluent
  #1
New Member
 
Qingsong
Join Date: Mar 2016
Location: Netherlands
Posts: 10
Rep Power: 10
Qingsong is on a distinguished road
Hi everybody.
In dynamic mesh, I use a UDF code to allow a rigid body only to translate in one direction and rotate in one direction. But the rigid body panel shows values on all the directions of Rigid Body Angular Velocity. It should be zero at x and z direction.

If anyone knows what happened, please tell me. Many thanks.

Regards, Qingsong
Attached Images
File Type: png Picture.png (79.4 KB, 11 views)
Qingsong is offline   Reply With Quote

Old   October 14, 2016, 03:25
Default
  #2
D.M
Member
 
Davoud Malekian
Join Date: Jan 2016
Posts: 53
Rep Power: 10
D.M is on a distinguished road
Hi,
this problem is mainly because of your code, try to change your UDF.
D.M is offline   Reply With Quote

Old   October 14, 2016, 03:49
Default
  #3
New Member
 
Qingsong
Join Date: Mar 2016
Location: Netherlands
Posts: 10
Rep Power: 10
Qingsong is on a distinguished road
Hi, D.Malekian,

I've checked my UDF code many times, and I think it's OK. My code is as following:

#include "udf.h"

DEFINE_SDOF_PROPERTIES(test01, prop, dt, time, dtime)
{
prop[SDOF_MASS] = 4184.769;
prop[SDOF_IXX] = 1;
prop[SDOF_IYY] = 11141.947;
prop[SDOF_IZZ] = 1;

prop[SDOF_ZERO_TRANS_X] = TRUE;
prop[SDOF_ZERO_TRANS_Y] = TRUE;
prop[SDOF_ZERO_TRANS_Z] = FALSE;
prop[SDOF_ZERO_ROT_X] = TRUE;
prop[SDOF_ZERO_ROT_Y] = FALSE;
prop[SDOF_ZERO_ROT_Z] = TRUE;

}
Qingsong is offline   Reply With Quote

Old   October 14, 2016, 06:32
Default
  #4
AHF
Member
 
AHF's Avatar
 
amirhossein
Join Date: Jul 2014
Location: Canada
Posts: 81
Rep Power: 12
AHF is on a distinguished road
Quote:
Originally Posted by Qingsong View Post
Hi everybody.
In dynamic mesh, I use a UDF code to allow a rigid body only to translate in one direction and rotate in one direction. But the rigid body panel shows values on all the directions of Rigid Body Angular Velocity. It should be zero at x and z direction.

If anyone knows what happened, please tell me. Many thanks.

Regards, Qingsong
is it 2D or 3D ?

if it is 2D , i maybe you should put Ixx and Iyy zero . ( not sure , just idea )
__________________
amirhosseinfardi94@gmail.com
AHF is offline   Reply With Quote

Old   October 14, 2016, 11:05
Default
  #5
New Member
 
Qingsong
Join Date: Mar 2016
Location: Netherlands
Posts: 10
Rep Power: 10
Qingsong is on a distinguished road
Quote:
Originally Posted by AHF View Post
is it 2D or 3D ?

if it is 2D , i maybe you should put Ixx and Iyy zero . ( not sure , just idea )
The calculation is 3D.
Qingsong is offline   Reply With Quote

Old   October 14, 2016, 11:06
Default
  #6
New Member
 
Qingsong
Join Date: Mar 2016
Location: Netherlands
Posts: 10
Rep Power: 10
Qingsong is on a distinguished road
Thank you for your reply.

I finally solve the problem.

Maybe there is a bug in ANSYS 17.1 version. A bug relate to the calculation in the first mesh layer near the wall. When I set up all the calculations in a lower version(V16.1), it works well.
Qingsong is offline   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
spring-based dynamic mesh problem uhhaha2157 FLUENT 0 January 1, 2014 08:38
[mesh manipulation] Dynamic Mesh Diffusivity Problem dancfd OpenFOAM Meshing & Mesh Conversion 0 August 29, 2010 12:50
Dynamic Mesh Can not Be Used in FLUENT 12.0 lzgwhy ANSYS 1 April 18, 2010 19:19
Dynamic mesh + apaption in Fluent 12 ? klunker FLUENT 0 September 23, 2009 09:19
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


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