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

Using DEFINE_ZONE_MOTION udf to study sloshing in lateral excitations

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Tamsu

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2013, 07:50
Default Using DEFINE_ZONE_MOTION udf to study sloshing in lateral excitations
  #1
New Member
 
Sumit Tambe
Join Date: Feb 2013
Posts: 8
Rep Power: 13
Tamsu is on a distinguished road
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 <udf.h>
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.
Tamsu is offline   Reply With Quote

Old   September 20, 2013, 15:52
Default
  #2
New Member
 
iwan kurniawan
Join Date: Jun 2013
Posts: 7
Rep Power: 12
iwan is on a distinguished road
Quote:
Originally Posted by Tamsu View Post
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 <udf.h>
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
iwan is offline   Reply With Quote

Old   September 21, 2013, 01:08
Default
  #3
New Member
 
Sumit Tambe
Join Date: Feb 2013
Posts: 8
Rep Power: 13
Tamsu is on a distinguished road
Quote:
Originally Posted by iwan View Post
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.
Tamsu is offline   Reply With Quote

Old   October 20, 2013, 17:14
Default ANSYS animation help
  #4
Member
 
muhamed
Join Date: Jun 2013
Posts: 66
Rep Power: 12
Mohammad80 is on a distinguished road
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.
Mohammad80 is offline   Reply With Quote

Reply

Tags
define_zone_motion, lateral sloshing, udf


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
Lateral Sloshing of a Cylindrical Tank Jibran FLOW-3D 1 January 16, 2024 01:57
Source Term UDF VS Porous Media Model pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 06:12
Simulation with UDF for species mass fraction and velocity profile virgy Fluent UDF and Scheme Programming 8 February 7, 2012 04:30
UDF for Boundary layer at inlet for cavity study vasuaero1988 Fluent UDF and Scheme Programming 0 August 26, 2010 05:22
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 04:01


All times are GMT -4. The time now is 09:58.