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

[snappyHexMesh] SHM doesn't 'see' surfaces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2016, 08:41
Default SHM doesn't 'see' surfaces
  #1
Member
 
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 12
Rojj is on a distinguished road
I am trying to mesh a relatively simple geometry for external CFD.

The fluid domain that I intend to simulate is an octagon around the buildings at the center of the domain. To do this I first generate a larger domain with blockMesh and then I was hoping to cut-out the cells outside the octagon.

The problem I am having is that SHM does not see the octagon. The boundary is a closed STL surface with sub-surfaces representing the various inlets/outlets. These will be updated before the run for specific wind directions.

To begin with I have assigned a default BC zeroGradient to everything. The other BC for the larger domain are superfluous. The case if generated programmatically using PyFoam.

The case can be downloaded from .... (FILE REMOVED)

Any suggestion on what I am doing wrong? Thanks!

Last edited by Rojj; June 25, 2016 at 03:22.
Rojj is offline   Reply With Quote

Old   June 25, 2016, 03:21
Default
  #2
Member
 
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 12
Rojj is on a distinguished road
I solved the problem. Just in case it could be useful to other people the problem was syntax related.

The initial case was

Code:
shading
    {
      level
        (
          2
          4
        );
    }
for each solid within the STL file.

The correct syntax is

Code:
stl_file_name.stl
   regions
    {
      shading
     {
       level
         (
           2
           4
         );
      }
    }
Rojj is offline   Reply With Quote

Reply

Tags
snappy hex mesh, stl file


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] SHM doesn't create cellZones for one region Eko OpenFOAM Meshing & Mesh Conversion 10 January 24, 2018 02:03
[snappyHexMesh] creating baffles using snappyHexMesh (for given random shaped surfaces) ashish.svm OpenFOAM Meshing & Mesh Conversion 1 January 17, 2018 01:24
[snappyHexMesh] different sHM results on same geometry when everythin is in one or several stl-files. Laika OpenFOAM Meshing & Mesh Conversion 1 September 8, 2016 04:09
[snappyHexMesh] SHM not snapping to some surfaces Swift OpenFOAM Meshing & Mesh Conversion 13 January 4, 2016 01:56
Modeling both radiation and convection on surfaces - Ansys Transient Thermal R13 s.mishra ANSYS 0 March 31, 2012 04:12


All times are GMT -4. The time now is 12:09.