Problem with the boundary layer using snappyHexMesh
1 Attachment(s)
Hello,
this is my first post here. Currently I am working at a company which provides CFD services mainly for the automotive industry. Right now I am still an intern but shortly will start writing my diploma thesis here. Well my task is to find out what can be done with OpenFoam. Often, when I try to create a mesh with snappyHexMesh I get problems with the boundary layer. And this leads to my first question: Check out the attached picture of a Porsche I have meshed. http://www.cfd-online.com//http://ww...1&d=1263817250Why is the boundary layer below the door? In case you think my blockMeshDict is fault, here is the text: Code:
FoamFile |
Hi,
You need to post the snappyHexMeshDict ........ -- Amol |
4 Attachment(s)
Hi,
I seem to have solved my first problem. The surrounding box generated by blockMesh cut off a small part of the cars tires. I did this on purpose but enlarging the box and therefor having a levitating car got the boundary layer on the car. Still I have a problem with this boundary layer. It is not to be found everywhere. On some sections it is missing on some others it does not have the desired number of layers. See the attached pictures. Since I have rescaled the 100m long Porsche to a 4m long Porsche my Dicts have changed: Code:
{ Code:
{ |
|
I have tried the tips deducted from that thread.
Now the mesh is getting better. Still there are areas without boundarylayer. I guess I just have to tweak the snappyHexMesh settings a little more. I never had such trouble, but I guess after I finish this mesh my new experience will allow me to get my other stuff meshed a bit faster. Hey, maybe someone else who tried to mesh this car (I have seen a few other meshes) can show me his snappyDict? |
Hi Andre,
I have exactly the same problem. I have areas where there is no boundary layers. Did you solve the problem ? Which parameters are important to improve the boundary layers ? Best regards, Stephane. |
1 Attachment(s)
I have attached a picture to show again the problem.
There are some areas (corners) where there is no layer. Stephane. |
Any ideas how to solve this problem ?
Stephane. |
Hello Stephane,
all snappyHexMesh boundary layers were collapsing at the end of a surface, this seems to be normal. Have look at the Porsche above, too. This should be modifyable in a certain range with the featureAngle setting in the "addLayerControls" subdictionary. Good Luck, Julius |
1 Attachment(s)
Hi Julius,
it seems to work (see attached picture). I have changed the featureAngle value in the "addLayerControls" subdictionary. Default value was 30 New value is 5 To be sure I would like to select only the cells located into the boundary layers. Do you know how to do it with paraview ? Regards, Stephane. |
Hello again,
if you're using ParaFoam (paraview with the native OpenFOAM reader) you should be able to select the "include Sets" option. Now the "added Cells - cellSet" and the "layerFaces - faceSet" appear in the "region status" box. The added Cells set should be what you're looking for. Regards, Julius |
Julius,
I can't find the "region status" box ! Stephane. |
1 Attachment(s)
Stephane,
If you use paraFoam it will look like the following screenshot. There you see the mentioned box and above the "include sets" option checked. In case you don't know how to use / compile paraFoam and the necessary PV3FoamReader please search the forum because this is a common issue. Regards, Julius |
Julius,
OK. Thanks. Now I can visualize the boundary layers cells. I use paraFoam 3.6.1. And the box name is mesh parts. Regards, Stephane. |
All times are GMT -4. The time now is 22:33. |