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

moving cylinder , moving mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2015, 10:37
Question moving cylinder , moving mesh
  #1
New Member
 
mohammad
Join Date: May 2015
Posts: 9
Rep Power: 11
2015mohammad2015 is on a distinguished road
hi forum

i want to write expression for moving cylinder in a water, cylinder have a circulation in the box not rotation

finally i found that must write expression for moving mesh

i define the expression but it doesn't work.!!!!!!!

where should i specify the defined expression ???? ( in specified displacement ?)

please help me

<it's force major>
Attached Images
File Type: jpg Capture.jpg (24.5 KB, 44 views)
2015mohammad2015 is offline   Reply With Quote

Old   May 10, 2015, 06:10
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,819
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Mesh Velocity X is the mesh velocity from the last time step. It is zero at the start of the simulation. So your expression will always just return zero and no motion will occur.

Try something like this for your displacement expression:
1 [m/s] * t
ghorrocks is offline   Reply With Quote

Old   May 28, 2015, 19:33
Default moving mesh
  #3
New Member
 
Hossein
Join Date: May 2015
Posts: 11
Rep Power: 11
hhm747 is on a distinguished road
Attachment 39811Hi,
I have almost similar problem, but for a rotational movement of an opening inside the fluid domain.

I tried to use moving mesh (dynamic mesh) for simulating, but I don't know how to set the boundary condition for Mesh Motion. In fact, It is not clear how to specify the rotational displacement of mesh.



Indeed, I read Ansys toturial for Ball check valve. In that case, they could use rigid body for specifying mesh motion. but here I know the angular speed of opening, and don't need to do expensive FSI simulation.

I appreciate if you could help me out of this trouble.

hhm747

Last edited by hhm747; May 29, 2015 at 18:44.
hhm747 is offline   Reply With Quote

Old   May 29, 2015, 10:05
Default
  #4
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21
singer1812 is on a distinguished road
angdisp=0.04 [rad/s]*t

Make sure your coordinate system is centered correctly or you will either have to move the system or do a coordinate transfer on the expression.
singer1812 is offline   Reply With Quote

Old   May 30, 2015, 16:32
Default moving mesh
  #5
New Member
 
Hossein
Join Date: May 2015
Posts: 11
Rep Power: 11
hhm747 is on a distinguished road
Thank you for your useful comment.
I tried to define angle displacement, but CFX says that THETA in Mesh Motion has to be in meter. so I used this expression for solving the problem:

X1, Y1 the coordinate of the new pivot
Raxis= sqrt((x-X1)^2+(y-Y1)^2)
Raxis*Angularspeed* t /1[rad]

but the geometry completely moved.

Then I defined Cartesian components for displacement based on the rotation speed as follows:

MotionX=Raxis*Angularspeed* t*sin(Angle) /1[rad]
MotionY=Raxis*Angularspeed* t*cos(Angle) /1[rad]

It changed the shape of profile instead of rotating it.
I tried some ways but however the profile doesn't rotate .

I appreciate If guide me.

THANKS
hhm747 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
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Meshing & Mesh Conversion 13 February 17, 2022 07:34
Forces Acting on a Rotating Cylinder (Moving Mesh) dreamchaser CFX 5 April 25, 2015 06:01
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
rotating cylinder using sliding mesh Tim Daly FLUENT 1 November 9, 2008 23:02


All times are GMT -4. The time now is 15:13.