|
[Sponsors] |
June 18, 2016, 09:41 |
SHM doesn't 'see' surfaces
|
#1 |
Member
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 13 |
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 04:22. |
|
June 25, 2016, 04:21 |
|
#2 |
Member
Ruggiero Guida
Join Date: Apr 2013
Location: World
Posts: 46
Rep Power: 13 |
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 ); } The correct syntax is Code:
stl_file_name.stl regions { shading { level ( 2 4 ); } } |
|
Tags |
snappy hex mesh, stl file |
|
|
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 03:03 |
[snappyHexMesh] creating baffles using snappyHexMesh (for given random shaped surfaces) | ashish.svm | OpenFOAM Meshing & Mesh Conversion | 1 | January 17, 2018 02: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 05:09 |
[snappyHexMesh] SHM not snapping to some surfaces | Swift | OpenFOAM Meshing & Mesh Conversion | 13 | January 4, 2016 02:56 |
Modeling both radiation and convection on surfaces - Ansys Transient Thermal R13 | s.mishra | ANSYS | 0 | March 31, 2012 05:12 |