CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

How to simulate a hull in Fluent using VOF

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 12, 2012, 06:51
Default How to simulate a hull in Fluent using VOF
  #1
New Member
 
Join Date: Nov 2012
Posts: 6
Rep Power: 2
dmaz is on a distinguished road
Hello everybody, I'm a university student and I'm trying to simulate a ship hull on a water channel in Fluent.
I have realized the mesh in Gambit and it seems to have a good quality.
My problem is how to set the parameters and the simulation in Fluent 14.
I read I have to use a VOF model for a simulation concerning both the water and the air.
I did the follow commands but you can see the results in figure 2: the water and the air seems to be mixed..

My commands in Fluent14:
  • import the gambit mesh
  • set a steady solver
  • set the VOF model - two phases - implicit scheme - open channel flow
  • set the model viscous k-epsilon (2eq)
  • define materials - water liquid
  • define phases - phase 1=air and phase 2 = water liquid.
  • define operating conditions - gravity=-9.81 m/s2 and specified operating density.

regarding the boundary conditions they are reported in figure1. I used symmetry to simulate half fluid volume, wall on the hull, ocean floor and on the right surfaces of the fluid volume, pressure outlet for air in the air surfaces and velocity_inlet for the entrance surface of water. For the water pressure outlet, I set an udf. It describes the idrostatic pressure depending by the z-coordinate :
  • define-user defined-functions-interpreted and chose the following Udf:
/************************************************** *********************
UDF for specifying steady-state parabolic pressure profile boundary
profile for a turbine vane
************************************************** **********************/
#include "udf.h"
DEFINE_PROFILE(pressure_profile,thread,index)
{
real x[ND_ND];
real z;
face_t f;
begin_f_loop(f,thread)
{
F_CENTROID(x,f,thread);
z=x[2];
F_PROFILE(f,thread,index) = 998.2*9.81*(-z);
}
end_f_loop(f,thread)
}
  • set the boundary condition for the water outlet: boundary conditions - pressure_oultet_water. phase: mixture. edit - I chose the udf_pressure_profile
  • phase water - multiphase - backflow volume fraction=1
  • boundary conditions - pressure_oultet_air: phase:mixture - gauge pressure=0
  • boundary conditions - velocity_inlet_air: phase:mixture magnitude normal to bound velocity magnitude:2m/s
  • phase water - multiphase-backflow volume fraction=1

now I set the position of the water when the simulation start
  • adapt-region and I insert the values for the volume of water. then I press mark.
  • solve -controls-solution: I chose the PISO model and all the first order equations
  • solve monitors-residual all the residual set to 10^-5
  • solve initialize - init
  • solve initialize - patch - water

where I'm wrong? Thanks to everyone will help me!

BC-hull.jpg

results.png
dmaz is offline   Reply With Quote

Old   November 15, 2012, 07:53
Default
  #2
New Member
 
Join Date: Nov 2012
Posts: 6
Rep Power: 2
dmaz is on a distinguished road
Anyone can help me?
dmaz is offline   Reply With Quote

Old   April 29, 2013, 04:19
Default
  #3
New Member
 
zooid
Join Date: Aug 2011
Posts: 1
Rep Power: 0
zooid is on a distinguished road
I have a similar problem, can anyone help please?
zooid is offline   Reply With Quote

Old   April 29, 2013, 06:53
Default info
  #4
New Member
 
Grigor Nikolov
Join Date: Dec 2012
Posts: 5
Rep Power: 2
Grigor Nikolov is on a distinguished road
http://www.youtube.com/watch?v=y4Sd__Viw-0
Grigor Nikolov is offline   Reply With Quote

Reply

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
how to obtain time averaged data in Fluent when using SM to simulate mixing tank ziyan7 FLUENT 4 February 14, 2012 02:08
Does Fluent Calculate VOF before Momentum ? Ganapathy Fluent UDF and Scheme Programming 1 April 7, 2010 10:56
Is Fluent applicable to simulate velocity distribution under low pressure (~100pa)? beastieboys FLUENT 0 March 3, 2010 01:55
FLUENT VOF for ship's hull simone b. Main CFD Forum 5 December 6, 2008 07:45
Is Fluent able to simulate welding process? bambang FLUENT 1 July 11, 2001 05:30


All times are GMT -4. The time now is 02:18.