CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Native Meshers: snappyHexMesh and Others (
-   -   Surface problems or meshing problem? (

plucas July 24, 2012 21:59

Surface problems or meshing problem?
I am fairly new using OpenFoam (around 3 months) and recent engineering bachelors grad. I have been running bluff bodies and a dragster drawn by myself in ProE. None of these have had the problem I am now experiencing and now I am looking for guidance.

The problem is when I do a surface pressure plot, there are locations (look square) that have a huge difference in pressure. Picture is shown below.

Looking close at the bumper and windshield you can see what I am talking about. This is a model of a 2004 Subaru STi that all one facet feature in ProE (didn't model this, downloaded it online).

Is this a mesh issue? I am using snappyHexMesh for the model mesh and blockMesh for the "windtunnel". If you need me to post my snappyHexMeshDict, I can but do not know how without just copy and paste.


Is this a surface issue? If it is a surface issue, can I resolve this in OpenFOAM? I have tried surfaceCheck and surfaceConvert with no luck (this could be that I am not using this right)

Thanks for reading and hoping for some good guidance!

plucas July 26, 2012 22:13

Can anybody help with this problem?

EVBUCF July 31, 2012 14:11

I would say it is probably a mesh problem. If you look at the mesh in paraview instead of 'surface' select 'surface with edges'. This should allow you to see where the cells are on the surface that you are meshing. If the cells are spaced out in the area you are concerned with then you need to refine the mesh in this area in order to not seem pixelated. If the cells are nice and refined in this area then I wouldn't know exactly what the problem is.

papercut December 15, 2014 07:10

Anyone knows how to deal with this? I have the same problem, the pressure (and k, omega/epsilon & nut) distribution on surfaces is not continuous. It is clearly visible that the discontinuous distribution appear on the surface where the cells are not perfectly quad shaped.

1. Can this be dealt with using some numerical setup (schemes etc)?

2. How to improve snappyHexMesh to get rid of these problems?

All times are GMT -4. The time now is 15:23.