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

Mesh motion with Translation & Rotation

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

Like Tree2Likes
  • 2 Post By Doginal

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2011, 17:37
Default Mesh motion with Translation & Rotation
  #1
Member
 
anonymous
Join Date: Jun 2011
Posts: 58
Rep Power: 14
Doginal is on a distinguished road
Hello Everyone

I'm currently trying to set up a simulation of a plate translating and rotating in a 2D plane. After reading many other posts I figure using a moving mesh approach is best.

Setup:
Large Square Domain
Inside the large domain I defined a circular Subdomain (this is what I use to move the mesh)
Within the Subdomain there is a rectangular blade

The Square Domain is defined to have Regions of motion specified Mesh Deformation

Boundary Definitions:
Outside Boundary (4 sides of the square domain) has stationary mesh motion

Subdomain has specified location mesh motion using equations
X New Tran
Y Com
Z New
(see below)

Inner Interface boundary (subdomain side of interface) has a specified location mesh motion using same equations as the subdomain

Outer Interface boundary (Square domain side of interface) has a specified location mesh motion using the following equations
X Still = x - Total Mesh Displacement X
Y New Tran
Z New

All other boundaries have unspecified mesh motion.

Mesh Motion:
Case 1: Rotation Only
I started by rotating the subdomain without translation using this thread as a guideline to define the location: http://www.cfd-online.com/Forums/cfx...g-domains.html

These are the rotation equations i have used
X New Rot: ((x-X0)-Total Mesh Displacement X)*cos(alpha)+((y-Y0)-Total Mesh Displacement Y)*sin(alpha)+X0

Y New Rot: -((x-X0)-Total Mesh Displacement X)*sin(alpha)+((y-Y0)-Total Mesh Displacement Y)*cos(alpha)+Y0

Z New: z - Total Mesh Displacement Z

This rotated my subdomain and blade very nicely.

Case 2: Translation Only
Next I translated the subdomain without rotation using these equations of mesh motion
X New Tran: ((x-X0) -Total Mesh Displacement X)+ 5 [cm rad^-1] * sin(1 [rad s^-1] *pi*t)

Y New Tran: ((y-Y0) -Total Mesh Displacement Y)+ 5 [cm rad^-1] * sin(1 [rad s^-1] *pi*t)

Z New (use same as rotation)

This translated my subdomain and blade very nicely

Case 3: Rotation + Y Translation
Next I tried to combine rotation with Y translations using these equations

X New Rot (use same as rotation)
Y Com = Y New Rot + Y New Tran - y
Z New (use same as rotation)

This is where i run into issues. When i use these equations rather than translating/rotating my subdomain, it skews my circle into a oval and rotates and continues to skew the oval. I'm cirtan that its errors in my equations but i'm not sure what from. If i had to guess i'm using the x,y and z variables as well as the Total Mesh Displacement variables wrong as i'm not completely sure of what they represent.
Are x, y and z just the specific x y and z coordinate of a specific node on the mesh to be moved?
Is the Total Mesh Displacement the overall displacement of a specific node from its original point to its current point in the x, y or z direction?

Any help or advice would be greatly appreciated.

Thank You,

DM
chiragsvnit and mrozki like this.
Doginal is offline   Reply With Quote

Old   January 6, 2014, 13:17
Default mesh translation
  #2
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 17
alinik is on a distinguished road
Hello,

Were you able to define translational mesh displacement in CFX? All I can find is rotational motion.

Thanks
alinik is offline   Reply With Quote

Old   January 12, 2014, 07:21
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,655
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Translational motion is a beta feature which I suspect is not fully implemented. Talk to ANSYS support if you want to know the status of it.
ghorrocks is offline   Reply With Quote

Reply

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
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
mesh motion samad87 FLUENT 0 August 6, 2009 04:15
Mesh motion for two bodies siw CFX 0 April 8, 2008 05:20
large scale mesh motion sb FLUENT 1 April 27, 2007 23:23
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 10:38


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