# Using DEFINE_ZONE_MOTION udf to study sloshing in lateral excitations

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

 March 31, 2013, 07:50 Using DEFINE_ZONE_MOTION udf to study sloshing in lateral excitations #1 New Member   Sumit Tambe Join Date: Feb 2013 Posts: 8 Rep Power: 7 hello everyone, I am simulating 2D sloshing of water due to oscillatory motion of a square tank. Here is a small description: model=VOF: Implict, with zonal discretization. gravity in 'y' dirctn. Tank: 0.2m x 0.2m sqaure tank, closed walls. Mesh: structured, finer at the water-air interface. filled depth: 0.04m UDF: #include DEFINE_ZONE_MOTION(fmotion,omega,axis,origin,veloc ity,time,dtime) { real velocity={0.6282*sin(62.82*time),0.0,0.0}; return; } UDF is hooked up with both of the cell zones. Walls: moving walls, with relative velocity(adjacent to cell zone) =0 m/s time-step size=0.0001 s during calculation x and y velocity residuals are remaining almost constant until I reduce momentum URF to 0.001, then after the solution rapidly converges. But water remains stationary as before. The free surface orientation does not change with time. even after 1 second of flow time. Can anybody help me out? mohsenhiva and Mike Romeo like this. Last edited by Tamsu; April 1, 2013 at 00:50.

September 20, 2013, 15:52
#2
New Member

iwan kurniawan
Join Date: Jun 2013
Posts: 7
Rep Power: 6
Quote:
 Originally Posted by Tamsu hello everyone, I am simulating 2D sloshing of water due to oscillatory motion of a square tank. Here is a small description: model=VOF: Implict, with zonal discretization. gravity in 'y' dirctn. Tank: 0.2m x 0.2m sqaure tank, closed walls. Mesh: structured, finer at the water-air interface. filled depth: 0.04m UDF: #include DEFINE_ZONE_MOTION(fmotion,omega,axis,origin,veloc ity,time,dtime) { real velocity={0.6282*sin(62.82*time),0.0,0.0}; return; } UDF is hooked up with both of the cell zones. Walls: moving walls, with relative velocity(adjacent to cell zone) =0 m/s time-step size=0.0001 s during calculation x and y velocity residuals are remaining almost constant until I reduce momentum URF to 0.001, then after the solution rapidly converges. But water remains stationary as before. The free surface orientation does not change with time. even after 1 second of flow time. Can anybody help me out?
Hi Tamsu,
Have you done your 2D sloshing project?I hope you make it easy
i'amIwan, I'm from Indonesia.I have same project for my thesis.I want to simulate water sloshing in enclosed rectangular tank. But i have problem, i don't have detail references or tutorial how to simulate sloshing. Could you please help me step by step how to simulate water sloshing using fluent?
Many thanks Tamsu...

iwan_bimaness@yahoo.com

September 21, 2013, 01:08
#3
New Member

Sumit Tambe
Join Date: Feb 2013
Posts: 8
Rep Power: 7
Quote:
 Originally Posted by iwan Hi Tamsu, Have you done your 2D sloshing project?I hope you make it easy i'amIwan, I'm from Indonesia.I have same project for my thesis.I want to simulate water sloshing in enclosed rectangular tank. But i have problem, i don't have detail references or tutorial how to simulate sloshing. Could you please help me step by step how to simulate water sloshing using fluent? Many thanks Tamsu... iwan_bimaness@yahoo.com
hello iwan,
Yeah it is easy once you know the procedure. will communicate through email.

 October 20, 2013, 17:14 ANSYS animation help #4 Member   muhamed Join Date: Jun 2013 Posts: 67 Rep Power: 6 Hello Tamsu Could you please help me? I have a problem writing a UDF to produce motion for a blade. I hope you can contact me at my email: mas20001920@yahoo.com Regards.

 Tags define_zone_motion, lateral sloshing, udf

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 06:12 Jibran FLOW-3D 0 October 23, 2012 11:29 virgy Fluent UDF and Scheme Programming 8 February 7, 2012 05:30 vasuaero1988 Fluent UDF and Scheme Programming 0 August 26, 2010 05:22 Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01

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