CFD Online Logo CFD Online URL
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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2019, 09:03
Default addlayer not working
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 3
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:

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
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?

            nSurfaceLayers 3;
Thanks in advance.
Attached Images
File Type: jpg cfdonline.jpg (95.2 KB, 12 views)
Attached Files
File Type: c snappyHexMeshDict.c (8.4 KB, 1 views)
File Type: c shmlayer_log.c (23.0 KB, 0 views)
Owais Shabbir is offline   Reply With Quote


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

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