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

Internal Patches from SnappyHexMesh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2017, 13:33
Default Internal Patches from SnappyHexMesh
  #1
New Member
 
Tommy Mello
Join Date: Mar 2015
Posts: 17
Rep Power: 11
twinturbotom is on a distinguished road
All, I'm writing to gain a better understanding of creating internal patches from snappyHexMesh. I have been using the snappyMultiRegionHeater tutorial in conjunction with a few other snappy / external flow cases.

I would like to know how you typically define patches when using snappy

I am currently having trouble getting all of the target cells into an internal patch (sometimes I get 10 out of 100 cells).

I have a piece of equipment exhausting gas in a large surrounding environment.

The exhaust input to the domain is represented as a surface (zero thickness) on one of the faces of the equipment (large box).
Code:
geometry
{
    equipment.stl
    {
        type triSurfaceMesh;
        name equipment;
        scale 0.001;
        regions
        {
            equipment
            {
                name equipment;
            }
            exhaust // Sometimes this is a separate stl
            {
                name exhaust;
            }
        }
    }
Code:
    refinementSurfaces
    {
        equipment
        {
            level (4 4);
            patchInfo { type wall; }
        }
        exhaust
        {
            level (4 4);
            patchInfo { type patch;}
            faceZone exhaust;
            cellZone exhaust;
            cellZoneInside inside;
        }
After I run splitMeshRegion (with options for -useFaceZone or not) I get an output showing no zones are found and / or I have several but not all of the cells making up the exhaust.

Is this an stl tolerance issue? Am I missing a few steps or files in the process (createPatch, createBaffles, setSet topoSet,..etc.)?

Thanks for the help!

Last edited by twinturbotom; December 2, 2017 at 19:04.
twinturbotom is offline   Reply With Quote

Old   December 2, 2017, 19:53
Default Works with no overlap, is a non overlap a requirement?
  #2
New Member
 
Tommy Mello
Join Date: Mar 2015
Posts: 17
Rep Power: 11
twinturbotom is on a distinguished road
Works with no overlap, is a non overlap a requirement?
twinturbotom is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 04:50
[snappyHexMesh] snappyHexMesh does not create boundary patches from .stl files bug_or_feature OpenFOAM Meshing & Mesh Conversion 7 August 30, 2016 19:18
Possible bug with stitchMesh and cyclics in OpenFoam Jack001 OpenFOAM Pre-Processing 0 May 21, 2016 08:00
[snappyHexMesh] On which patches to set BC's for snappyHexMesh ? Talder OpenFOAM Meshing & Mesh Conversion 0 November 8, 2015 18:25
[snappyHexMesh] internal faces between patches created with snappyHexMesh romant OpenFOAM Meshing & Mesh Conversion 0 August 17, 2009 08:40


All times are GMT -4. The time now is 17:43.