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

SHM doesn't 'see' surfaces

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 18, 2016, 08:41
Default SHM doesn't 'see' surfaces within STL multisolid
  #1
New Member
 
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 24
Rep Power: 5
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
New Member
 
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 24
Rep Power: 5
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

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
sHM refinement away from surface nholt OpenFOAM Meshing & Mesh Conversion 1 June 14, 2016 14:36
SHM not snapping to some surfaces Swift OpenFOAM Native Meshers: snappyHexMesh and Others 13 January 4, 2016 02:56
SHM is assigning all faces to the first patch? me3840 OpenFOAM Native Meshers: snappyHexMesh and Others 2 September 20, 2015 20:03
crash sHM H25E OpenFOAM Native Meshers: snappyHexMesh and Others 11 November 10, 2014 12:27
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 07:54.