CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

ANSYS FLUENT- VOF-Sloshing in Tank- Could not obtain the flow pattern

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

LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2018, 23:04
Default ANSYS FLUENT- VOF-Sloshing in Tank- Could not obtain the flow pattern
New Member
Inderjeet Singh
Join Date: Feb 2017
Posts: 8
Rep Power: 9
Inderjeet Singh is on a distinguished road
Hi everyone.. I am performing an 3-D analysis on sloshing in a tank. This has been done in ANSYS Fluent 18.2. For the practice, it is initially done using a rectangular tank model of dimensions 2mx1mx1m.

Let me explain the problem more clearly...

1. Structural Meshing is done in ANSYS meshing component and left face is marked as Moving wall.

2. VOF model On, 2 eularian phases , Air (Primary) and Water (Secondary)

3. Transient analysis, Time steps:
i) 0.01(s) x 50 steps ; max 45 iterations in each
ii) 0.001(s) x 100 steps ; max 45 iterations in each

4. 50% volume Patched to each Air and water (Using Volume Fraction).. after Initializing the case and then Patching the zones using Region cell marking.

5. UDF (as follows) for providing translatory motion to the tank corresponding to its velocity. The UDF is given to the full solid body. (Tried only moving wall, but it only moves the wall and not the whole tank, which stretches the tank size)

#include “udf.h”
#include “dynamesh_tools.h”
DEFINE_CG_MOTION(oscillate,dt,vel,omega,time,dtime )
Thread *t;
face_t f; /* define the variables */
t = DT_THREAD(dt);
begin_f_loop(f,t) /* loop over each face in the zone to create an array of data */

The whole procedure is mostly as explained in this video except top Outlet
BC and the UDF is applied on Solid body; (not left Moving wall)


__________________________________________________ ____________

So now where the problem comes;

Checked Mesh motion and the body moves; but after the solution in CFD-Post, There is no change observed in the volume fraction at any time. The contours showed unchanged at t=0s and final time.

Where i am making the mistake ? Is the UDF good enough to provide translatory motion to the closed tank in this case to see sloshing effect?

Below is the youtube link of simulation animation video -
Inderjeet Singh is offline   Reply With Quote


sloshing tank, translational motion, vof multiphase

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Water flow in large tank 2d, axi, VOF jarekk91 FLUENT 0 February 16, 2018 04:47
Model and Boundary Conditions for Flow around a Bullet in Ansys Fluent chaithanya1996 FLUENT 3 March 5, 2017 21:45
Tutorial for highspeed flow (hypersonic) siimulations in ansys fluent rachitsigh11 ANSYS 1 December 19, 2016 02:54
Interesting problem: Parallel Processor VOF Fluent + Dynamic Mesh + System Coupling spaceprop FLUENT 5 September 2, 2014 09:43
Initialize flow statistics after setting the Sampling options in Ansys Fluent apek_great ANSYS 0 June 22, 2013 22:20

All times are GMT -4. The time now is 01:45.