CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[cfMesh] layer addiction on sharp edges

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2017, 14:36
Default layer addiction on sharp edges
  #1
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 16
student666 is on a distinguished road
Hi all,

I’m facing some big issues about layer addiction with cfMesh on sharp edges.
My geometry is quite simple; what is challenging me, they are the two 45° pipes inside the domain.
As you may see by enclosed links, pipes are cut and sharp edges are present; small blu lines are skewFaces: skewness > 4.4

As you may see by following meshDict
Code:
SurfaceFile "regionAirAmb.fms";

maxCellSize 0.002;  

//minCellSize 0.001;
//boundaryCellSize 0.002; 

/*
edgeMeshRefinement
{

	edgeMesh1
	{
		edgeFile	"edgeAmb1.vtk"; //sharp edges
		cellSize 0.001;
	}
	
}*/


/*
localRefinement 
{
    interAirSolido2 //near sharps edges
    {
        cellSize 0.001;
//		refinementThickness  0.001;
    }
    interAirSolido3 //near sharps edges
    {
        cellSize 0.001;
//		refinementThickness  0.001;
    }
    interAirSolido4 //near sharps edges
    {
        cellSize 0.0005;
//		refinementThickness  0.001;
    }

}*/

boundaryLayers
{

	patchBoundaryLayers
	{
		"interAirSolido.*"
		{	
			nLayers 5;
			thicknessRatio 1.2;
		//	maxFirstLayerThickness  0.004;
		//	alllowDiscontinuity		1;
		}
		wallAirAmb
		{	
			nLayers 5;
			thicknessRatio 1.2;
		//	maxFirstLayerThickness  0.004;
		//	alllowDiscontinuity		1;
		}

	}
}
I’ve tried many combinations of the meshDict to get rid of skewness and nonOrthogonality on the faces at the sharp edges.

What I can say is:

- distance between cut pipe and domain is approximately 2mm
- if I set 2mm for minCellSize or boundaryCellSize, with nr.3 layers I can get a poor good mesh;
- If I use increaseMeshQuality, with nr.3 layers I can get rid of problem faces, but layers are not so many

then

- if I increase the refinement up to 5e-4mm and 3 layers, I get a mesh with more skewFaces and nonOrthogoanlFaces.

Then

If I use 2mm for minCellSize or boundaryCellSize, with layers > 3 skewness and nonOrthogonality increase

If with both of the upper settings I use increaseMeshQuality, I can’t get rid of the problem faces.

So, the question is simple, what should I do?

I meshed the stl by using Salome and all surface checks are positive.
I also tried to increase the resolution of the cells on the problem edges, but no effects.

What should I do?

https://www.dropbox.com/s/blh0mc2zcrsrt86/stl.PNG?dl=0
https://www.dropbox.com/s/bhf00sq08z...eshed.PNG?dl=0
https://www.dropbox.com/s/bgdxhgwt70...Faces.PNG?dl=0
https://www.dropbox.com/s/blh0mc2zcrsrt86/stl.PNG?dl=0

stl file of the domain:

https://www.dropbox.com/s/kzkr3w1ubd...irAmb.zip?dl=0
student666 is offline   Reply With Quote

Old   October 27, 2020, 18:22
Default
  #2
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 615
Rep Power: 15
mAlletto will become famous soon enough
hey hey,


did you find a solution?
mAlletto is offline   Reply With Quote

Reply


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] SHM: sharp edge resolving problem with explicit feature edges piotr.mecht OpenFOAM Meshing & Mesh Conversion 21 May 9, 2020 14:56
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 08:54
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 19:43
Boundary layer meshing with sharp trailing edges Andrew Berner FLUENT 1 August 28, 2007 17:39


All times are GMT -4. The time now is 05:39.