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

Adaptive mesh refinement in two-phase flow (Wigley Hull)

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

Like Tree2Likes
  • 1 Post By daveatstyacht
  • 1 Post By daveatstyacht

Reply
 
LinkBack Thread Tools Display Modes
Old   October 5, 2011, 12:19
Default Adaptive mesh refinement in two-phase flow (Wigley Hull)
  #1
New Member
 
Johannes N Theron
Join Date: Feb 2010
Location: Hamburg
Posts: 21
Rep Power: 7
jantheron is on a distinguished road
I have been able to run the Wigley hull test case and would now like to improve the quality of the solution by better resolving the fluid-air interface.

Does anybody have experience with setting up adaptive grid refinement for such a case (using the interface alpha1 value as adaptive parameter)?

Thank you!

Dr. Johannes N Theron
www.kanoefabrik.com
jantheron is offline   Reply With Quote

Old   October 6, 2011, 12:33
Default
  #2
Member
 
Dave
Join Date: Jul 2010
Posts: 97
Rep Power: 7
daveatstyacht is on a distinguished road
Johannes,
While dynamic mesh refinement is readily achievable using alpha as the refinement parameter (I there is a dam break tutorial that does just that under interdymfoam tutorials), it is ridiculously slow to remesh. In the case of a free surface problem where the wave height isn't too large I would recommend just using a refinement zone to increase the resolution of the interface and save the huge overhead of the mesh refinement process as it will take longer to refine than to just run a denser mesh to begin with. I can think of only certain cases such as bubble columns and tank sloshing where the mesh refinement process makes sense compared the use of a refinement zone approach.
Regards,
Dave
daveatstyacht is offline   Reply With Quote

Old   October 6, 2011, 12:41
Default
  #3
New Member
 
Johannes N Theron
Join Date: Feb 2010
Location: Hamburg
Posts: 21
Rep Power: 7
jantheron is on a distinguished road
Dave

Thanks for your reply. I was not aware AMR was that slow. I already have a fine grid across the interface but at the moment it is resolved over two or three cells and when there are waves it goes into the coarser region. Perhaps I'll just add more buffer cells.

Thanks again.

Jan
jantheron is offline   Reply With Quote

Old   October 6, 2011, 15:15
Default
  #4
Member
 
Dave
Join Date: Jul 2010
Posts: 97
Rep Power: 7
daveatstyacht is on a distinguished road
Johannes,
I only ran the tutorial with a refinement at every time step (ridiculously slow). I suppose it is conceivable to refine far less frequently. I stopped investigating the refinement capability because of the need to include mesh motion for vessel motions and the apparent incompatibility of the adaptive refinement with mesh motion (I would love to be mistaken about it).
Dave
Ralph M likes this.
daveatstyacht is offline   Reply With Quote

Old   October 6, 2011, 15:52
Default
  #5
New Member
 
Johannes N Theron
Join Date: Feb 2010
Location: Hamburg
Posts: 21
Rep Power: 7
jantheron is on a distinguished road
Dave

Hmmm. That is a shame. It would be really great to have an overset grid capability for OpenFOAM so one can easily do arbitrary body motions using a fixed body-fitted grid around the vessel and at the same time do grid refinement in the areas of the background grid where the ship is located. Gerris has very nice AMR, but they use Cartesian grids that are far easier to refine and coarsen.

Have you done any 6DOF work on floating bodies?

Jan
jantheron is offline   Reply With Quote

Old   October 6, 2011, 18:55
Default
  #6
Member
 
Dave
Join Date: Jul 2010
Posts: 97
Rep Power: 7
daveatstyacht is on a distinguished road
Yes, though interDyMFoam becomes increasingly unstable as the mesh resolution is increased. Better success is achievable with shipFoam as it is more stable. Consider joining the OF ship hydrodynamics group: http://www.cfd-online.com/Forums/gro...mechanics.html
Ralph M likes this.
daveatstyacht is offline   Reply With Quote

Old   October 7, 2011, 12:59
Default
  #7
New Member
 
Johannes N Theron
Join Date: Feb 2010
Location: Hamburg
Posts: 21
Rep Power: 7
jantheron is on a distinguished road
I did, but it seems their 1.7 version was too unstable and it was retracted. The latest version is 1.6 and I'm working on 2.0.1. Perhaps I'll try to incorporate 1.6 ideas into 2.0.1.... Lots of work though. I'm under no illusions. Thanks for the pointer!
jantheron is offline   Reply With Quote

Reply

Tags
adaptive mesh refinement

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
Boundary layer in a pipe Clementhuon OpenFOAM Native Meshers: snappyHexMesh and Others 6 March 12, 2012 13:41
non-smooth mesh Svensson OpenFOAM Native Meshers: snappyHexMesh and Others 11 January 18, 2012 10:13
adaptive mesh refinement in STARCCM+ abdullahkarimi CD-adapco 1 November 16, 2010 19:26
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
Mesh for 3 dim Geometry Phil FLUENT 9 July 12, 2000 04:39


All times are GMT -4. The time now is 16:38.