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

[snappyHexMesh] Information about layer coverage

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 25, 2018, 14:01
Post Information about layer coverage
  #1
New Member
 
Luca
Join Date: Nov 2016
Posts: 21
Rep Power: 10
streamline90 is on a distinguished road
Hello guys,

I was wondering if there is a way to extract information about the percentage of layer coverage on a surface. In other words, I would like to get an indication like:

''Patch xx has 90% of its surface covered by layers.''

I am using snappyHexMesh as meshing tool.

Any help would be highly appreciated.

Thanks,

Luca
streamline90 is offline   Reply With Quote

Old   September 17, 2018, 16:30
Default
  #2
New Member
 
FredPieri
Join Date: Mar 2018
Posts: 16
Rep Power: 8
Fredvol is on a distinguished road
Quote:
Originally Posted by streamline90 View Post
Hello guys,

I was wondering if there is a way to extract information about the percentage of layer coverage on a surface. In other words, I would like to get an indication like:

''Patch xx has 90% of its surface covered by layers.''

I am using snappyHexMesh as meshing tool.

Any help would be highly appreciated.

Thanks,

Luca

Hi Luca,


at the end of the snappyHexmesh log you have a kind of table looking like this:


Code:

patch   faces    layers   overall    thickness
                                           [m]       [%]
-----     -----          ------          ---       ---
w_walls  104424   9.46     0.0187    97.4    


Doing final balancing
---------------------

Writing 988052 added cells to cellSet addedCells
Writing 883923 faces inside added layer to faceSet layerFaces

Writing fields with layer information:
    nSurfaceLayers    : actual number of layers
    thickness         : overall layer thickness
    thicknessFraction : overall layer thickness (fraction of desired thickness)

Layer mesh : cells:10417638  faces:31685237  points:10864745
Cells per refinement level:
    0    96644
    1    140357
    2    183841
    3    285012
    4    541401
    5    1370680
    6    4468511
    7    3331192
Writing mesh to time 3
Wrote mesh in = 718 s.
Layers added in = 717.96 s.
Checking final mesh ...
Checking faces in error :
    non-orthogonality > 82  degrees                        : 0
    faces with face pyramid volume < 1e-13                 : 0
    faces with concavity > 75  degrees                     : 0
    faces with skewness > 4   (internal) or 20  (boundary) : 0
    faces with interpolation weights (0..1)  < 0.02        : 0
    faces with volume ratio of neighbour cells < 0.01      : 0
    faces with face twist < 0.02                           : 0
    faces on cells with determinant < 0.001                : 0
Finished meshing without any errors
Finished meshing in = 731.81 s.
End

Finalising parallel run

I use the line:

Code:
patch   faces    layers   overall    thickness
                                            [m]       [%]
-----     -----          ------          ---       ---
 w_walls  104424   9.46     0.0187    97.4


and compare the number of layers ( 9.46 in th is case ) t othe number I asked ( 10 in my case)


I hope it help.


Cheers
fred
Fredvol is offline   Reply With Quote

Reply

Tags
coverage, layers


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] snappyHexMesh Boundary Layer at Corner panpanzhong OpenFOAM Meshing & Mesh Conversion 5 July 3, 2018 06:53
[snappyHexMesh] SHM is not extruding/adding Layers everywhere matthiasd OpenFOAM Meshing & Mesh Conversion 2 October 16, 2016 17:45
[snappyHexMesh] SnappyHexMesh: Layer on corners Pj. OpenFOAM Meshing & Mesh Conversion 9 July 17, 2014 05:26
[snappyHexMesh] SnappyHexMesh AddLayer Control rdrr84 OpenFOAM Meshing & Mesh Conversion 28 May 30, 2014 06:32
[snappyHexMesh] Layers don't fully surround surface EVBUCF OpenFOAM Meshing & Mesh Conversion 14 August 20, 2012 05:31


All times are GMT -4. The time now is 16:41.