CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   STAR-CCM+ (http://www.cfd-online.com/Forums/star-ccm/)
-   -   Prism Layer Thickness (http://www.cfd-online.com/Forums/star-ccm/89036-prism-layer-thickness.html)

 famerfamer June 2, 2011 00:12

Prism Layer Thickness

1 Attachment(s)
Hey,

I met a problem when working on the prism layer thickness. As shown in the picture, at the left part, there is an area with no prism layer because of the narrowing geometry. And the meshes themselves are not complete. The skewness angle in that area are pretty large.

A.So what should I do? Decreasing the base size in that narrowed area?

B.Is the prism layer thickness needed to be smaller than the geometry dimmension or there is no need to do that?

C. If I decrease the base size there, so the base size + the prism layer thickness should be equal or smaller than the geometry dimmension?

Any help would be appreciated!

Famerfamer

You should try increase the # of points in gap in the surface proximity node.
But your prism layer seems too thick, or the geometry is very small. In that case it can maybe be simplified by removing the gaps.

 rwryne June 2, 2011 08:21

Quote:
 Originally Posted by famerfamer (Post 310222) Hey, I met a problem when working on the prism layer thickness. As shown in the picture, at the left part, there is an area with no prism layer because of the narrowing geometry. And the meshes themselves are not complete. The skewness angle in that area are pretty large. A.So what should I do? Decreasing the base size in that narrowed area? B.Is the prism layer thickness needed to be smaller than the geometry dimmension or there is no need to do that? C. If I decrease the base size there, so the base size + the prism layer thickness should be equal or smaller than the geometry dimmension? Any help would be appreciated! Famerfamer
Under Continua->Mesh->Models->Prism Layer Mesher:

1) change layer reduction percentage to 99.
2) change minimum thickness percent to .5
3) change gap fill to 45

These three values are at the extreme end of the spectrum. If this fixes your problem, you can likely play with their values (lower layer reduction percentage, raise minimum thickness percent, lower gap fill) and get it to still work

 famerfamer June 2, 2011 14:06

Quote:
 Originally Posted by rwryne (Post 310253) Under Continua->Mesh->Models->Prism Layer Mesher: 1) change layer reduction percentage to 99. 2) change minimum thickness percent to .5 3) change gap fill to 45 These three values are at the extreme end of the spectrum. If this fixes your problem, you can likely play with their values (lower layer reduction percentage, raise minimum thickness percent, lower gap fill) and get it to still work
Thank you very much. But I'm still wondering if the thickness of prism layer should be smaller than the geometry gap. Because I'm using volumetric control to deal with this area or I don't need it at all? The prism layer thickness for areas around that gap is pretty large.

Famerfamer

 rwryne June 2, 2011 14:16

Quote:
 Originally Posted by famerfamer (Post 310289) Thank you very much. But I'm still wondering if the thickness of prism layer should be smaller than the geometry gap. Because I'm using volumetric control to deal with this area or I don't need it at all? The prism layer thickness for areas around that gap is pretty large. I appreciate your help. Famerfamer

With those settings, the mesher should chop the prism layer thickness down to fill the gap with mostly prism cells.

I have numerous areas like this in my geometry. They do not always come out with the highest quality, but a prism mesh usually does get generated there.

 famerfamer June 2, 2011 15:59

Thanks! How about the core mesh size in those narrowed areas? For my case as shown in the priture, in that narrowed area, there are three parameters should be set properly, the prism layer thickness (Denoting a) for walls at each side and the core meshes in the middle (denoting b as the width or thickness of the mesh), correct? Denoting the distance of the gap is c.

Q:
A. So what's a proper relationship among a, b and c? 2a+b=c?
B. When I paly those three values you mentioned above, everytime I need to do the surface mesh repair and volume mesh for the whole big geometry when I change one value. So do you know have some better ideas dealing with this? Like only mesh those problematic areas and leave other area with a coarse mesh or something esle?

Thanks!

 famerfamer June 2, 2011 21:00

oh, man, the total surface size increased from 5 million to more than 50 million after I adjusted those values although I also decreased base size of that area.

It seems that the 0.5 pecent is too small?

 rwryne June 3, 2011 08:26

Quote:
 Originally Posted by famerfamer (Post 310319) oh, man, the total surface size increased from 5 million to more than 50 million after I adjusted those values although I also decreased base size of that area. It seems that the 0.5 pecent is too small?
Those values I suggested for you to change should not affect surface size. They will only affect the prism layer.

 famerfamer June 3, 2011 14:41

Quote:
 Originally Posted by rwryne (Post 310373) Those values I suggested for you to change should not affect surface size. They will only affect the prism layer.
Got you. That is, it only affects the # of cells for the volume mesh but not the # of of surface faces, correct? Thanks for your help!

 All times are GMT -4. The time now is 02:25.