- **OpenFOAM Running, Solving & CFD**
(*https://www.cfd-online.com/Forums/openfoam-solving/*)

- - **Mesh skewness correction**
(*https://www.cfd-online.com/Forums/openfoam-solving/109609-mesh-skewness-correction.html*)

Mesh skewness correctionDear Foamers,
I have a question related to fvSchemes and interpolation schemes. I have read that mesh skewness affecs interpolation calculation. Is there a discretisation scheme which may help correcting this issue. I'm curious about skewLinear (Linear with skewness correction) from Numerical schemes. Does it somehow help with the calculations on skewed mesh? Does skewCorrected is the same scheme in OF 2.1.1? How to use it? Because wehn I want to put it in fvSchemes Code:
`interpolationSchemes` Thank you in advance for your help. Jakub. |

Hi,
I have almost the same issue : how to use the skewness correction in OpenFOAM. To me the skewness is critical especially when we do an interpolation. Hence it has to be mentionned in the interpolation schemes. Plus, it may be used in the div schemes of non surfaceField like U : when we integrate over a cell, we will need to interpolate the field from the center to the surface. I guess for a surfaceField, it is useless. If then we use : Code:
`interpolationSchemes` Code:
`interpolationSchemes` the same.exactlyThen I think I don't really understand how this skewness correction work... |

Hey,
Neither do I understand. It would be great to hear little bit about that. Does anyone have some article. Jakub. |

Hi,
Let me put my two cents. Mesh skeness will reduce the order of face integration. Basically it is the deviation from the face center to the actual face integration point (the intersection between the vector joining two neighboring CV and the common face), and this is already taken care of in OF. You can refer to Hrvoje Jasak phd thesis. If you have highly skewed cells you can use least squares for gradients calculation in order to reduce the numerical diffusion. Maybe increasing the number of corrector steps will help as well. jg |

Quote:
Edit: Ok, so after some more reading and searching I found the following: Mesh weights (also used for central differencing in OF) for the cell-to-face interpolation are calculated using this formula: http://openfoamwiki.net/index.php/Op...on_%28class%29 In the source code one can find the calculation in the "surfaceInterpolation.C" file, function is called "makeWeights()". Now, obviously this is not just the standard linear weighting, as it is not only the distance of cell centers to the cell face that counts, but also the projection of the vectors on the face normal. But also in the thesis I can not find any derivation of that fomula, I just found some words about the diffusion correction. Unfortunately, I could not adapt the lines to the convective / face value calculation. |

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