CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Meshing & Mesh Conversion

Problems with multi-region mesh in sHM

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

LinkBack Thread Tools Display Modes
Old   July 16, 2013, 08:52
Default Problems with multi-region mesh in sHM
Senior Member
Artur's Avatar
Join Date: May 2013
Location: Southampton, UK
Posts: 303
Rep Power: 12
Artur will become famous soon enough

I'm using sHM to create a mesh for a ship hull and a propeller using AMI. I want to see if it is possible to get reasonable results by assuming that the free surface profile is not affected by the prop and only doing the unsteady calculation for a part of the hull. To do this, I want to mesh the free surface shape I get from a separate run and treat is as an impenetrable wall. Then I want to create a smaller domain bounded by the hull, the free surface and other defined patches.

The approach I'm taking is:
1. run ltsInterFoam to get the free surface shape around the boat
2. create a smaller blockMesh
3. use a few scripts to generate .stl files which will represent the AMI cylinder and the bounding box of the smaller domain
4. run sHM (see attached dict file)
5. run topoSet, createPatch, createBaffles and mergeOrSplitBaffles

It works very well when I'm not running in parallel (see picture) but when I do try to run in parallel the sHM log file is cut at this point:

Introducing zones for interfaces

Surface : amiCylinder
    faceZone : amiCylinder
    cellZone : amiCylinder
Walking from location-in-mesh (-5 0.1 -3) to assign cellZones - crossing a faceZone face changes cellZone
I can just stick to running on a single core if need be, of course, but it would be nice to know what I'm doing wrong here.

Note: without the freeSurface.stl the meshing goes smoothly in parallel. I tried different decomposition methods and no. cores but none helped.

EDIT: Perhaps I should say how I got the .stl file. I used the contour filter in paraview for the volume fraction field, saved it as a .vrml file and then converted that to an .stl (I know there is a way to do it directly but I couldn't find the correct export option for some reason...).
Attached Images
File Type: jpg multiRegionMesh.jpg (13.9 KB, 25 views)
Attached Files
File Type: txt snappyHexMeshDict.txt (5.0 KB, 5 views)
Artur is offline   Reply With Quote


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
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 24 June 27, 2016 08:54
Suggestions for a multi region conjugate heat transfer problem maddalena OpenFOAM 14 September 4, 2013 18:03
Multi region meshing & recovering the original patch names fluidpath OpenFOAM Native Meshers: snappyHexMesh and Others 4 May 19, 2013 19:13
mesh causing problems with convergence Tetragramm OpenFOAM Native Meshers: blockMesh 0 September 22, 2012 16:00
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52

All times are GMT -4. The time now is 11:29.