|
[Sponsors] | |||||
water sloshing in oscillating tank (problem using udf Define_ZONE_MOTION) |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Sumit Tambe
Join Date: Feb 2013
Posts: 8
Rep Power: 14 ![]() |
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? |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 24 ![]() |
1. Is there a space in 'DEFINE_ZONE_MOTION(fmotion,omega,axis,origin,veloc ity,time,dtime)' or just a typo?
2. It is possible that 1 sec is too short time to notice sloshing, try bit longer simulation. Last edited by vasava; April 2, 2013 at 08:20. |
|
|
|
|
|
|
|
|
#3 | |
|
New Member
Sumit Tambe
Join Date: Feb 2013
Posts: 8
Rep Power: 14 ![]() |
Quote:
Time is surely not an issue. Instead of trying with a moving mesh, I varied a body force. Its giving good results even for small simulation time. Just that you wont see the mesh moving. but Its fairly sufficient for the analysis. |
||
|
|
|
||
|
|
|
#4 |
|
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 24 ![]() |
You said it first! I was just going to suggest that. So is everything fine now?
|
|
|
|
|
|
|
|
|
#5 |
|
New Member
Sumit Tambe
Join Date: Feb 2013
Posts: 8
Rep Power: 14 ![]() |
Yup!! everything is great!
|
|
|
|
|
|
|
|
|
#6 | |
|
New Member
Puneet
Join Date: Sep 2013
Posts: 14
Rep Power: 14 ![]() |
Quote:
|
||
|
|
|
||
|
|
|
#7 |
|
New Member
Join Date: May 2014
Posts: 1
Rep Power: 0 ![]() |
Sumit,
Can you please let me know how to go about solving this problem Thanks,Samwize |
|
|
|
|
|
|
|
|
#8 | |
|
New Member
venu madhav
Join Date: Apr 2017
Posts: 3
Rep Power: 10 ![]() |
Quote:
How did you use an oscillating body force in FLUENT? Did you use UDF or is there a better way to do so? Thanks, Venu |
||
|
|
|
||
|
|
|
#9 |
|
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 35 ![]() ![]() |
to apply gravity you may use momentum source term
to make it transient you may use transient profile or UDF and may be expression now (which should be checked)
__________________
best regards ****************************** press LIKE if this message was helpful |
|
|
|
|
|
![]() |
| Tags |
| define_zone_motion, lateral excitation, sloshing, udf |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sloshing in tank | manoj kumar | FLUENT | 7 | July 30, 2011 06:53 |
| Problem with my udf | july | Fluent UDF and Scheme Programming | 3 | June 20, 2010 07:56 |
| Mass conservation problem in mixing tank multiphase simulation | rockewan | FLUENT | 0 | April 6, 2010 13:34 |
| Udf for sloshing problem | D.Martelli | Fluent UDF and Scheme Programming | 0 | December 9, 2009 12:21 |
| fluent UDF external library lapack problem | Rick | FLUENT | 0 | May 7, 2008 11:16 |