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

How to fix rotational angle for oscillating 2D box in dynamic mesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 13, 2016, 06:49
Post How to fix rotational angle for oscillating 2D box in dynamic mesh
  #1
New Member
 
Harish Suryawanshi
Join Date: Jul 2016
Posts: 1
Rep Power: 0
Harish##137 is on a distinguished road
Hello all,
I am beginner to learn dynamic mesh model. i have model simple 2D box and my purpose is to rotate small box inside the big one in anticlockwise direction and rotation is to be limited to 30 degree.

I have made use of udf for angular velocity for box as shown in below image, I have put simple formula as omega(2)=theta/time=(30*pi)/(2*180) where time is 2 sec.
but as number of time step increases from 1000 to 10000 the rotation continues in CCK direction but i need only 30 degree then how to stop the continuous rotation of block.

Is there need to change udf, if anyone tried please help me out..!!!

Thanks in advanched
Attached Images
File Type: jpg contact_box_rotation.jpg (138.4 KB, 8 views)
Harish##137 is offline   Reply With Quote

Reply

Tags
dynamic meshing, udf cg motion

Thread Tools
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 On
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
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
Import netgen mesh to OpenFOAM hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 05:50
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
Dynamic Mesh _ Rotational Motion of a Rigid Plate ROOZBEH FLUENT 2 January 30, 2007 01:02


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