CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

interFoam stability issue, free surface ship hull

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

Like Tree1Likes
  • 1 Post By jojosaxo

LinkBack Thread Tools Display Modes
Old   March 31, 2015, 09:29
Default interFoam stability issue, free surface ship hull
New Member
Join Date: Feb 2015
Posts: 18
Rep Power: 4
jojosaxo is on a distinguished road
Hi all,
I'm trying to perform numerical study of flow around ship hull using ideally interDyMFoam. However I've never been able to make a simulation not diverging after a few hundreds of iteration.
I decide to start from the righ ends, and to focus first on interFoam solver. So the idea is to initialize the computation with interFoam for a fixed hull and then go for interDyMFoam.
Nevertheless, interFoam is not working for me...

The mesh has been done on a 3rd party mesh generator, so I don't think this would be an issue. Moreover, this mesh has been used on commercial software to do the same job, and that went well.

I must add that I've tried with LTSInterFoam with rather good result, allas when I used those result to move for interFoam or interDyMFoam the simulation diverges.

I attached controlDict, fvSolution and fvSchemes.

If any of you has any idea or trick to share with me this would be more than helpful.

Attached Files
File Type: txt controlDict.txt (1.6 KB, 22 views)
File Type: txt fvSchemes.txt (1.5 KB, 23 views)
File Type: txt fvSolution.txt (2.4 KB, 20 views)
federicabi likes this.
jojosaxo is offline   Reply With Quote

Old   March 31, 2015, 10:29
Senior Member
Join Date: Jun 2009
Location: France, grenoble
Posts: 266
Rep Power: 10
olivierG is on a distinguished road

I guess your time step is too big: try with lower maxCo and maxAlphaCo.

olivierG is offline   Reply With Quote

Old   April 1, 2015, 13:30
New Member
Join Date: Feb 2015
Posts: 18
Rep Power: 4
jojosaxo is on a distinguished road
Thank your for your answer! I've tried with maxCo of 5 and maxAlphaCo of 3, but simulation blows up again.
I'm currently trying with maxCo of 1 and 0.8 respectively during the night, but this is obviously much slower! Wait and see...
Does that sound like normal behaviors or should I look somewhere else?
jojosaxo is offline   Reply With Quote

Old   April 2, 2015, 03:45
Pascal Balz
Join Date: Feb 2015
Location: Germany
Posts: 36
Rep Power: 4
pbalz is on a distinguished road
Hi jojosaxo,

could you please provide more information on how the simulation blows up, especially which variable diverges?
Also, some information on your mesh and geometry could be helpful.

Your timestep size should be fine I think, depending on your mesh size.
I ran into the same behavior some time ago during a 6DOF simulation with interDyMFoam. What worked out for me was increasing the PIMPLE outerCorrectors to a value of 7, because I got divergence in the pressurefield underneath the hull.
pbalz is offline   Reply With Quote

Old   April 2, 2015, 05:26
New Member
Join Date: Feb 2015
Posts: 18
Rep Power: 4
jojosaxo is on a distinguished road
My Mesh size is around 4M cells (according to paraview). Pressure is blowing up most of the time. The boat is around 40 m long. I also suspect high velocities in some cell (especially close to the surface interface). I use BC from the DTCHull tutorial with interDyMFoam. Currently I'm trying with fixed trim and sink (so with interFoam only), I want to understand better how to control the stability of the computation.
If you want anymore information let me know.

I'll try to increase the outerCorrectors as you suggest.

jojosaxo is offline   Reply With Quote

Old   July 7, 2016, 17:29
Default Update
New Member
Constantinos Zegos
Join Date: Jul 2016
Posts: 1
Rep Power: 0
Kitsos is on a distinguished road
Hi Jojosaxo,

did you manage to resolve your divergence issue? I am doing the same simulation for the DTC hull but in different conditions to the tutorial and the p_rgh keeps diverging.

With kind regards,
Kitsos is offline   Reply With Quote


interfoam diverging, interfoam hull, interfoam interdymfoam, ship flow, ship motions

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
Multi-phase free surface ship flow computational domain size kilroy Main CFD Forum 0 December 20, 2013 10:41
free surface around a ship hull Stephy OpenFOAM Running, Solving & CFD 12 April 24, 2012 01:12
Interfoam... free surface simulation urgent lostin4ever Main CFD Forum 4 October 12, 2010 08:29
Can Flow-3D plot the free surface area in Iso-surface or colour variable? therockyy FLOW-3D 1 June 20, 2010 19:36
Free Surface Andrea CFX 0 January 2, 2006 07:26

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