CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Open Foam for ship hydrodynamics (http://www.cfd-online.com/Forums/openfoam/60717-open-foam-ship-hydrodynamics.html)

cognit September 22, 2006 06:50

Has anybody used OpenFoam to s
 
Has anybody used OpenFoam to study ship hidrodynamics? Would it be suitable/easy to do so? I mean, calculating free surface, drag, and so on as in a towing tank.
Thank you

eugene September 22, 2006 08:03

I have tried using the interFo
 
I have tried using the interFoam series of codes. At least I started trying before a more pressing project came along, and it seems to be doable. The main problem is wave transmissive/non-reflecting boundaries. Since the speed of the surface wave is dependent on its frequency and amplitude, its very difficult to build a filter to pass/remove these waves at the boundaries.

My workaround was to apply a spatially static viscosity ramp, basically freezing the waves before they hit the outlet boundary. I thik you could probably do something equivalent with an anisotropic porous media.

In addition, you will need a special outlet for pressure due to the numerics of the two-phase formulation. One of the components that make OpenFOAM VOF so robust is its use of a numerical interface compression term. Unfortunately, this same compresion term causes the pressure in the two fluids to vary sharply across the interface. If you add a fixed value pressure boundary to the mix, the result can be unpredictable (although this is not always the case). To get around this problem I used a boundary that applied fixed value pressure for the air-phase, but zeroGradient where there was water adjacent to the boundary.

If you are not scared off by the above contact me via e-mail, I might be able to help you out.

pierre September 22, 2006 08:19

If you are after a ensemble-av
 
If you are after a ensemble-averaged approach, OpenFoam also provide reliable two-fluid codes that can be applied and modified for ship Hydrodyanmics.

Pierre

cognit September 22, 2006 09:50

Thank you for your quick respo
 
Thank you for your quick response.
I have never used OpenFoam. I have used other CFD codes and I got into them when doing part of my PhD work (parked some time ago for laboral reasons). I still collaborate with the university in testing and so on with the little spear time that I have.
I work on a naval design office and I trying to get back a little to CFD analysis. With the code that we use and helped develop (FEM based) we do get results but it dificult to have them reliable enough for consistent use in engineering.
I see that kind of analysis is somehow dificult with any kind of code. Comertial codes claim to solve it but in my experience not reliably enough.
With this I mean that I have seen some of the problems you mention.
I think I going to star looking into the documentation.
Also, how difficult is to create a mesh for this kind of problems that can have somehow complex boundaries?
Pierre, do you have any reference of an ensemble approach used for ship hydrodynamics?
Thank you again.

pierre September 22, 2006 10:39

Hi Alberto, Ref is: A polyd
 
Hi Alberto,

Ref is: A polydisperse model for bubbly two-phase flow around a surface ship, International Journal of Multiphase Flow, Volume 25, Issue 2 , March 1999, Pages 257-305. P. M. Carrica, D. Drew, F. Bonetto and R. T. Lahey Jr.

Pierre

eugene September 22, 2006 11:09

Meshing isn't too difficult. Y
 
Meshing isn't too difficult. You just have to make sure the submerged hull and any place the air-water interface goes is well resolved. Since the ship hull is generally quite smooth and the interface uses volume refinement, most commercial meshers will be able to this without a problem. The rest of the domain can be pretty coarse.

Btw, I spent a week looking at papers and theses of ocean wave/ship modelling and I can assure you there is no easy solution to the boundary problem.

egp November 6, 2006 09:01

I am currently working on the
 
I am currently working on the following ship hydro benchmarks so that I can better understand OF

1. Wigley Hull
2. DTMB Model 5415
3. Suboff
4. Headform cavitation
5. Propeller flows

Has anyone already solved these benchmark problems? Which solvers did you use, or did you write a custom solver (e.g., steady-flow RANS surface capturing).

I am particularly interested in tracking vs. capturing capability for the free-surface problems, and will be studying this in the near future.

Eric Paterson
Penn State Univ
State College, PA USA

clo January 12, 2007 12:01

Hi Eric, I'm also really inter
 
Hi Eric, I'm also really interested in types of benchmark you refer. In particular, my final objectiv is to simulate a rotating machine as a marine propeller partially immersed in water. For the moment I'm really at the early stage learning OpenFoam and I'm learnig a simple two-phase flow case as the damBreak; then I would like to learn about moving mesh and finally put the 2 things together.
I don't know about your experience but do you think it's possible?

Thank you
ciao

kumar2 January 12, 2007 17:16

Hello friends I looked at w
 
Hello friends

I looked at wave breaking over hydrofoils and compared with experimental work of Duncan ( very famous work , see jfm 1983.) excellent results from openfoam. ofcourse grid generation in openfoam using blockmesh is intended for simple geometry, propeller mesh would be hard with blockmesh. but the solver is excellent and we can read and modify all parts.

thanks

kumar

lillberg January 12, 2007 17:49

Hi, I've been working with
 
Hi,

I've been working with underwater and free surface hydrodynamics using FOAM and now OF since 1999 computing several benchmark cases including Wigley hulls, DTMB 5415, DARPA Suboffs etc using LES and VOF implementations. Most of the work is published or found in conference procedings. If you're interested please send me an email and I'll send copies of the papers.

Regards

/Eric

marhamat January 22, 2007 10:34

Hello Eric I am studing dr
 
Hello Eric

I am studing drag reduction using with microbubble injection in fluid.
So i want to model this case using LES implementation.
Do you have any experience in this field?
Or can you introduce me any references in this field?

Regards
Marhamat

lillberg January 22, 2007 10:54

Sorry, can't say I have. Very
 
Sorry, can't say I have. Very interesting topic though, what kind of modelling did you have in mind for the bubbles?

Regards
Eric

marhamat January 22, 2007 18:04

I started my studing recently.
 
I started my studing recently.
So i didn't decide which model to use .
I inform you in near future.

Best regards
Marhamat

hjasak January 22, 2007 18:29

A thought: it seems there is a
 
A thought: it seems there is a few people interested in shpi hydrodynamics applications. If you are coming to Zagreb for the Workshop, it may be a good idea to add this as one of the topics. Any takers?

Hrv

egp January 22, 2007 19:58

Hi Hrv, I'm thinking of att
 
Hi Hrv,

I'm thinking of attending the workshop, and would be very interested in a ship hydro session. If I we were further along, I would volunteer, but we are still novices. If you can get them to participate, I would nominate the group from Sweden (Alin, Fureby, Svennberg et al.) since they probably have the most experience using OpenFOAM in the ship hydro community.

Eric

miguel_q February 19, 2008 21:30

hello Eric Lillberg I am ve
 
hello Eric Lillberg

I am very interested in the benchmark cases you mentioned above. Could you direct me in the right direction on where to find these papers/publications?

Miguel Q.

pacoblasco January 8, 2009 16:34

I know this post is quiet abou
 
I know this post is quiet about 1 year.

Does anybody have anything new on Ship Hydrodynamics using OpenFOAM??

I would like to know if somebody have any experience on it. I am very interested.

F. Blasco

tomislav_maric April 9, 2009 09:23

I'm trying to simulate free surface flow around a ship using interFoam as a part of my semestral project. I've made libforces.so calculate forces and moments for water (phase1), at least I like to think so, but I keep getting floating point exception error and my gamma is turning negative during first time steps. checkMesh has gone through without warnings.

albcem June 26, 2009 02:51

If your mesh is tetrahedral? Non-hex meshes tend to trigger instabilities in interFoam class solvers. I had had issues due to this a while back and could not refrain from banging my head against the wall as things looked perfectly fine with checkMesh. Thanks to Mark C., who pointed out hex meshes which you can produce with the snappyhexmesh utility is the way to go.

Cem

tomislav_maric August 3, 2009 09:30

Quote:

Originally Posted by albcem (Post 220545)
If your mesh is tetrahedral? Non-hex meshes tend to trigger instabilities in interFoam class solvers. I had had issues due to this a while back and could not refrain from banging my head against the wall as things looked perfectly fine with checkMesh. Thanks to Mark C., who pointed out hex meshes which you can produce with the snappyhexmesh utility is the way to go.

Cem

My current mesh is created with snappy and it's unstructured tetrahedral. Now I know that non orthogonality causes the gamma to become unbounded and that makes my runs explode.

Where can I find the tips on hex mesh for ships generation with snappy? What Open Surce software is best for meshing ships? Has anyone got any experience with Salome-Meca?

Thanks for the advice,
Tomislav


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