Spikes in gaps after snappyHexMesh
Recently I meet a problem for the a model. For geometry, there is a narrow gap, in which there will be the spikes in the gap. But actually it should be smooth, otherwise it causes problems. They should not be touched in the gap. You can see it in my attachment.
I have tried my methods:
1. I have tried to make the base size lower. The base size is lower than the gap distance, and it is somehow better, the spikes become less. But not all of them. But this also causes the increase of the cell numbers. I do not want to increase the cell number any more. So do you have any other suggestions on it ?
With kind regards,
While I think I have an understanding of your problem, it would help if I could get some more information such as your snappyhexmeshdict file and possibly an image of the STL file you are trying to mesh. So to clarify, the gap is small and is suppose to be there?
yes, the gap is small, they should be there. That's difficult, I know. Do you have any suggestions?
As I said before, it is difficult to say without knowing how you are setting up your snappyhexmesh case. One suggestion I could suggest is to use the surfaceFeatureExtract function, I talk about it for an internal geometry case here:
im pretty sure your cells are too large, just refine them abit more and it should work.
the first step of the meshing process is to refine the cells that contains the surfaces the number of times that you have specified in the dictionary.
If you have 2 surfaces that are very close and go through the same cells it will not refine those cells further because of this.
now, for the seconds step, the snap phase,
imagine that you have a cell containing 2 surfaces and ask yourself
which surface should the face of the cell snap to.
The result is clear from your pics, it varies, depending on which is closest (or which it finds first, not sure which)
You cant expect the mesh to have the details resolved on scale smaller than the cell size.
|All times are GMT -4. The time now is 10:32.|