CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] SnappyHexMesh and 2 Phase Modelling

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   September 21, 2008, 06:13
Default SnappyHexMesh and 2 Phase Modelling
  #1
New Member
 
Axel Mohr
Join Date: Mar 2009
Location: Kiel, Schleswig-Holstein, Germany
Posts: 24
Rep Power: 17
alexm is on a distinguished road
Hello All,

I would like to use OpenFOAM for shiptank-modeling, now after using icoFoam and turbFoam, with rasInterFoam. Now my actual problem, where I stuck, is to create a sharp interface in the model-mesh, which should act as boundary-surface of the two phases in the rasInterFoam case.

First with blockMesh I created a hexahedronal quadratic mesh with the dimensions of the tank. The ship-hull is available as a geometry in iges or step format. Gmesh (http://www.geuz.org/gmsh/) creates a triangular surface mesh out of this, which is saved as STL-File.

These parts are needed by snappyHexMesh to build the desired mesh of the model area. So far, this works fine (nevertheless until now not all arguments are perfectly understood by me) but the resulting mesh is satisfactory - for single phase modeling the top patch is set to the water-level, the part of the hull that lies over the surface will be truncated.

But for 2 phase modeling I think an internal face or patch is needed, which marks the water-level and separates these phases in the resulting mesh.

So far I've tried a lot of things. The last had been using snappyHexMesh first with the water-phase, then the same with the air-phase, then merging these resulting meshes with 'mergeMeshes' - but at last stitchMesh failed.

Now I hope, that someone here has an idea, suggestion or a solution for my problem.
Something like a "How-To" for creating an boundary layer between two phases for usage in snappyHexMesh would be great.
(what about the layer sub-dict in the snappyHexMeshDict? but here an internal face is needed?)

Maybe there is a simple apparently solution, but I can't see it ...

Thanks in advance for your help!

bye and greetings, Axel
alexm is offline   Reply With Quote

 


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
[snappyHexMesh] snappyhexmesh error in refinement phase ianjikar OpenFOAM Meshing & Mesh Conversion 2 May 11, 2018 13:27
[snappyHexMesh] Running snappyHexMesh in parallel - optimizing peterhess OpenFOAM Meshing & Mesh Conversion 2 January 3, 2018 02:54
[snappyHexMesh] Tutorial crashes: snappyHexMesh floating point exception. jasv OpenFOAM Meshing & Mesh Conversion 4 May 10, 2016 02:55
[snappyHexMesh] Problem with snappyhexMesh: modelling a pore chamber and pore throat model Saideep OpenFOAM Meshing & Mesh Conversion 5 May 10, 2015 14:46
[snappyHexMesh] problemes modelling surfaces with snappyhexmesh gija79 OpenFOAM Meshing & Mesh Conversion 5 June 30, 2010 13:50


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