|
[Sponsors] |
May 9, 2015, 11:37 |
moving cylinder , moving mesh
|
#1 |
New Member
mohammad
Join Date: May 2015
Posts: 9
Rep Power: 11 |
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> |
|
May 10, 2015, 07:10 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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 |
|
May 28, 2015, 20:33 |
moving mesh
|
#3 |
New Member
Hossein
Join Date: May 2015
Posts: 11
Rep Power: 11 |
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 19:44. |
|
May 29, 2015, 11:05 |
|
#4 |
Senior Member
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21 |
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. |
|
May 30, 2015, 17:32 |
moving mesh
|
#5 |
New Member
Hossein
Join Date: May 2015
Posts: 11
Rep Power: 11 |
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 |
|
|
|
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 08:34 |
Forces Acting on a Rotating Cylinder (Moving Mesh) | dreamchaser | CFX | 5 | April 25, 2015 07:01 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
rotating cylinder using sliding mesh | Tim Daly | FLUENT | 1 | November 10, 2008 00:02 |