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

[snappyHexMesh] addlayer not working

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2019, 10:03
Default addlayer not working
  #1
Member
 
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 6
Owais Shabbir is on a distinguished road
Dear Community,

I've been working with SHM (castelled and snapcontrol) for a week and now that I have started with addlayer I am having problems. When I run the addlayer is set to true and the remaining are false and I also use:

mpirun -np 6 snappyHexMesh -parallel > log.shmlayer

without the overwrite on my OF6.

but it doesn't add any layer to it.

The geometry is complex so i have set not that high level of refinement during the castelled and snapcontrol, because when I try it gives me this error.(addr2line failed error)

But now for the addlayer feature:

Code:
Handling feature edges ...

Handling cells with warped patch faces ...
Set displacement to zero on 172105 warped faces since layer would be > 0.5 of the size of the bounding box.

patch faces    layers avg thickness[m]
                    near-wall overall
----- -----    ------ --------- -------
box 5710793  3      1.89e-07  5.28e-07
and later at the end while doing final balancing of SHM it says
Code:
Doing final balancing
---------------------


patch faces    layers   overall thickness
                      [m]       [%]
----- -----    ------   ---       ---
box 5710793  0        0         0       

Layer mesh : cells:13414434  faces:44707367  points:18031589
Cells per refinement level:
    0	13414434
I am attaching my SHMDict file and the logfile, I hope someone can look into it. I am stuck with this problem for a week now.

miniQuestion: If I am introducing a geometry to study the external flow around it. This is the correct syntax to write it?

Code:
"(box).*"
        {
            nSurfaceLayers 3;
        }
Thanks in advance.
Owais
Attached Images
File Type: jpg cfdonline.jpg (95.2 KB, 19 views)
Attached Files
File Type: c snappyHexMeshDict.c (8.4 KB, 2 views)
File Type: c shmlayer_log.c (23.0 KB, 1 views)
Owais Shabbir is offline   Reply With Quote

Old   January 25, 2021, 04:45
Default
  #2
Member
 
Kabir Shariff
Join Date: Oct 2016
Location: France
Posts: 53
Rep Power: 9
Kbshariff is on a distinguished road
Hello,

Have you found the solution to this? I have a similar problem

Code:
Handling cells with warped patch faces ...
Set displacement to zero on 0 warped faces since layer would be > 0.5 of the size of the bounding box.

patch  faces    layers avg thickness[m]
                       near-wall overall
-----  -----    ------ --------- -------
bottom 35000    4      3.75e-06  2.01e-05

finally
Code:
patch  faces    layers   overall thickness
                         [m]       [%]
-----  -----    ------   ---       ---
bottom 35000    0        0         0
Kbshariff is offline   Reply With Quote

Reply

Tags
addlayer, final balancing, snappy hex mesh

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
findCell() in parallel: not working if location is outside the domain TobiWol OpenFOAM 0 January 10, 2018 15:33
Processor 0 not working vishwesh OpenFOAM Running, Solving & CFD 0 November 17, 2017 04:35
Is the subsetMotionSolver working in parallel? Arnoldinho OpenFOAM Running, Solving & CFD 7 April 27, 2016 05:38
DPM parallel is not working but serial is working johnwinter FLUENT 1 March 27, 2012 03:01
Working directory mgonzalo FLUENT 1 November 11, 2011 11:05


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