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

How to simulate a hull in Fluent using VOF

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Grigor Nikolov
  • 1 Post By smhosseini

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2012, 07:51
Default How to simulate a hull in Fluent using VOF
  #1
New Member
 
Join Date: Nov 2012
Posts: 27
Rep Power: 14
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, 08:53
Default
  #2
New Member
 
Join Date: Nov 2012
Posts: 27
Rep Power: 14
dmaz is on a distinguished road
Anyone can help me?
dmaz is offline   Reply With Quote

Old   April 29, 2013, 05:19
Default
  #3
New Member
 
zooid's Avatar
 
zooid
Join Date: Aug 2011
Posts: 4
Rep Power: 15
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, 07:53
Default info
  #4
Member
 
Grigor Nikolov
Join Date: Dec 2012
Posts: 36
Rep Power: 13
Grigor Nikolov is on a distinguished road
Send a message via Skype™ to Grigor Nikolov
http://www.youtube.com/watch?v=y4Sd__Viw-0
trantuntu likes this.
Grigor Nikolov is offline   Reply With Quote

Old   November 17, 2013, 15:19
Default
  #5
New Member
 
Basavaraj H M
Join Date: Oct 2013
Posts: 4
Rep Power: 13
BASU HM is on a distinguished road
hello,
i also did what it is shown in that video,but with diff domain n ship,so i get net mass flow rate -2.478946e+9.but it should be zero known,pls any 1 will help in suggesting the boundary condition n solution method,thanking u
BASU HM is offline   Reply With Quote

Old   November 18, 2013, 04:58
Default
  #6
Member
 
Mohsen
Join Date: Jul 2012
Posts: 49
Rep Power: 14
smhosseini is on a distinguished road
Hi dmaz,
Your problem has dynamic condition and it's incorrect to consider steady solver. It's possible to achieve a steady state solution by VOF method but it is difficult. You should choose small under relaxation values. I recommend you to use unsteady solver. It's may be time consuming but your result will be correct.
Be successful.
smhosseini is offline   Reply With Quote

Old   November 18, 2013, 05:49
Default
  #7
Member
 
like.no.other
Join Date: Sep 2011
Posts: 35
Rep Power: 15
like.no.other is on a distinguished road
Hi dmaz
please read this tutorial in Fluent (it is very similar to your problem):

Heave and Pitch Simulation of Ship hull moving through head sea waves
__________________
www.CFDiran.ir
like.no.other is offline   Reply With Quote

Old   September 3, 2014, 06:14
Default
  #8
New Member
 
Join Date: Mar 2013
Posts: 11
Rep Power: 13
a.zareinezhad is on a distinguished road
hi dmaz
in boundary condition after you set all boundaries
change phase from mixture to water
then change volume fraction for all water boundaries from 0 to 1;

you should set the volume fraction of water in initialize to 0; and in initialize, u should compute from all zones

Please, do not hesitate to ask further questions.

a.zareinezhad is offline   Reply With Quote

Old   November 14, 2014, 14:21
Default
  #9
Member
 
azna
Join Date: Nov 2012
Posts: 30
Rep Power: 14
azna is on a distinguished road
I would like to simulate a multiphase flow ( air/water) model with fluent, however i don't know that it is possible to add contaminants to water in Fluent. for example instead of having pure water, i would like to add nitrogen to water and simulate it with fluent .
azna is offline   Reply With Quote

Old   November 15, 2014, 13:30
Default
  #10
Member
 
Mohsen
Join Date: Jul 2012
Posts: 49
Rep Power: 14
smhosseini is on a distinguished road
Quote:
Originally Posted by azna View Post
I would like to simulate a multiphase flow ( air/water) model with fluent, however i don't know that it is possible to add contaminants to water in Fluent. for example instead of having pure water, i would like to add nitrogen to water and simulate it with fluent .
Hi azna
Yes, it's possible. Please study Fluent user guide -> Modeling Species Transport and Finite-Rate Chemistry.

Good luck.
azna likes this.
smhosseini is offline   Reply With Quote

Old   December 1, 2014, 03:46
Default
  #11
vig
New Member
 
anonymous
Join Date: Jan 2011
Posts: 23
Rep Power: 15
vig is on a distinguished road
You have enabled open channel flow.

Why do not you use open channel supported boundary conditions.
For inlet , pressure inlet or Mass flow inlet
For outlet, Pressure outlet

Pressure inlet required specification of Total pressure, which is prescribed by the user inputs of free surface level and velocity magnitude for calculating dynamci head.
Mass flow inlet asks for the inout for free surface level and mass flow rates of different phases.

You need not to specify UDF too, as open channel boundary conditions automatically take care of hydrostatic pressure profile based on the input of free surface level.
vig is offline   Reply With Quote

Old   August 4, 2015, 15:54
Default
  #12
New Member
 
FordTran
Join Date: Apr 2014
Location: https://t.me/pump_upp
Posts: 2
Rep Power: 0
trantuntu is on a distinguished road
Send a message via ICQ to trantuntu Send a message via AIM to trantuntu Send a message via Yahoo to trantuntu
Thanks for sharing
trantuntu is offline   Reply With Quote

Reply


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


All times are GMT -4. The time now is 15:56.