|
[Sponsors] |
[snappyHexMesh] Damaged feature edges after boundary layer addition to other surfacfes |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 8, 2020, 05:16 |
Damaged feature edges after boundary layer addition to other surfacfes
|
#1 |
Member
X Meng
Join Date: Jun 2012
Location: Scotland
Posts: 89
Rep Power: 13 |
Dear foamers,
I am struggling with an issue that, by the stage of snapping, all good. However if I add boundary layers to a surface, it is found that some edges which have no relations to those boundary layers are damaged. Really confusing, cos they shouldn't be affected at all, since they are quite far from the surface with boundary layers and not even mentioned at all in the part of 'addLayersControls'. Have you met this issue before? Many thanks! |
|
January 8, 2020, 05:40 |
|
#2 |
New Member
Najmiddin
Join Date: Dec 2018
Posts: 16
Rep Power: 7 |
Can you post your sHM dict?
I am guessing you turned off castellated and snapping before adding layers? Yours, Nazhmiddin |
|
January 10, 2020, 03:40 |
|
#3 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,066
Rep Power: 26 |
Hi !
Which OpenFOAM version are you using? Yann |
|
January 10, 2020, 04:41 |
|
#4 | |
Member
X Meng
Join Date: Jun 2012
Location: Scotland
Posts: 89
Rep Power: 13 |
Quote:
Thank you for your attention. Yes, I did switch off the first two steps when I added boundary layers, otherwise every time I have to wait a very long time to do castellation and snapping again. Theoretically switching-off the first two steps after I have them already shouldn't be a problem at all, am I right?? Cheers Xiangyin |
||
January 10, 2020, 04:49 |
|
#5 |
Member
X Meng
Join Date: Jun 2012
Location: Scotland
Posts: 89
Rep Power: 13 |
||
January 10, 2020, 05:12 |
|
#6 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,066
Rep Power: 26 |
Then I'd definitely give a try to the mergePatchFacesAngle parameter. Check the v1712 snappyHexMeshDict annotated file, in the addLayersControls :
Code:
// Static analysis of starting mesh // When not to extrude surface. 0 is flat surface, 90 is when two faces // are perpendicular featureAngle 130; // When to merge patch faces. Default is featureAngle. Useful when // featureAngle is large. mergePatchFacesAngle 45; Cheers, Yann |
|
January 10, 2020, 07:00 |
|
#7 |
Member
X Meng
Join Date: Jun 2012
Location: Scotland
Posts: 89
Rep Power: 13 |
Many thanks Yann,
The additional bit works for me, the those edges not related to boundary layers are clear again! However my simpleFoam-based simulation crashed again after solving this meshing issue, due to a huge number of time step continuity errors. I didn't have this issue at all before boundary layer addition. Which is quite strange and frustrating. Never seen this before. Cheers |
|
January 13, 2020, 05:36 |
|
#8 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,066
Rep Power: 26 |
Hi Xiangyin,
I don't think the "mergePatchFacesAngle" could be responsible for this behavior, but maybe something else in the mesh setup and/or the boundary conditions. Maybe you can check your mesh and how the boundary layers has been extruded near your inlets/outlets. CheckMesh is not reporting any errors? Cheers Yann |
|
January 23, 2020, 05:41 |
|
#9 |
Member
X Meng
Join Date: Jun 2012
Location: Scotland
Posts: 89
Rep Power: 13 |
Hi dear all,
Thank you so much for your time and attention on my issues. And really sorry to reply late after days. I finally solved the issue with the help from my great tech manager. I made a silly mistake in pressure initialization and BC setup. The pressure used in simpleFoam is kinematic pressure, but not the practical one we want to monitor. This mistake brought most of the problems I saw in this analysis. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Help with Snappy: no layers growing | GianF | OpenFOAM Meshing & Mesh Conversion | 2 | September 23, 2020 08:26 |
SimpleFoam & Theater | jipai | OpenFOAM Running, Solving & CFD | 3 | June 18, 2019 10:11 |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 09:42 |
Question about adaptive timestepping | Guille1811 | CFX | 25 | November 12, 2017 17:38 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 06:20 |